diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-08-05 12:02:59 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-08-05 12:02:59 +0000 |
commit | 2021da7a77a34b77bf58ad1a142cd405ba1b4627 (patch) | |
tree | f7d6dc6d42f4f2a041bc78a9dd419c1214eb945e /dev-libs/DirectFB | |
parent | Bugfix for 25097 (diff) | |
download | gentoo-2-2021da7a77a34b77bf58ad1a142cd405ba1b4627.tar.gz gentoo-2-2021da7a77a34b77bf58ad1a142cd405ba1b4627.tar.bz2 gentoo-2-2021da7a77a34b77bf58ad1a142cd405ba1b4627.zip |
Bugfix for 25097
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r-- | dev-libs/DirectFB/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/DirectFB/DirectFB-0.9.19-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/DirectFB/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/DirectFB/files/digest-DirectFB-0.9.19-r1 | 1 |
4 files changed, 75 insertions, 3 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog index ea03d73186e6..f6a9d954a120 100644 --- a/dev-libs/DirectFB/ChangeLog +++ b/dev-libs/DirectFB/ChangeLog @@ -1,6 +1,12 @@ # 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.28 2003/08/04 21:21:11 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.29 2003/08/05 12:02:51 phosphan Exp $ + +*DirectFB-0.9.19-r1 (05 Aug 2003) + + 05 Aug 2003; Patrick Kursawe <phosphan@gentoo.org> + DirectFB-0.9.19-r1.ebuild: + Trying to fix bug 25097 05 Aug 2003; Martin Holzer <mholzer@gentoo.org> DirectFB-0.9.12.ebuild, DirectFB-0.9.16.ebuild: diff --git a/dev-libs/DirectFB/DirectFB-0.9.19-r1.ebuild b/dev-libs/DirectFB/DirectFB-0.9.19-r1.ebuild new file mode 100644 index 000000000000..a5b5f07c8680 --- /dev/null +++ b/dev-libs/DirectFB/DirectFB-0.9.19-r1.ebuild @@ -0,0 +1,65 @@ +# 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.19-r1.ebuild,v 1.1 2003/08/05 12:02:51 phosphan 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 hppa" +IUSE="jpeg gif png truetype mpeg mmx sse" + +DEPEND="dev-lang/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() { + local mycppflags + use mpeg && mycppflags="-I /usr/include/libmpeg3" + econf CPPFLAGS="${mycppflags}" \ + `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 CPPFLAGS="${mycppflags}" 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/Manifest b/dev-libs/DirectFB/Manifest index 007df8d8b2a1..2f698fbec9f1 100644 --- a/dev-libs/DirectFB/Manifest +++ b/dev-libs/DirectFB/Manifest @@ -4,8 +4,8 @@ MD5 22144703425dd521d372c9766fcdbb14 DirectFB-0.9.19.ebuild 1666 MD5 5b7db74f2af2c270a09407d93cbbfaaa DirectFB-0.9.16.ebuild 2901 MD5 a61ed500410d82702f59bf7cd2efa95a DirectFB-0.9.16-r1.ebuild 2284 MD5 b9f4a419a3e9b8140e23167f3534c072 DirectFB-0.9.18.ebuild 1663 -MD5 22144703425dd521d372c9766fcdbb14 DirectFB-0.9.19-r1.ebuild 1666 -MD5 0adbcbb45a133234b75333a0f567e27d ChangeLog 4732 +MD5 b1e0ecb30aef7776ce6ada5e9e1a4669 DirectFB-0.9.19-r1.ebuild 1787 +MD5 984306ddabe4d82161502b09a247ce4a ChangeLog 4877 MD5 571198ea32e883b2f4efdd5c23520152 files/digest-DirectFB-0.9.16-r1 67 MD5 0b9e70cc12aea75d1e65699d5cfa24aa files/digest-DirectFB-0.9.19-r1 68 MD5 01ed46e3f45aa9ff9756bf2b46fe6376 files/digest-DirectFB-0.9.12 67 diff --git a/dev-libs/DirectFB/files/digest-DirectFB-0.9.19-r1 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.19-r1 new file mode 100644 index 000000000000..76103097d029 --- /dev/null +++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.19-r1 @@ -0,0 +1 @@ +MD5 8af7f3b5d2c3cc2cb7aba4662ec0b73f DirectFB-0.9.19.tar.gz 1148437 |