Portage is a package management system used by Gentoo Linux
# ChangeLog for media-plugins/gst-plugins-ffmpeg
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.86 2008/06/25 20:13:38 loki_val Exp $
25 Jun 2008; Peter Alfredsen
+files/0.10.4/system-ffmpeg-warning.patch,
gst-plugins-ffmpeg-0.10.4-r1.ebuild:
Removed 15 second wait and warning message using unspeakable means.
*gst-plugins-ffmpeg-0.10.4-r1 (23 Jun 2008)
23 Jun 2008; Peter Alfredsen
+files/0.10.4/01_new-codec-ids.patch, +files/0.10.4/03_disable-aac.patch,
+files/0.10.4/02_av_picture_copy.patch,
+files/0.10.4/04_disable-mpegts.patch, -gst-plugins-ffmpeg-0.10.4.ebuild,
+gst-plugins-ffmpeg-0.10.4-r1.ebuild:
Revbump with patches to fix interaction with newer ffmpeg, courtesy of
Debian. Fixes bug 229015.
*gst-plugins-ffmpeg-0.10.4 (22 Jun 2008)
22 Jun 2008; Peter Alfredsen
+gst-plugins-ffmpeg-0.10.4.ebuild:
Bumping to 0.10.4, to get something that compiles with gcc-4.3. Solves
226023, 225855 and 137401. Uses system ffmpeg, despite upstream
recommending against it. Debian, Ubuntu and a few others are already doing
this, though.
22 Feb 2008; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.10.1-r1.ebuild,
gst-plugins-ffmpeg-0.10.2.ebuild, gst-plugins-ffmpeg-0.10.3.ebuild:
fix up deps; bug #210509
*gst-plugins-ffmpeg-0.10.3 (08 Dec 2007)
08 Dec 2007; Samuli Suominen
+gst-plugins-ffmpeg-0.10.3.ebuild:
Version bump.
11 Oct 2007; Markus Rothe
gst-plugins-ffmpeg-0.10.2.ebuild:
Stable on ppc64; bug #190900
26 Sep 2007; Raúl Porcel
gst-plugins-ffmpeg-0.10.2.ebuild:
ia64 stable wrt #190900
21 Sep 2007; Chris Gianelloni
gst-plugins-ffmpeg-0.10.2.ebuild:
Stable on amd64 wrt bug #190900.
10 Sep 2007; nixnut
Stable on ppc wrt bug 190900
09 Sep 2007; Christian Faulhammer
gst-plugins-ffmpeg-0.10.2.ebuild:
x86 stable, bug 190900
03 Sep 2007; Jeroen Roovers
gst-plugins-ffmpeg-0.10.2.ebuild:
Stable for HPPA (bug #190900).
07 Aug 2007; Gustavo Zacarias
gst-plugins-ffmpeg-0.10.2.ebuild:
Stable on sparc wrt #185823
16 Feb 2007; Roy Marples
gst-plugins-ffmpeg-0.10.2.ebuild:
Added ~x86-fbsd keyword.
01 Feb 2007; Gustavo Zacarias
gst-plugins-ffmpeg-0.10.1-r1.ebuild, gst-plugins-ffmpeg-0.10.2.ebuild:
0.10.1 not good for sparc so unkeyworded, 0.10.2 kinda works but not fine
for all media types, ~sparc it anyway
10 Jan 2007; Mart Raudsepp
-gst-plugins-ffmpeg-0.10.1.ebuild:
Prune old versions
21 Dec 2006; Ferris McCormick
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Add ~sparc keyword; builds and installs as expected.
*gst-plugins-ffmpeg-0.10.2 (13 Dec 2006)
13 Dec 2006; Zaheer Abbas Merali
+gst-plugins-ffmpeg-0.10.2.ebuild:
version bump
19 Sep 2006; Aron Griffis
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Mark 0.10.1-r1 stable on ia64. #139612
19 Aug 2006; Bryan Østergaard
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Add ~ia64 keyword.
22 Jul 2006; Thomas Cort
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Stable on alpha.
17 Jul 2006; Daniel Gryniewicz
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Marked stable on amd64 for bug #139612
16 Jul 2006; Tobias Scherbaum
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
hppa stable, bug #139612
14 Jul 2006; Tobias Scherbaum
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
ppc stable, bug #139612
12 Jul 2006; Chris Gianelloni
gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Stable on x86 wrt bug #139612.
06 Jul 2006; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
Fix bug #139222
*gst-plugins-ffmpeg-0.10.1-r1 (19 Jun 2006)
19 Jun 2006; Zaheer Abbas Merali
+gst-plugins-ffmpeg-0.10.1-r1.ebuild:
Disable building of ffplay. Fixes #135153
14 May 2006; Tobias Scherbaum
gst-plugins-ffmpeg-0.10.1.ebuild:
Added ~hppa
12 May 2006; Thomas Cort
gst-plugins-ffmpeg-0.10.1.ebuild:
Added ~alpha keyword.
05 May 2006; Markus Rothe
gst-plugins-ffmpeg-0.10.1.ebuild:
Stable on ppc64
08 Apr 2006; Tobias Scherbaum
gst-plugins-ffmpeg-0.10.1.ebuild:
Added to ~ppc
02 Apr 2006; Marinus Schraal
Add back patch for 0.8 version (#128504)
*gst-plugins-ffmpeg-0.10.1 (01 Apr 2006)
01 Apr 2006;
-gst-plugins-ffmpeg-0.10.0.ebuild, -gst-plugins-ffmpeg-0.10.0-r1.ebuild,
+gst-plugins-ffmpeg-0.10.1.ebuild:
version bump
29 Mar 2006; Markus Rothe
gst-plugins-ffmpeg-0.10.0-r1.ebuild:
Added ~ppc64
27 Feb 2006; Zaheer Abbas Merali
-gst-plugins-ffmpeg-0.8.4.ebuild, -gst-plugins-ffmpeg-0.8.4-r1.ebuild,
-gst-plugins-ffmpeg-0.8.5.ebuild, -gst-plugins-ffmpeg-0.8.6.ebuild,
-gst-plugins-ffmpeg-0.8.7.ebuild, gst-plugins-ffmpeg-0.8.7-r1.ebuild:
fix deps and remove obsolete ebuilds
24 Feb 2006; Zaheer Abbas Merali
fix bug #122065
04 Feb 2006; Simon Stelling
+files/gst-ffmpeg-gcc4.patch, -files/gst-ffmpeg-gcc4.patch.gz,
gst-plugins-ffmpeg-0.8.4-r1.ebuild:
no need to gzip smallish patches
29 Jan 2006; Bryan Østergaard
Stable on alpha + ia64, bug 119512.
21 Jan 2006; Michael Hanselmann
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
Stable on ppc.
21 Jan 2006; Simon Stelling
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
stable on amd64 wrt bug 119512
21 Jan 2006; Rene Nussbaumer
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
Stable on hppa. See bug #119512.
21 Jan 2006; Markus Rothe
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
Stable on ppc64; bug #119512
20 Jan 2006; Joshua Jackson
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
Stable on x86 for Security bug #119512
20 Jan 2006; Gustavo Zacarias
gst-plugins-ffmpeg-0.8.7-r1.ebuild:
Stable on sparc wrt security #119512 and #119634
*gst-plugins-ffmpeg-0.10.0-r1 (18 Jan 2006)
*gst-plugins-ffmpeg-0.8.7-r1 (18 Jan 2006)
18 Jan 2006; Joe McCann
+gst-plugins-ffmpeg-0.8.7-r1.ebuild, +gst-plugins-ffmpeg-0.10.0-r1.ebuild:
Adding patch for ffmpeg vulnerability. More info available in bug 115760
05 Dec 2005; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.8.4.ebuild, gst-plugins-ffmpeg-0.8.4-r1.ebuild,
gst-plugins-ffmpeg-0.8.5.ebuild, gst-plugins-ffmpeg-0.8.6.ebuild,
gst-plugins-ffmpeg-0.8.7.ebuild:
Fix GStreamer dependencies
*gst-plugins-ffmpeg-0.10.0 (05 Dec 2005)
05 Dec 2005; Zaheer Abbas Merali
-gst-plugins-ffmpeg-0.9.7.ebuild, +gst-plugins-ffmpeg-0.10.0.ebuild:
0.10.0 Release
04 Dec 2005; Zaheer Abbas Merali
-gst-plugins-ffmpeg-0.8.3.ebuild:
Remove unneeded versions
*gst-plugins-ffmpeg-0.9.7 (04 Dec 2005)
04 Dec 2005; Zaheer Abbas Merali
+gst-plugins-ffmpeg-0.9.7.ebuild:
0.10 Prerelease
27 Nov 2005; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.8.6.ebuild:
fix bug #109280
*gst-plugins-ffmpeg-0.8.7 (27 Nov 2005)
27 Nov 2005; Zaheer Abbas Merali
+gst-plugins-ffmpeg-0.8.7.ebuild:
version bump, thanks Frittella Laurento
05 Sep 2005; Zaheer Abbas Merali
+files/gst-plugins-ffmpeg-0.8.5-gmake.patch,
gst-plugins-ffmpeg-0.8.5.ebuild, gst-plugins-ffmpeg-0.8.6.ebuild:
add patch so make is replaced by autotool specified make, fixes bug
*gst-plugins-ffmpeg-0.8.6 (28 Aug 2005)
28 Aug 2005; Zaheer Abbas Merali
+gst-plugins-ffmpeg-0.8.6.ebuild:
version bump
24 Aug 2005; Aron Griffis
gst-plugins-ffmpeg-0.8.4-r1.ebuild:
stable on ia64
13 Jul 2005; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.8.5.ebuild:
fix gstreamer dep, due to use of new symbol
02 Jul 2005; Bryan Østergaard
gst-plugins-ffmpeg-0.8.4.ebuild:
Stable on alpha.
26 Jun 2005; Guy Martin
gst-plugins-ffmpeg-0.8.4.ebuild, gst-plugins-ffmpeg-0.8.4-r1.ebuild,
gst-plugins-ffmpeg-0.8.5.ebuild:
Stable on hppa.
13 Jun 2005; Bryan Østergaard
gst-plugins-ffmpeg-0.8.5.ebuild:
Add ~alpha keyword.
*gst-plugins-ffmpeg-0.8.5 (11 Jun 2005)
11 Jun 2005; Zaheer Abbas Merali
+gst-plugins-ffmpeg-0.8.5.ebuild:
version bump
09 Jun 2005; Markus Rothe
gst-plugins-ffmpeg-0.8.4-r1.ebuild:
Stable on ppc64
16 May 2005; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.8.4-r1.ebuild:
filter -fweb, fixes #91789
14 May 2005; Hanno Boeck
+files/gst-ffmpeg-gcc4.patch.gz, gst-plugins-ffmpeg-0.8.4-r1.ebuild:
Fix for gcc4 (from ffmpeg ebuild and cvs).
09 May 2005; Aron Griffis
gst-plugins-ffmpeg-0.8.4.ebuild:
stable on ia64
06 May 2005; Markus Rothe
gst-plugins-ffmpeg-0.8.4-r1.ebuild:
Added ~ppc64 to KEYWORDS
02 May 2005; Gustavo Zacarias
gst-plugins-ffmpeg-0.8.4.ebuild:
Stable on sparc
*gst-plugins-ffmpeg-0.8.4-r1 (29 Apr 2005)
29 Apr 2005; Zaheer Abbas Merali
+files/gst-plugins-ffmpeg-0.8.4-eoshangfix.patch,
+gst-plugins-ffmpeg-0.8.4-r1.ebuild:
add patch to stop some files taking up 100% cpu - fixes bug #86042
27 Apr 2005; Jan Brinkmann
gst-plugins-ffmpeg-0.8.4.ebuild:
stable on amd64
25 Apr 2005; Zaheer Abbas Merali
-gst-plugins-ffmpeg-0.8.0.ebuild, -gst-plugins-ffmpeg-0.8.2.ebuild:
Removing gst-plugins-ffmpeg 0.8.0 and 0.8.2
25 Apr 2005; Mike Gardiner
gst-plugins-ffmpeg-0.8.4.ebuild:
Keyworded ppc
25 Apr 2005; Zaheer Abbas Merali
gst-plugins-ffmpeg-0.8.4.ebuild:
stabilise on x86
*gst-plugins-ffmpeg-0.8.4 (11 Mar 2005)
11 Mar 2005; Heinrich Wendel
+gst-plugins-ffmpeg-0.8.4.ebuild:
version bump
30 Jan 2005; lanius@gentoo.org :
stable on amd64
05 Jan 2004; foser
Also strip -msse3 from CFLAGS (#64262 comment #35)
*gst-plugins-ffmpeg-0.8.3 (29 Dec 2004)
29 Dec 2004; foser
New release
16 Dec 2004; Dylan Carlson
gst-plugins-ffmpeg-0.8.2.ebuild:
Stable on amd64.
12 Dec 2004; foser
Use the CFLAG restrictions from the mplayer ebuild (#64262)
*gst-plugins-ffmpeg-0.8.2-r1 (29 Nov 2004)
29 Nov 2004; foser
Add patch to fix aspect ratio issues with some movies
http://bugzilla.gnome.org/show_bug.cgi?id=159755
Filter more flags to fix bugs like #64262
30 Oct 2004; Travis Tilley
stable on amd64
*gst-plugins-ffmpeg-0.8.2 (11 Oct 2004)
11 Oct 2004; foser
New release
Filter some problematic CFLAGS (#56075)
Remove global sed
20 Aug 2004; Travis Tilley
added ~amd64 keyword
04 Aug 2004; foser
Add homepage (#57908)
*gst-plugins-ffmpeg-0.8.1 (20 Jul 2004)
20 Jul 2004; foser
New release
30 Apr 2004; foser
Do not use the gst-plugins eclass, the eclass structure messes up the deps (#49228)
14 Apr 2004; Jason Wever
Added ~sparc keyword.
29 Mar 2004; David Holm
Added to ~ppc.
*gst-plugins-ffmpeg-0.8.0 (28 Mar 2004)
28 Mar 2004; foser
Initial commit
ffmpeg based plugin for gstreamer
offers a wide variety of audio/videa plug-ins
added to the gnome herd
AUX 0.10.4/01_new-codec-ids.patch 480 RMD160 6d104574a160609adbc4ebc709710a08421a5358 SHA1 3f98f84d4af9a75ddec1500a7a1b244ffec4d518 SHA256 342a62e3974af1b37f088b176aab2d784d8f803bb0c12864ee61082bd7da3252
AUX 0.10.4/02_av_picture_copy.patch 4524 RMD160 38e0b4d994c1aea01073d61e363d2fa6d9830a12 SHA1 dbf0be37aeb7c8e7e592bdc81df70a5fab2a4831 SHA256 63c67fdd9a22cd69050bfa29b85e7c51c77a211967a18db57c9c60f99a07594f
AUX 0.10.4/03_disable-aac.patch 578 RMD160 008bfffd264a0d7548f5ee311608970fbfa43db3 SHA1 134444d6c95bd18e240b2cf9ae41acce53f809cd SHA256 9c863f17c037efb9ac2093a743a080503863c7ed414e334816f842cf3010a0cc
AUX 0.10.4/04_disable-mpegts.patch 1578 RMD160 42bbaf4583503cdfc989281eddcbb3b79bf7b898 SHA1 d8f97ac2e0d605847a422f266aa0d01a9076fd96 SHA256 e5e47a154cc60ef4379627ec0a4c42deafeab490106962ff735fbdfbe98ac057
AUX 0.10.4/system-ffmpeg-warning.patch 3438 RMD160 1b71038b113e67d08b574b8a5ccd3e973996496d SHA1 643519922214d1cc375a9309d2c400e5b9f05048 SHA256 8b06b08ffda983965b8dcc61f5ddadf418b8ffee6daccd38d82b5cd80e1ede45
DIST gst-ffmpeg-0.10.1.tar.bz2 2246682 RMD160 8106a431926c14411ce252f440ec6d1fbdd127d9 SHA1 a3bafaf83db1aadc14abc94c7d89cd7d2f739f0a SHA256 a2c877c38d057875c7dfbf1803030c5cc9707020b77f91673500d6ea8d858607
DIST gst-ffmpeg-0.10.2.tar.bz2 2515373 RMD160 844552e90da1b9b156042151722ec1b7a1c002ea SHA1 95ca222351a543c9a1f45e89e0695a3b709ec2f6 SHA256 ffa7c89bccab5d1be53b6fcedcf7a5c071d585cf522fee5864add05d350f5842
DIST gst-ffmpeg-0.10.3.tar.bz2 2529034 RMD160 0a56e2c896fb14d000c734c75bd5f64a35a2efc3 SHA1 dd40cc38f7581412e5e23d2bf401cc66c9ba1f55 SHA256 b85899ac1c792db2e12d7063c45c0c6638dc8cc234d3ac6786b739cc6486439f
DIST gst-ffmpeg-0.10.4.tar.bz2 3011048 RMD160 efcea2a3953c147eabd2aaa7ff5a3656e1071ab9 SHA1 41977e74aed48154df2d831c652eef1bd42caf19 SHA256 840015b4e0f0e7248b178eafc37476d6eb9aea3876eb3b07e2a66b430b526da2
EBUILD gst-plugins-ffmpeg-0.10.1-r1.ebuild 1356 RMD160 e22b14cde21d4e69929205316d44ca10dce838a5 SHA1 64049ec884f036ea04367657367271e7682ab43f SHA256 baed3556c3628b5c209549af8489bb235dac2b355e92ad7a2f9d77e7dd8ceb99
EBUILD gst-plugins-ffmpeg-0.10.2.ebuild 1395 RMD160 aa185e9e2bf0c22b46b821275f8cac8710fc73f4 SHA1 379825085337ac83d2d3b980d55bfb81cc805b81 SHA256 9d73dc90af87057b0eff9470fe0c19c7e8339d3213d673e9aae2294d40b23b62
EBUILD gst-plugins-ffmpeg-0.10.3.ebuild 1429 RMD160 81608e0491265454d913a219163e8b8e90504a9a SHA1 bab3afa6bf58d1cc1c3a4ea28c99c35874690007 SHA256 84701d6c49f483e2dca32520ed17704766a508f91447680d71a32846fc89053c
EBUILD gst-plugins-ffmpeg-0.10.4-r1.ebuild 2077 RMD160 d911a70e6eeb35ede57a4137f9a422ea51ecbf16 SHA1 415730b82b79c13e85ec3389936c9b675f038d49 SHA256 6ba114011e94ebd80f039990e976b4889c2e49cdc9359a3908abf01a713b281b
MISC ChangeLog 12910 RMD160 86b37ca4edfd54c4545073dea78193e425fbf409 SHA1 ead7d19b4f071cc814c8c5884bc6d61a6907133d SHA256 3b2e631860a684d35f3e35f37677180cb57ac31d055a0d6a0cf01bce8f3b4e96
MISC metadata.xml 181 RMD160 51814fbdcf7f32cfe70018b3af7fc798e41ff90d SHA1 faf40c45bd66b0072b95556cf7ab097d3be19511 SHA256 22c215902ccdc7fd8cdb765750fb23ea9d9b6c9d3edb1b45325c3469f8f6ffc5
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.1-r1.ebuild,v 1.12 2008/02/22 10:41:38 zaheerm Exp $
inherit flag-o-matic eutils
MY_PN=${PN/-plugins/}
MY_P=${MY_PN}-${PV}
# Create a major/minor combo for SLOT
PVP=(${PV//[-\._]/ })
SLOT=${PVP[0]}.${PVP[1]}
#SLOT=0.10
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html"
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 x86"
IUSE=""
S=${WORKDIR}/${MY_P}
RDEPEND=">=media-libs/gstreamer-0.10.0
>=media-libs/gst-plugins-base-0.10.0"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
# Restrictions taken from the mplayer ebuild
# See bug #64262 for more info
# let's play the filtration game!
filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb
# ugly optimizations cause MPlayer to cry on x86 systems!
if use x86 ; then
replace-flags -O0 -O2
replace-flags -O3 -O2
fi
econf --disable-ffplay|| die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.2.ebuild,v 1.12 2008/02/22 10:41:38 zaheerm Exp $
inherit flag-o-matic eutils
MY_PN=${PN/-plugins/}
MY_P=${MY_PN}-${PV}
# Create a major/minor combo for SLOT
PVP=(${PV//[-\._]/ })
SLOT=${PVP[0]}.${PVP[1]}
#SLOT=0.10
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html"
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
S=${WORKDIR}/${MY_P}
RDEPEND=">=media-libs/gstreamer-0.10.4
>=media-libs/gst-plugins-base-0.10.4
>=dev-libs/liboil-0.3.6"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
# Restrictions taken from the mplayer ebuild
# See bug #64262 for more info
# let's play the filtration game!
filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb
# ugly optimizations cause MPlayer to cry on x86 systems!
if use x86 ; then
replace-flags -O0 -O2
replace-flags -O3 -O2
fi
econf --disable-ffplay|| die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.3.ebuild,v 1.2 2008/02/22 10:41:38 zaheerm Exp $
inherit flag-o-matic eutils
MY_PN=${PN/-plugins/}
MY_P=${MY_PN}-${PV}
# Create a major/minor combo for SLOT
PVP=(${PV//[-\._]/ })
SLOT=${PVP[0]}.${PVP[1]}
#SLOT=0.10
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html"
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
S=${WORKDIR}/${MY_P}
RDEPEND=">=media-libs/gstreamer-0.10.4
>=media-libs/gst-plugins-base-0.10.4
>=dev-libs/liboil-0.3.6"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
# Restrictions taken from the mplayer ebuild
# See bug #64262 for more info
# let's play the filtration game!
filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb
# ugly optimizations cause MPlayer to cry on x86 systems!
if use x86 ; then
replace-flags -O0 -O2
replace-flags -O3 -O2
fi
econf --disable-ffplay
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.4-r1.ebuild,v 1.2 2008/06/25 20:13:38 loki_val Exp $
inherit flag-o-matic eutils base
PD=${FILESDIR}/${PV}
MY_PN=${PN/-plugins}
MY_P=${MY_PN}-${PV}
# Create a major/minor combo for SLOT
PVP=(${PV//[-\._]/ })
SLOT=${PVP[0]}.${PVP[1]}
#SLOT=0.10
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html"
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
S=${WORKDIR}/${MY_P}
RDEPEND=">=media-libs/gstreamer-0.10.4
>=media-libs/gst-plugins-base-0.10.4
>=dev-libs/liboil-0.3.6
>=media-video/ffmpeg-0.4.9_p20080326"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
PATCHES=( "${PD}/01_new-codec-ids.patch"
"${PD}/02_av_picture_copy.patch"
"${PD}/03_disable-aac.patch"
"${PD}/04_disable-mpegts.patch"
"${PD}/system-ffmpeg-warning.patch" )
src_unpack() {
unpack ${A}
cd "${S}"
base_src_unpack autopatch
sed -i \
-e 's,ffmpeg/avformat.h,libavformat/avformat.h,' \
-e 's,ffmpeg/avcodec.h,libavcodec/avcodec.h,' \
-e 's,ffmpeg/swscale.h,libswscale/swscale.h,' \
-e 's,postproc/postprocess.h,libpostproc/postprocess.h,' \
ext/ffmpeg/gst* \
ext/libpostproc/gstpostproc.c \
|| die "404. No files found."
}
src_compile() {
# Restrictions taken from the mplayer ebuild
# See bug #64262 for more info
# let's play the filtration game!
filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb
# ugly optimizations cause MPlayer to cry on x86 systems!
if use x86 ; then
replace-flags -O0 -O2
replace-flags -O3 -O2
fi
econf --with-system-ffmpeg
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
}