diff options
author | Daniel Black <dragonheart@gentoo.org> | 2007-02-17 09:18:14 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2007-02-17 09:18:14 +0000 |
commit | de0b9414a8bf0d623e06d521654256eaf771fb94 (patch) | |
tree | 8ad0b68d89451c912c2b0bc41eccd41c5ec6b16c /media-libs | |
parent | Removed keywording for HPPA on all ebuilds (maybe bug #153036). (diff) | |
download | gentoo-2-de0b9414a8bf0d623e06d521654256eaf771fb94.tar.gz gentoo-2-de0b9414a8bf0d623e06d521654256eaf771fb94.tar.bz2 gentoo-2-de0b9414a8bf0d623e06d521654256eaf771fb94.zip |
ensure media-libs/gd is built with jpeg and png thanks to suggestion by Panagiotis in bug #166970
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/ploticus/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/ploticus/ploticus-2.32.ebuild | 14 | ||||
-rw-r--r-- | media-libs/ploticus/ploticus-2.33.ebuild | 12 |
3 files changed, 28 insertions, 7 deletions
diff --git a/media-libs/ploticus/ChangeLog b/media-libs/ploticus/ChangeLog index c7cf6c459b2e..2b360676bf9e 100644 --- a/media-libs/ploticus/ChangeLog +++ b/media-libs/ploticus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/ploticus -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ChangeLog,v 1.8 2006/07/16 02:09:32 dragonheart Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ChangeLog,v 1.9 2007/02/17 09:18:14 dragonheart Exp $ + + 17 Feb 2007; Daniel Black <dragonheart@gentoo.org> ploticus-2.32.ebuild, + ploticus-2.33.ebuild: + ensure media-libs/gd is built with jpeg and png thanks to suggestion by + Panagiotis in bug #166970 *ploticus-2.33 (16 Jul 2006) diff --git a/media-libs/ploticus/ploticus-2.32.ebuild b/media-libs/ploticus/ploticus-2.32.ebuild index 596ca9427cd9..7d0b3d96fb63 100644 --- a/media-libs/ploticus/ploticus-2.32.ebuild +++ b/media-libs/ploticus/ploticus-2.32.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.32.ebuild,v 1.4 2006/07/16 01:06:13 tsunam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.32.ebuild,v 1.5 2007/02/17 09:18:14 dragonheart Exp $ inherit eutils toolchain-funcs -MY_P=pl${PV/./}src +MY_P=pl${PV/.}src S=${WORKDIR}/${MY_P} DESCRIPTION="A command line application for producing graphs and charts" @@ -20,6 +20,14 @@ DEPEND="media-libs/libpng truetype? ( =media-libs/freetype-2* ) X? ( || ( x11-libs/libX11 virtual/x11 ) )" +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} # Fixes a problem with NOX11. diff --git a/media-libs/ploticus/ploticus-2.33.ebuild b/media-libs/ploticus/ploticus-2.33.ebuild index 0e6f127b042e..a5c22983272a 100644 --- a/media-libs/ploticus/ploticus-2.33.ebuild +++ b/media-libs/ploticus/ploticus-2.33.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.33.ebuild,v 1.1 2006/07/16 02:09:32 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.33.ebuild,v 1.2 2007/02/17 09:18:14 dragonheart Exp $ inherit eutils toolchain-funcs @@ -20,6 +20,14 @@ DEPEND="media-libs/libpng truetype? ( =media-libs/freetype-2* ) X? ( || ( x11-libs/libX11 virtual/x11 ) )" +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} # Fixes a problem with NOX11. |