summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-12 15:10:54 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-12 15:10:54 +0000
commit4de98a210b2333375847be9fd7bbfc56b7095688 (patch)
treea835f3b9441e00ed48b1b4213fe670696aa22acc /dev-libs/DirectFB
parentforgot to remove ogg flag when I removed vorbis (diff)
downloadgentoo-2-4de98a210b2333375847be9fd7bbfc56b7095688.tar.gz
gentoo-2-4de98a210b2333375847be9fd7bbfc56b7095688.tar.bz2
gentoo-2-4de98a210b2333375847be9fd7bbfc56b7095688.zip
Version bump with avi USE toggle instead of deprecated avifile toggle
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog9
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.9.ebuild75
-rw-r--r--dev-libs/DirectFB/files/digest-DirectFB-0.9.91
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index d93b93c1977a..cd9013651e41 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/DirectFB
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.2 2002/03/21 16:07:03 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.3 2002/04/12 15:10:54 seemant Exp $
+
+*DirectFB-0.9.9 (12 Apr 2002)
+
+ 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> DirectFB-0.9.9.ebuild :
+
+ Version bump, but avi support is still broken. Note that the avifile
+ USE toggle is now just avi.
*DirectFB-0.9.7 (21 Mar 2002)
diff --git a/dev-libs/DirectFB/DirectFB-0.9.9.ebuild b/dev-libs/DirectFB/DirectFB-0.9.9.ebuild
new file mode 100644
index 000000000000..aa43b8b005b8
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-0.9.9.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: system@gentoo.org
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.9.ebuild,v 1.1 2002/04/12 15:10:54 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="DirectFB is a thin library on top of the Linux framebuffer devices"
+SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz"
+HOMEPAGE="http://www.directfb.org"
+
+DEPEND="sys-devel/perl
+ >=media-libs/freetype-2.0.1
+ >=media-libs/jpeg-6
+ >=media-libs/libpng-1.0.10
+ >=media-libs/libflash-0.4.10
+ avi? ( =media-video/avifile-0.6* )
+ libmpeg3? ( >=media-libs/libmpeg3-1.2.3 )"
+
+RDEPEND="${DEPEND}"
+
+extralibinfo=""
+use libmpeg3 && extralibinfo="LIBMPEG3_DIR=/usr/lib LIBMPEG3_LIBS=-lmpeg3"
+
+src_compile() {
+
+ use mmx \
+ && myconf="--enable-mmx" \
+ || myconf="--disable-mmx"
+
+# avifile that is in portage currently does not work with directfb
+# an older one in the 0.6.0 series is required.
+# use avi \
+# && myconf="${myconf} --enable-avifile" \
+# || myconf="${myconf} --disable-avifile"
+
+ use libmpeg3 \
+ && myconf="${myconf} --with-libmpeg3=/usr/include/libmpeg3" \
+ && mkdir ${S}/interfaces/IDirectFBVideoProvider/no \
+ && cp /usr/lib/libmpeg3.a ${S}/interfaces/IDirectFBVideoProvider/no \
+ || myconf="${myconf} --disable-libmpeg3"
+
+
+ if [ "$DEBUG" ] ; then
+ myconf="${myconf} --enable-debug"
+ else
+ myconf="${myconf} --disable-debug"
+ fi
+
+ ./configure \
+ --prefix=/usr \
+ --host=${CHOST} \
+ --disable-avifile \
+ --enable-jpeg \
+ --enable-png \
+ --enable-gif \
+ ${myconf} || die
+
+ make \
+ ${extralibinfo} || die
+
+}
+
+src_install () {
+
+ insinto /etc
+ doins fb.modes
+
+ make \
+ ${extralibinfo} \
+ DESTDIR=${D} \
+ install || die
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README* TODO
+ dohtml -r docs/html
+}
diff --git a/dev-libs/DirectFB/files/digest-DirectFB-0.9.9 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.9
new file mode 100644
index 000000000000..e7ac2bbe0cbf
--- /dev/null
+++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.9
@@ -0,0 +1 @@
+MD5 46cff64fa95e927bdbce38fc37f5baf6 DirectFB-0.9.9.tar.gz 594770