summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-03-05 19:22:26 +0000
committerMike Frysinger <vapier@gentoo.org>2003-03-05 19:22:26 +0000
commitf915e298f1929ceb4f4dc6f241407e43c0129aad (patch)
treea12398d6e18c81a1d566672ee113b2f95d77fe81 /dev-libs/DirectFB
parentremoved gcc-3.2.2-r3.ebuild files/digest-gcc-3.2.2-r3 (diff)
downloadgentoo-2-f915e298f1929ceb4f4dc6f241407e43c0129aad.tar.gz
gentoo-2-f915e298f1929ceb4f4dc6f241407e43c0129aad.tar.bz2
gentoo-2-f915e298f1929ceb4f4dc6f241407e43c0129aad.zip
version bump
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog7
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.17.ebuild63
-rw-r--r--dev-libs/DirectFB/files/digest-DirectFB-0.9.171
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 7b748c4a1684..8cd00da56d20 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/DirectFB
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.22 2003/02/12 05:59:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.23 2003/03/05 19:22:26 vapier Exp $
+
+*DirectFB-0.9.17 (05 Mar 2003)
+
+ 05 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + cleanups. PDEPEND removed since extra isnt available yet.
*DirectFB-0.9.16 (02 Feb 2003)
diff --git a/dev-libs/DirectFB/DirectFB-0.9.17.ebuild b/dev-libs/DirectFB/DirectFB-0.9.17.ebuild
new file mode 100644
index 000000000000..a5d028082b6c
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-0.9.17.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.17.ebuild,v 1.1 2003/03/05 19:22:26 vapier Exp $
+
+DESCRIPTION="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/"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE="jpeg gif png truetype mpeg mmx sse"
+
+DEPEND="sys-devel/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/jpeg )
+ mpeg? ( media-libs/libmpeg3 )
+ truetype? ( >=media-libs/freetype-2.0.1 )"
+
+src_unpack() {
+ unpack ${A}
+# cd ${S}
+# cp configure ${T}
+# sed -e 's:ac_safe=`echo "libmpeg3.h:ac_safe=`echo "libmpeg3/libmpeg3.h:' \
+# -e 's:#include <libmpeg3.h>:#include <libmpeg3/libmpeg3.h>:' \
+# ${T}/configure > configure
+}
+
+src_compile() {
+ econf \
+ `use_enable mmx` \
+ `use_enable sse` \
+ `use_enable mpeg libmpeg3` \
+ `use_enable jpeg` \
+ `use_enable png` \
+ `use_enable gif` \
+ `use_enable truetype freetype` \
+ || die
+
+ use mpeg && { \
+ cd ${S}/interfaces/IDirectFBVideoProvider
+ cp idirectfbvideoprovider_libmpeg3.c ${T}
+
+ sed s':#include <libmpeg3.h>:#include <libmpeg3/libmpeg3.h>:' \
+ ${T}/idirectfbvideoprovider_libmpeg3.c > \
+ idirectfbvideoprovider_libmpeg3.c
+ cd ${S}
+ }
+
+ # add extra -lstdc++ so libpng/libflash link correctly
+ make LDFLAGS="${LDFLAGS} -lstdc++" || 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.17 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.17
new file mode 100644
index 000000000000..96fe9e33b3ce
--- /dev/null
+++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.17
@@ -0,0 +1 @@
+MD5 d373fa1d604ab5ea4e8fdcb875876cfd DirectFB-0.9.17.tar.gz 946039