commit:     c54a8d5c7e631c35fee8e5f52cbb8f36794ae8b3
Author:     Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 20:29:00 2014 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May 24 20:29:00 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c54a8d5c

[app-text/poppler] make hybrid live/nonlive ebuild

Package-Manager: portage-2.2.10

---
 app-text/poppler/poppler-9999.ebuild | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/app-text/poppler/poppler-9999.ebuild 
b/app-text/poppler/poppler-9999.ebuild
index 53e061b..b869f21 100644
--- a/app-text/poppler/poppler-9999.ebuild
+++ b/app-text/poppler/poppler-9999.ebuild
@@ -4,15 +4,23 @@
 
 EAPI=5
 
-inherit cmake-utils toolchain-funcs git-r3
+inherit cmake-utils toolchain-funcs
+
+if [[ "${PV}" == "9999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
+       KEYWORDS=""
+       SLOT="0/9999"
+else
+       SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd 
~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+       SLOT="0/46"   # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so 
SOVERSION
+fi
 
 DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
 HOMEPAGE="http://poppler.freedesktop.org/";
-EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
 
 LICENSE="GPL-2"
-KEYWORDS=""
-SLOT="0/46"
 IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 
qt5 tiff +utils"
 
 # No test data provided

Reply via email to