diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-05-05 20:11:44 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-05-05 20:11:44 +0000 |
commit | 9f7a50b93a604d3cdbf46061b5073b8db15bcf32 (patch) | |
tree | 268ac1c29a3a5b3ac19e828b01eb3bdac65375a7 /x11-misc/xplanet/xplanet-1.3.0.ebuild | |
parent | ppc stable (bug 412587) (diff) | |
download | gentoo-2-9f7a50b93a604d3cdbf46061b5073b8db15bcf32.tar.gz gentoo-2-9f7a50b93a604d3cdbf46061b5073b8db15bcf32.tar.bz2 gentoo-2-9f7a50b93a604d3cdbf46061b5073b8db15bcf32.zip |
Version bump. Missing virtual/pkgconfig for USE="truetype" and x11-libs/pango. Missing -I/usr/include/netpbm for finding pnm.h (flag-o-matic.eclass).
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xplanet/xplanet-1.3.0.ebuild')
-rw-r--r-- | x11-misc/xplanet/xplanet-1.3.0.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/x11-misc/xplanet/xplanet-1.3.0.ebuild b/x11-misc/xplanet/xplanet-1.3.0.ebuild new file mode 100644 index 000000000000..0e29ed4f4636 --- /dev/null +++ b/x11-misc/xplanet/xplanet-1.3.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/xplanet-1.3.0.ebuild,v 1.1 2012/05/05 20:11:44 ssuominen Exp $ + +EAPI=4 +inherit flag-o-matic + +DESCRIPTION="Render images of the earth into the X root window" +HOMEPAGE="http://xplanet.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="gif jpeg png tiff truetype X" + +RDEPEND="gif? ( media-libs/giflib ) + jpeg? ( virtual/jpeg ) + png? ( + media-libs/libpng:0 + media-libs/netpbm + ) + tiff? ( media-libs/tiff:0 ) + truetype? ( + media-libs/freetype:2 + x11-libs/pango + ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXScrnSaver + x11-libs/libXt + )" +DEPEND="${RDEPEND} + truetype? ( virtual/pkgconfig ) + X? ( + x11-proto/scrnsaverproto + x11-proto/xproto + )" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_configure() { + # econf says 'checking pnm.h presence... no' + use png && append-cppflags -I/usr/include/netpbm + + local myconf + + use X \ + && myconf+=" --with-x --with-xscreensaver" \ + || myconf+=" --with-x=no --with-xscreensaver=no" + + use gif \ + && myconf+=" --with-gif" \ + || myconf+=" --with-gif=no" + + use jpeg \ + && myconf+=" --with-jpeg" \ + || myconf+=" --with-jpeg=no" + + use tiff \ + && myconf+=" --with-tiff" \ + || myconf+=" --with-tiff=no" + + use png \ + && myconf+=" --with-png --with-pnm" \ + || myconf+=" --with-png=no --with-pnm=no" + + use truetype \ + && myconf+=" --with-freetype --with-pango" \ + || myconf+=" --with-freetype=no --with-pango=no" + + econf \ + --with-cspice=no \ + ${myconf} +} |