diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-12-02 22:29:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-12-02 22:29:44 +0000 |
commit | 6b3eac9f9d98fe12f0e1311c42fee5724e86460a (patch) | |
tree | 6f28972ddd45248b693c1995281629197ceb8b06 /dev-libs/DirectFB-extra | |
parent | Version bump #190463 by Alexandre Bique. Fix from Andrew Williams for the .p... (diff) | |
download | gentoo-2-6b3eac9f9d98fe12f0e1311c42fee5724e86460a.tar.gz gentoo-2-6b3eac9f9d98fe12f0e1311c42fee5724e86460a.tar.bz2 gentoo-2-6b3eac9f9d98fe12f0e1311c42fee5724e86460a.zip |
Add support for USE="ffmpeg fusion svg zlib" as proposed by Christian Ruppert (idl0r) in #171582.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'dev-libs/DirectFB-extra')
-rw-r--r-- | dev-libs/DirectFB-extra/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/DirectFB-extra/DirectFB-extra-1.0.0-r1.ebuild | 57 | ||||
-rw-r--r-- | dev-libs/DirectFB-extra/files/digest-DirectFB-extra-1.0.0-r1 | 3 |
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-libs/DirectFB-extra/ChangeLog b/dev-libs/DirectFB-extra/ChangeLog index 02dd95796d16..cc24b7da9f72 100644 --- a/dev-libs/DirectFB-extra/ChangeLog +++ b/dev-libs/DirectFB-extra/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/DirectFB-extra # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.19 2007/08/16 16:42:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.20 2007/12/02 22:29:43 vapier Exp $ + +*DirectFB-extra-1.0.0-r1 (02 Dec 2007) + + 02 Dec 2007; Mike Frysinger <vapier@gentoo.org> + +DirectFB-extra-1.0.0-r1.ebuild: + Add support for USE="ffmpeg fusion svg zlib" as proposed by Christian + Ruppert (idl0r) in #171582. *DirectFB-extra-1.0.0 (16 Aug 2007) diff --git a/dev-libs/DirectFB-extra/DirectFB-extra-1.0.0-r1.ebuild b/dev-libs/DirectFB-extra/DirectFB-extra-1.0.0-r1.ebuild new file mode 100644 index 000000000000..b74f4c5d7a38 --- /dev/null +++ b/dev-libs/DirectFB-extra/DirectFB-extra-1.0.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-1.0.0-r1.ebuild,v 1.1 2007/12/02 22:29:43 vapier Exp $ + +inherit eutils + +DESCRIPTION="Extra image/video/font providers and graphics/input drivers for DirectFB" +HOMEPAGE="http://www.directfb.org/" +SRC_URI="http://directfb.org/download/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc -sparc ~x86" +IUSE="ffmpeg flash fusion imlib mmx mpeg quicktime svg xine zlib" + +RDEPEND=">=dev-libs/DirectFB-${PV} + ffmpeg? ( media-video/ffmpeg ) + flash? ( media-libs/libflash ) + fusion? ( dev-libs/linux-fusion ) + imlib? ( media-libs/imlib2 ) + mpeg? ( media-libs/libmpeg3 ) + quicktime? ( virtual/quicktime ) + svg? ( x11-libs/libsvg-cairo ) + xine? ( media-libs/xine-lib ) + zlib? ( sys-libs/zlib )" +# avi? ( media-video/avifile ) +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-CFLAGS.patch +} + +src_compile() { + # $(use_enable avi avifile) + econf \ + $(use_enable ffmpeg) \ + $(use_enable flash) \ + $(use_enable fusion fusionsound) \ + $(use_enable imlib imlib2) \ + $(use_enable mmx) \ + $(use_enable mpeg libmpeg3) \ + $(use_enable quicktime openquicktime) \ + $(use_enable svg) \ + $(use_enable xine) \ + $(use_enable zlib) \ + --disable-avifile \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/dev-libs/DirectFB-extra/files/digest-DirectFB-extra-1.0.0-r1 b/dev-libs/DirectFB-extra/files/digest-DirectFB-extra-1.0.0-r1 new file mode 100644 index 000000000000..1ee173d0e052 --- /dev/null +++ b/dev-libs/DirectFB-extra/files/digest-DirectFB-extra-1.0.0-r1 @@ -0,0 +1,3 @@ +MD5 2d744ad06139640857b988d244275235 DirectFB-extra-1.0.0.tar.gz 494140 +RMD160 01dbd38b56bb20499a3a07569db81dc468f4a6d7 DirectFB-extra-1.0.0.tar.gz 494140 +SHA256 b0842946cc654bb8b1f2fc1980b43c6abb3c3766aed7520ecd8a1061405aa69c DirectFB-extra-1.0.0.tar.gz 494140 |