public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dennis Schridde" <devurandom@gmx.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/libdbusmenu/
Date: Sat,  5 Feb 2011 17:00:23 +0000 (UTC)	[thread overview]
Message-ID: <268c93bf49416969f8396463fb74843a1e2a199b.devurandom@gentoo> (raw)

commit:     268c93bf49416969f8396463fb74843a1e2a199b
Author:     Dennis Schridde <devurandom <AT> gmx <DOT> net>
AuthorDate: Sat Feb  5 16:32:41 2011 +0000
Commit:     Dennis Schridde <devurandom <AT> gmx <DOT> net>
CommitDate: Sat Feb  5 17:00:12 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=268c93bf

[dev-libs/libdbusmenu-0.3.16-r1] Sync with 0.3.94-r1 with regards to usage of MY_MAJOR_VERSION

(Portage version: 2.2.0_alpha20/git/Linux x86_64, signed Manifest commit with key 50ED256E)

---
 dev-libs/libdbusmenu/libdbusmenu-0.3.16-r1.ebuild |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dev-libs/libdbusmenu/libdbusmenu-0.3.16-r1.ebuild b/dev-libs/libdbusmenu/libdbusmenu-0.3.16-r1.ebuild
index c912279..a691a0f 100644
--- a/dev-libs/libdbusmenu/libdbusmenu-0.3.16-r1.ebuild
+++ b/dev-libs/libdbusmenu/libdbusmenu-0.3.16-r1.ebuild
@@ -6,9 +6,14 @@ EAPI=3
 
 inherit autotools eutils versionator
 
+MY_MAJOR_VERSION="$(get_version_component_range 1-2)"
+if version_is_at_least "${MY_MAJOR_VERSION}.50" ; then
+	MY_MAJOR_VERSION="$(get_major_version).$(($(get_version_component_range 2)+1))"
+fi
+
 DESCRIPTION="Library to pass menu structure across DBus"
 HOMEPAGE="https://launchpad.net/dbusmenu"
-SRC_URI="http://launchpad.net/dbusmenu/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+SRC_URI="http://launchpad.net/dbusmenu/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz"
 
 LICENSE="LGPL-3"
 SLOT="0"



             reply	other threads:[~2011-02-05 17:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 17:00 Dennis Schridde [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-05 17:00 [gentoo-commits] proj/kde:master commit in: dev-libs/libdbusmenu/ Dennis Schridde
2011-02-05 21:42 Dennis Schridde
2011-11-01 21:53 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=268c93bf49416969f8396463fb74843a1e2a199b.devurandom@gentoo \
    --to=devurandom@gmx.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox