commit:     7311cdd6fbb72834ed845b24fa944a65a83bd4a8
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  9 17:14:01 2014 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 17:14:01 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7311cdd6

[kde-apps/oxygen-icons] Fix bindist logic

Package-Manager: portage-2.2.15

---
 kde-apps/oxygen-icons/oxygen-icons-14.11.97.ebuild | 9 ++++++---
 kde-apps/oxygen-icons/oxygen-icons-9999.ebuild     | 8 +++++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/kde-apps/oxygen-icons/oxygen-icons-14.11.97.ebuild 
b/kde-apps/oxygen-icons/oxygen-icons-14.11.97.ebuild
index f829295..996f5b5 100644
--- a/kde-apps/oxygen-icons/oxygen-icons-14.11.97.ebuild
+++ b/kde-apps/oxygen-icons/oxygen-icons-14.11.97.ebuild
@@ -14,13 +14,16 @@ inherit kde5
 DESCRIPTION="Oxygen SVG icon theme"
 HOMEPAGE="http://www.oxygen-icons.org/";
 if [[ ${KDE_BUILD_TYPE} = release ]]; then
-       SRC_URI="
-               bindist? ( ${SRC_URI} )
+       # This gets repackaged for stable releases
+       SRC_URI_BINDIST="${SRC_URI}"
+
+       SRC_URI=" !bindist? ( ${SRC_URI} )
+               bindist? ( ${SRC_URI_BINDIST} )
        "
 fi
 
 LICENSE="LGPL-3"
-KEYWORDS=" ~amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="bindist"
 
 RDEPEND="!kde-base/oxygen-icons:4"

diff --git a/kde-apps/oxygen-icons/oxygen-icons-9999.ebuild 
b/kde-apps/oxygen-icons/oxygen-icons-9999.ebuild
index f8578d6..781484a 100644
--- a/kde-apps/oxygen-icons/oxygen-icons-9999.ebuild
+++ b/kde-apps/oxygen-icons/oxygen-icons-9999.ebuild
@@ -14,9 +14,11 @@ inherit kde5
 DESCRIPTION="Oxygen SVG icon theme"
 HOMEPAGE="http://www.oxygen-icons.org/";
 if [[ ${KDE_BUILD_TYPE} = release ]]; then
-       SRC_URI="
-               !bindist? ( 
http://dev.gentoo.org/~johu/distfiles/${P}.repacked.tar.xz )
-               bindist? ( ${SRC_URI} )
+       # This gets repackaged for stable releases
+       SRC_URI_BINDIST="${SRC_URI}"
+
+       SRC_URI=" !bindist? ( ${SRC_URI} )
+               bindist? ( ${SRC_URI_BINDIST} )
        "
 fi
 

Reply via email to