summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-05-26 14:05:33 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-05-26 14:05:33 +0000
commit699a56fe8e8f9f95c4dd244db8674625236c706f (patch)
treebae1b618df993e27b2730770e26140b7839f1fd1 /dev-libs
parentprettification patch applied (diff)
downloadgentoo-2-699a56fe8e8f9f95c4dd244db8674625236c706f.tar.gz
gentoo-2-699a56fe8e8f9f95c4dd244db8674625236c706f.tar.bz2
gentoo-2-699a56fe8e8f9f95c4dd244db8674625236c706f.zip
avifile updates
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/DirectFB/ChangeLog9
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.10-r1.ebuild80
-rw-r--r--dev-libs/DirectFB/files/digest-DirectFB-0.9.10-r11
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index b5b9598162c0..a0843002d7e4 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,7 +1,14 @@
# 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.8 2002/04/27 00:36:05 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.9 2002/05/26 14:05:33 azarah Exp $
+*DirectFB-0.9.10-r1 (26 Apr 2002)
+
+ 26 May 2002; Martin Schlemmer <azarah@gentoo.org> DirectFB-0.9.10-r1.ebuild :
+
+ Having "mmx" in use did not enable it .. fixed. Updated avifile DEPEND
+ for now ... this will be needed when I can get it patched to work with
+ avifile-0.7.4.
*DirectFB-0.9.10 (26 Apr 2002)
diff --git a/dev-libs/DirectFB/DirectFB-0.9.10-r1.ebuild b/dev-libs/DirectFB/DirectFB-0.9.10-r1.ebuild
new file mode 100644
index 000000000000..9650fc053f4b
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-0.9.10-r1.ebuild
@@ -0,0 +1,80 @@
+# 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.10-r1.ebuild,v 1.1 2002/05/26 14:05:33 azarah 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
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/jpeg )
+ mpeg? ( media-libs/libmpeg3 )
+ flash? ( >=media-libs/libflash-0.4.10 )
+ truetype? ( >=media-libs/freetype-2.0.1 )
+ quicktime? ( media-libs/quicktime4linux )"
+# avi? ( >=media-video/avifile-0.7.4.20020426-r2 )"
+
+
+src_compile() {
+
+ local myconf=""
+
+ # Bug in the ./configure script that breaks if you
+ # have --enable-mmx
+ use mmx || myconf="${myconf} --disable-mmx"
+
+# Still do not work currently
+# use avi \
+# && myconf="${myconf} --enable-avifile" \
+# || myconf="${myconf} --disable-avifile"
+ myconf="${myconf} --disable-avifile"
+
+ use mpeg \
+ && myconf="${myconf} --with-libmpeg3=/usr/include/libmpeg3" \
+ || myconf="${myconf} --disable-libmpeg3"
+
+ use jpeg \
+ && myconf="${myconf} --enable-jpeg" \
+ || myconf="${myconf} --disable-jpeg"
+
+ use png \
+ && myconf="${myconf} --enable-png" \
+ || myconf="${myconf} --disable-png"
+
+ use gif \
+ && myconf="${myconf} --enable-gif" \
+ || myconf="${myconf} --disable-gif"
+
+ use truetype \
+ && myconf="${myconf} --enable-freetype" \
+ || myconf="${myconf} --disable-freetype"
+
+ econf ${myconf} || die
+
+ use mpeg && ( \
+ cd ${S}/interfaces/IDirectFBVideoProvider
+ patch < ${FILESDIR}/${PN}-gentoo-patch Makefile
+ cd ${S}
+ )
+
+ make || die
+
+}
+
+src_install () {
+
+ insinto /etc
+ doins fb.modes
+
+ make \
+ 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.10-r1 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.10-r1
new file mode 100644
index 000000000000..291e84890698
--- /dev/null
+++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.10-r1
@@ -0,0 +1 @@
+MD5 615898ec754cc8b64345ae0180fb9359 DirectFB-0.9.10.tar.gz 587293