summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-29 23:03:13 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-29 23:03:13 +0000
commit60a7a4352ff1174f95b102c9f5b7083ce1441a54 (patch)
treeabcf9710c2caeaafbf9b0687d4f329890df105fb /media-video/ffmpeg
parentforgot to comment pax-utils (diff)
downloadgentoo-2-60a7a4352ff1174f95b102c9f5b7083ce1441a54.tar.gz
gentoo-2-60a7a4352ff1174f95b102c9f5b7083ce1441a54.tar.bz2
gentoo-2-60a7a4352ff1174f95b102c9f5b7083ce1441a54.zip
touchups
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.7.ebuild23
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.8.ebuild26
2 files changed, 19 insertions, 30 deletions
diff --git a/media-video/ffmpeg/ffmpeg-0.4.7.ebuild b/media-video/ffmpeg/ffmpeg-0.4.7.ebuild
index 023cd6410890..ceb6222f01de 100644
--- a/media-video/ffmpeg/ffmpeg-0.4.7.ebuild
+++ b/media-video/ffmpeg/ffmpeg-0.4.7.ebuild
@@ -1,23 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.7.ebuild,v 1.3 2004/01/04 18:21:23 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.7.ebuild,v 1.4 2004/01/29 23:03:13 vapier Exp $
-inherit eutils
+inherit eutils flag-o-matic
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://ffmpeg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-IUSE="mmx encode oggvorbis doc faad dvd static sdl imlib truetype"
-
-inherit flag-o-matic
-filter-flags "-fforce-addr -fPIC"
-# fixes bug #16281
-use alpha && append-flags "-fPIC"
-
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~ia64 ~amd64"
+IUSE="mmx encode oggvorbis doc faad dvd static sdl imlib truetype"
DEPEND="encode? ( >=media-sound/lame-3.92 )
oggvorbis? ( >=media-libs/libvorbis-1.0-r1 )
@@ -28,8 +22,6 @@ DEPEND="encode? ( >=media-sound/lame-3.92 )
imlib? ( >=media-libs/imlib2-1.0.6 )
truetype? ( >=media-libs/freetype-2.1.2 )"
-S=${WORKDIR}/${P}
-
src_unpack() {
unpack ${A} || die
cd ${S}
@@ -40,10 +32,13 @@ src_unpack() {
#epatch ${FILESDIR}/alpha-idct.patch
epatch ${FILESDIR}/${P}-2.6.patch
-
}
src_compile() {
+ filter-flags -fforce-addr -fPIC
+ # fixes bug #16281
+ use alpha && append-flags -fPIC
+
local myconf
use mmx || myconf="${myconf} --disable-mmx"
diff --git a/media-video/ffmpeg/ffmpeg-0.4.8.ebuild b/media-video/ffmpeg/ffmpeg-0.4.8.ebuild
index bab5a41b8593..fb7aa53dc0b7 100644
--- a/media-video/ffmpeg/ffmpeg-0.4.8.ebuild
+++ b/media-video/ffmpeg/ffmpeg-0.4.8.ebuild
@@ -1,24 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.8.ebuild,v 1.5 2004/01/17 03:54:46 darkspecter Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.8.ebuild,v 1.6 2004/01/29 23:03:13 vapier Exp $
-inherit eutils
+inherit eutils flag-o-matic
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://ffmpeg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-IUSE="mmx altivec encode oggvorbis doc faad dvd static sdl imlib truetype"
-
-inherit flag-o-matic
-filter-flags "-fforce-addr -fPIC"
-# fixes bug #16281
-use alpha && append-flags "-fPIC"
-use amd64 && append-flags "-fPIC"
-
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="~x86 ppc ~sparc ~alpha amd64"
+IUSE="mmx altivec encode oggvorbis doc faad dvd static sdl imlib truetype"
DEPEND="encode? ( >=media-sound/lame-3.92 )
oggvorbis? ( >=media-libs/libvorbis-1.0-r1 )
@@ -29,8 +22,6 @@ DEPEND="encode? ( >=media-sound/lame-3.92 )
imlib? ( >=media-libs/imlib2-1.0.6 )
truetype? ( >=media-libs/freetype-2.1.2 )"
-S=${WORKDIR}/${P}
-
src_unpack() {
unpack ${A} || die
cd ${S}
@@ -38,10 +29,14 @@ src_unpack() {
# for some reason it tries to #include <X11/Xlib.h>,b ut doesn't use it
cd ${S}
sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c
-
}
src_compile() {
+ filter-flags -fforce-addr -fPIC
+ # fixes bug #16281
+ use alpha && append-flags -fPIC
+ use amd64 && append-flags -fPIC
+
local myconf
myconf="${myconf} --disable-opts --enable-pp"
use mmx || myconf="${myconf} --disable-mmx"
@@ -61,7 +56,6 @@ src_compile() {
}
src_install() {
-
make \
DESTDIR=${D} \
prefix=${D}/usr \