diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2009-03-07 14:17:18 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2009-03-07 14:17:18 +0000 |
commit | 6b78271acaac98a9cd9adff7c3d1fbb10637f71b (patch) | |
tree | c0815adeff439daf56f5cdde988b9cc6aed822fe /app-text/epdfview | |
parent | Transition to eapi 2 use deps (diff) | |
download | gentoo-2-6b78271acaac98a9cd9adff7c3d1fbb10637f71b.tar.gz gentoo-2-6b78271acaac98a9cd9adff7c3d1fbb10637f71b.tar.bz2 gentoo-2-6b78271acaac98a9cd9adff7c3d1fbb10637f71b.zip |
Transition to eapi 2 use deps
Diffstat (limited to 'app-text/epdfview')
-rw-r--r-- | app-text/epdfview/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/epdfview/epdfview-0.1.6-r1.ebuild | 18 |
2 files changed, 10 insertions, 14 deletions
diff --git a/app-text/epdfview/ChangeLog b/app-text/epdfview/ChangeLog index 30cb839ce3b5..261acee5a466 100644 --- a/app-text/epdfview/ChangeLog +++ b/app-text/epdfview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/epdfview # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.30 2009/02/26 19:35:28 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.31 2009/03/07 14:17:18 gentoofan23 Exp $ + + 07 Mar 2009; Thomas Anderson <gentoofan23@gentoo.org> + epdfview-0.1.6-r1.ebuild: + Transition to eapi 2 use deps 26 Feb 2009; Jeroen Roovers <jer@gentoo.org> epdfview-0.1.6-r1.ebuild: Stable for HPPA too. diff --git a/app-text/epdfview/epdfview-0.1.6-r1.ebuild b/app-text/epdfview/epdfview-0.1.6-r1.ebuild index ac19419028be..cae44d9715a4 100644 --- a/app-text/epdfview/epdfview-0.1.6-r1.ebuild +++ b/app-text/epdfview/epdfview-0.1.6-r1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.6-r1.ebuild,v 1.10 2009/02/26 19:35:28 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.6-r1.ebuild,v 1.11 2009/03/07 14:17:18 gentoofan23 Exp $ +EAPI="2" inherit eutils DESCRIPTION="Lightweight PDF viewer using Poppler and GTK+ libraries." @@ -13,7 +14,7 @@ SLOT="0" KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd" IUSE="cups nls test" -COMMON_DEPEND=">=app-text/poppler-bindings-0.5.0 +COMMON_DEPEND=">=app-text/poppler-bindings-0.5.0[gtk] >=x11-libs/gtk+-2.6 cups? ( >=net-print/cups-1.1 )" DEPEND="${COMMON_DEPEND} @@ -23,13 +24,6 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} nls? ( virtual/libintl )" -pkg_setup() { - if ! built_with_use app-text/poppler-bindings gtk; then - eerror "Please re-emerge app-text/poppler-bindings with the gtk USE flag set." - die "poppler-bindings needs gtk flag set." - fi -} - src_unpack() { unpack ${A} cd "${S}" @@ -38,12 +32,10 @@ src_unpack() { epatch "${FILESDIR}/${P}-print-segfault.patch" } -src_compile() { +src_configure() { econf \ $(use_enable cups) \ - $(use_with nls) \ - || die "econf failed" - emake || die "emake failed" + $(use_with nls) } src_install() { |