summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild')
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild25
1 files changed, 16 insertions, 9 deletions
diff --git a/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild b/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild
index 6112182d7d8f..928227a6f881 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild
@@ -1,11 +1,12 @@
# 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.9-r2.ebuild,v 1.1 2002/04/16 03:15:43 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.9-r2.ebuild,v 1.2 2002/04/16 03:26:37 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"
+SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz
+ mpeg? http://heroinewarrior.com/libmpeg3-1.5.tar.gz"
HOMEPAGE="http://www.directfb.org"
DEPEND="sys-devel/perl
@@ -16,13 +17,20 @@ DEPEND="sys-devel/perl
truetype? ( >=media-libs/freetype-2.0.1 )
quicktime? ( media-libs/quicktime4linux )"
# avi? ( =media-video/avifile-0.6* )
-# mpeg? ( >=media-libs/libmpeg3-1.5 )
RDEPEND="${DEPEND}"
#extralibinfo=""
#use mpeg && extralibinfo="LIBMPEG3_DIR=/usr/lib LIBMPEG3_LIBS=-lmpeg3"
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${WORKDIR}/libmpeg3
+ make
+}
+
src_compile() {
local myconf
@@ -37,13 +45,12 @@ src_compile() {
# && myconf="${myconf} --enable-avifile" \
# || myconf="${myconf} --disable-avifile"
-# use mpeg \
-# && myconf="${myconf} --with-libmpeg3=/usr/include/libmpeg3" \
-# && mkdir ${S}/interfaces/IDirectFBVideoProvider/no \
-# || myconf="${myconf} --without-libmpeg3"
-
- myconf="${myconf} --disable-avifile --disable-libmpeg3"
+ myconf="${myconf} --disable-avifile"
+ use mpeg \
+ && myconf="${myconf} --with-libmpeg3=${WORKDIR}/libmpeg3" \
+ || myconf="${myconf} --disable-libmpeg3"
+
use jpeg \
&& myconf="${myconf} --enable-jpeg" \
|| myconf="${myconf} --disable-jpeg"