diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-11-14 03:08:21 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-11-14 03:08:21 +0000 |
commit | 539a7d1f08e792fd88815f43f3a813f20f481b45 (patch) | |
tree | 9794e73ff7aecbae93c941156596a1b53a48c693 /dev-libs | |
parent | version bumpish (diff) | |
download | gentoo-2-539a7d1f08e792fd88815f43f3a813f20f481b45.tar.gz gentoo-2-539a7d1f08e792fd88815f43f3a813f20f481b45.tar.bz2 gentoo-2-539a7d1f08e792fd88815f43f3a813f20f481b45.zip |
version bump
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/DirectFB/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/DirectFB/DirectFB-0.9.15.ebuild | 110 | ||||
-rw-r--r-- | dev-libs/DirectFB/files/digest-DirectFB-0.9.15 | 1 |
3 files changed, 119 insertions, 1 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog index 51721bfbf461..32df5163b45f 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.15 2002/10/30 17:02:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.16 2002/11/14 03:08:21 seemant Exp $ + +*DirectFB-0.9.15 (13 Nov 2002) + + 13 Nov 2002; Seemant Kulleen <seemant@gentoo.org> DirectFB-0.9.15.ebuild + files/digest-DirectFB-0.9.15 : + + Version bump. *DirectFB-0.9.13-r1 (30 Oct 2002) diff --git a/dev-libs/DirectFB/DirectFB-0.9.15.ebuild b/dev-libs/DirectFB/DirectFB-0.9.15.ebuild new file mode 100644 index 000000000000..9ba1672e059a --- /dev/null +++ b/dev-libs/DirectFB/DirectFB-0.9.15.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2002 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.15.ebuild,v 1.1 2002/11/14 03:08:21 seemant Exp $ + +IUSE="gif quicktime mpeg png truetype flash jpeg mmx sse sdl" + +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/" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha" + +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" + + use sse \ + && myconf="${myconf} --enable-sse" \ + || myconf="${myconf} --disable-sse" + +# 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 sdl \ + && myconf="${myconf} --enable-sdl" \ + || myconf="${myconf} --disable-sdl" + + use flash \ + && myconf="${myconf} --enable-flash" \ + || myconf="${myconf} --disable-flash" + + 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" + + # fix gcc3.x linking with libflash + cp configure configure.old + sed -e 's:-lflash:-lflash -lstdc++:' configure.old > configure + econf ${myconf} + + 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} + ) + + # 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.15 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.15 new file mode 100644 index 000000000000..9ae0b93f2b70 --- /dev/null +++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.15 @@ -0,0 +1 @@ +MD5 aaceec5659564861f0ca34b32d4f1783 DirectFB-0.9.15.tar.gz 895297 |