diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-06-20 21:05:50 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-06-20 21:05:50 +0000 |
commit | 4dc8fd9ae7dc86c0f09c866c285cac3c40b88005 (patch) | |
tree | 7767cf19418f279015bc2f37071b7eac9b87fa36 | |
parent | masked newest directfb (diff) | |
download | historical-4dc8fd9ae7dc86c0f09c866c285cac3c40b88005.tar.gz historical-4dc8fd9ae7dc86c0f09c866c285cac3c40b88005.tar.bz2 historical-4dc8fd9ae7dc86c0f09c866c285cac3c40b88005.zip |
version bump
-rw-r--r-- | dev-libs/DirectFB/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/DirectFB/DirectFB-0.9.12.ebuild | 96 | ||||
-rw-r--r-- | dev-libs/DirectFB/files/digest-DirectFB-0.9.12 | 1 |
3 files changed, 105 insertions, 1 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog index 97de22dcf14e..486e7126dd80 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.11 2002/06/08 09:01:41 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.12 2002/06/20 21:05:50 seemant Exp $ + +*DirectFB-0.9.12 (20 Jun 2002) + + 20 Jun 2002; Seemant Kulleen <seemant@gentoo.org> DirectFB-0.9.12.ebuild + files/digest-DirectFB-0.9.12 : + + Version bump. *DirectFB-0.9.11 (7 Jun 2002) diff --git a/dev-libs/DirectFB/DirectFB-0.9.12.ebuild b/dev-libs/DirectFB/DirectFB-0.9.12.ebuild new file mode 100644 index 000000000000..782352178963 --- /dev/null +++ b/dev-libs/DirectFB/DirectFB-0.9.12.ebuild @@ -0,0 +1,96 @@ +# 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.12.ebuild,v 1.1 2002/06/20 21:05:50 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 + 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_unpack() { + unpack ${A} + cd ${S} + cp configure configure.orig + sed -e 's:ac_safe=`echo "libmpeg3.h:ac_safe=`echo "libmpeg3/libmpeg3.h:' \ + -e 's:#include <libmpeg3.h>:#include <libmpeg3/libmpeg3.h>:' \ + configure.orig > configure +} + +src_compile() { + + local myconf="" + + # Bug in the ./configure script that breaks if you + # have --enable-mmx + use mmx \ + && myconf="${myconf} --enable-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} --enable-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 + cp idirectfbvideoprovider_libmpeg3.c \ + idirectfbvideoprovider_libmpeg3.c.orig + + sed s':#include <libmpeg3.h>:#include <libmpeg3/libmpeg3.h>:' \ + idirectfbvideoprovider_libmpeg3.c.orig > \ + idirectfbvideoprovider_libmpeg3.c + 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.12 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.12 new file mode 100644 index 000000000000..ae42bfd66658 --- /dev/null +++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.12 @@ -0,0 +1 @@ +MD5 bd06ae7df746679bca62a407d9bc83bb DirectFB-0.9.12.tar.gz 707052 |