net-irc/quassel: Release switch
authorJohannes Huber <johu@gentoo.org>
Tue, 24 Apr 2018 15:20:37 +0000 (17:20 +0200)
committerJohannes Huber <johu@gentoo.org>
Tue, 24 Apr 2018 15:20:55 +0000 (17:20 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

net-irc/quassel/quassel-0.12.4-r1.ebuild
net-irc/quassel/quassel-9999.ebuild

index a2f11472cf41270f68c4374104a527cbe4e9f7d0..39fd27f107c2e42c9cadc55baffc242eaa59191e 100644 (file)
@@ -5,15 +5,17 @@ EAPI=6
 
 inherit cmake-utils gnome2-utils pax-utils systemd user versionator
 
-EGIT_REPO_URI=( "https://github.com/${PN}/${PN}" "git://git.${PN}-irc.org/${PN}" )
-[[ "${PV}" == "9999" ]] && inherit git-r3
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
+       KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~sparc-solaris"
+else
+       EGIT_REPO_URI=( "https://github.com/${PN}/${PN}" "git://git.${PN}-irc.org/${PN}" )
+       inherit git-r3
+fi
 
 DESCRIPTION="Qt/KDE IRC client supporting a remote daemon for 24/7 connectivity"
 HOMEPAGE="http://quassel-irc.org/"
-[[ "${PV}" == "9999" ]] || SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
-
 LICENSE="GPL-3"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~sparc-solaris"
 SLOT="0"
 IUSE="crypt dbus debug kde monolithic phonon postgres +server
 snorenotify +ssl syslog webkit X"
index 1f9e3e14eea213a610767d9603d550bfec646279..1c3e58249a79b7e6852a2e23b54449522277fc16 100644 (file)
@@ -5,15 +5,17 @@ EAPI=6
 
 inherit cmake-utils gnome2-utils pax-utils systemd user
 
-EGIT_REPO_URI=( "https://github.com/${PN}/${PN}" "git://git.${PN}-irc.org/${PN}" )
-[[ "${PV}" == "9999" ]] && inherit git-r3
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
+       KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~sparc-solaris"
+else
+       EGIT_REPO_URI=( "https://github.com/${PN}/${PN}" "git://git.${PN}-irc.org/${PN}" )
+       inherit git-r3
+fi
 
 DESCRIPTION="Qt/KDE IRC client supporting a remote daemon for 24/7 connectivity"
 HOMEPAGE="http://quassel-irc.org/"
-[[ "${PV}" == "9999" ]] || SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
-
 LICENSE="GPL-3"
-KEYWORDS=""
 SLOT="0"
 IUSE="+breeze crypt +dbus debug kde ldap monolithic oxygen postgres +server
 snorenotify +ssl syslog urlpreview X"