summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-04-22 03:02:14 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-04-22 03:14:53 +1000
commit36a281e647b58db5644cdcd92da5fa86dd1acd74 (patch)
tree24a88ec2fa5055281b70d866854eb470a5ef1a88 /media-libs/phonon-vlc
parentmedia-libs/phonon-vlc: port to EAPI 6 (diff)
downloadgentoo-36a281e647b58db5644cdcd92da5fa86dd1acd74.tar.gz
gentoo-36a281e647b58db5644cdcd92da5fa86dd1acd74.tar.bz2
gentoo-36a281e647b58db5644cdcd92da5fa86dd1acd74.zip
media-libs/phonon-vlc: reorganise variables that are set conditionally to appear in one block
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs/phonon-vlc')
-rw-r--r--media-libs/phonon-vlc/phonon-vlc-9999.ebuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/media-libs/phonon-vlc/phonon-vlc-9999.ebuild b/media-libs/phonon-vlc/phonon-vlc-9999.ebuild
index e74160fcc8e0..7936e7505cb9 100644
--- a/media-libs/phonon-vlc/phonon-vlc-9999.ebuild
+++ b/media-libs/phonon-vlc/phonon-vlc-9999.ebuild
@@ -6,21 +6,21 @@ EAPI=6
MY_PN="phonon-backend-vlc"
MY_P="${MY_PN}-${PV}"
-EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
-[[ ${PV} == 9999 ]] && git_eclass=git-r3
-inherit cmake-utils multibuild ${git_eclass}
-unset git_eclass
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+else
+ EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
+ inherit git-r3
+fi
+
+inherit cmake-utils multibuild
DESCRIPTION="Phonon VLC 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 )"
-
-# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
-[[ ${PV} == 9999 ]] || \
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
-
SLOT="0"
IUSE="debug +qt4 qt5"