commit:     c5c785ef0305c9a3f4e92de357ba7c0a1ac56940
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 17:11:54 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 17:14:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c785ef

media-libs/phonon-gstreamer: reorganise variables that are set conditionally to 
appear in one block

Package-Manager: portage-2.2.28

 .../phonon-gstreamer/phonon-gstreamer-9999.ebuild     | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild 
b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild
index 4be6dad..15057eb 100644
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild
+++ b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild
@@ -4,24 +4,23 @@
 
 EAPI=6
 
-[[ ${PV} == *9999 ]] && git_eclass="git-r3"
-EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
-
 MY_PN="phonon-backend-gstreamer"
 MY_P=${MY_PN}-${PV}
 
-inherit cmake-utils multibuild ${git_eclass}
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz"
+       KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd 
~x64-macos"
+else
+       EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
+       inherit git-r3
+fi
+
+inherit cmake-utils multibuild
 
 DESCRIPTION="Phonon GStreamer backend"
 HOMEPAGE="https://phonon.kde.org/";
-[[ ${PV} == *9999 ]] || 
SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz"
 
 LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )"
-if [[ ${PV} == *9999 ]]; then
-       KEYWORDS=""
-else
-       KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd 
~x64-macos"
-fi
 SLOT="0"
 IUSE="alsa debug +network +qt4 qt5"
 

Reply via email to