diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-24 15:48:51 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-24 15:48:51 +0000 |
commit | 326c6dc68342f5b3ca6747cb60991752b2173e83 (patch) | |
tree | 2708921ecf9b25c8f3255dd5d906153f7a2efee0 /media-libs/ploticus | |
parent | Fix compilation with kerberos and heimdal, bug #284853 (diff) | |
download | gentoo-2-326c6dc68342f5b3ca6747cb60991752b2173e83.tar.gz gentoo-2-326c6dc68342f5b3ca6747cb60991752b2173e83.tar.bz2 gentoo-2-326c6dc68342f5b3ca6747cb60991752b2173e83.zip |
Migrate to EAPI 2 in order to nuke built_with_use.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'media-libs/ploticus')
-rw-r--r-- | media-libs/ploticus/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/ploticus/ploticus-2.33-r1.ebuild | 21 |
2 files changed, 13 insertions, 16 deletions
diff --git a/media-libs/ploticus/ChangeLog b/media-libs/ploticus/ChangeLog index 43d2e7e46610..7cc6e99334c3 100644 --- a/media-libs/ploticus/ChangeLog +++ b/media-libs/ploticus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/ploticus -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ChangeLog,v 1.14 2008/09/20 21:50:59 keri Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ChangeLog,v 1.15 2009/09/24 15:48:51 betelgeuse Exp $ + + 24 Sep 2009; Petteri Räty <betelgeuse@gentoo.org> + ploticus-2.33-r1.ebuild: + Migrate to EAPI 2 in order to nuke built_with_use. 20 Sep 2008; <keri@gentoo.org> ploticus-2.32.ebuild, ploticus-2.33.ebuild, ploticus-2.33-r1.ebuild: diff --git a/media-libs/ploticus/ploticus-2.33-r1.ebuild b/media-libs/ploticus/ploticus-2.33-r1.ebuild index 9a703334a6d5..c1048ff78e3e 100644 --- a/media-libs/ploticus/ploticus-2.33-r1.ebuild +++ b/media-libs/ploticus/ploticus-2.33-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.33-r1.ebuild,v 1.4 2008/09/20 21:50:59 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.33-r1.ebuild,v 1.5 2009/09/24 15:48:51 betelgeuse Exp $ + +EAPI="2" inherit eutils toolchain-funcs @@ -15,22 +17,13 @@ SLOT=0 KEYWORDS="~amd64 ~ppc ~x86" IUSE="gd flash nls cpulimit svg svgz truetype X" DEPEND="media-libs/libpng - gd? ( >=media-libs/gd-1.84 media-libs/jpeg ) + gd? ( >=media-libs/gd-1.84[jpeg,png] media-libs/jpeg ) flash? ( =media-libs/ming-0.2a ) truetype? ( =media-libs/freetype-2* ) X? ( x11-libs/libX11 ) !dev-lang/swi-prolog" -pkg_setup() { - if use gd; - then - if ! built_with_use media-libs/gd jpeg || ! built_with_use media-libs/gd png; then - die "media-libs/gd needs to be build with USE=\"png jpeg\"" - fi - fi -} -src_unpack() { - unpack ${A} +src_prepare() { # Fixes a problem with NOX11. # Changes the install directory and comments all flash and gd-related # options. (These options will be selectively uncommented later.) @@ -125,7 +118,7 @@ src_test() { } src_install() { - dodoc README + dodoc README || die cd ${S}/src mkdir -p ${D}usr/bin if useq gd; then |