diff options
Diffstat (limited to 'dev-libs/DirectFB/DirectFB-0.9.12.ebuild')
-rw-r--r-- | dev-libs/DirectFB/DirectFB-0.9.12.ebuild | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/dev-libs/DirectFB/DirectFB-0.9.12.ebuild b/dev-libs/DirectFB/DirectFB-0.9.12.ebuild deleted file mode 100644 index 58d402494340..000000000000 --- a/dev-libs/DirectFB/DirectFB-0.9.12.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# 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.12.ebuild,v 1.17 2004/01/02 17:30:40 bazik Exp $ - -DESCRIPTION="a thin library that sits on top of the Linux framebuffer devices" -HOMEPAGE="http://www.directfb.org/" -SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="x86 -sparc ppc alpha" -IUSE="gif quicktime mpeg png truetype flash jpeg mmx" - -DEPEND="dev-lang/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? ( virtual/quicktime )" -# 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/* -} - |