summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-12-05 23:19:04 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-12-05 23:19:04 +0000
commit58efce53af664ba884ee204b19bd41e7e9aa3d54 (patch)
tree5f3a60f37d986220f8852b89de50be79c63f6068 /media-plugins/gst-plugins-ffmpeg
parentFix blockers. (diff)
downloadgentoo-2-58efce53af664ba884ee204b19bd41e7e9aa3d54.tar.gz
gentoo-2-58efce53af664ba884ee204b19bd41e7e9aa3d54.tar.bz2
gentoo-2-58efce53af664ba884ee204b19bd41e7e9aa3d54.zip
Bump
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6 x86_64)
Diffstat (limited to 'media-plugins/gst-plugins-ffmpeg')
-rw-r--r--media-plugins/gst-plugins-ffmpeg/ChangeLog9
-rw-r--r--media-plugins/gst-plugins-ffmpeg/files/0.10.6/system-ffmpeg-warning.patch72
-rw-r--r--media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.6.ebuild59
3 files changed, 139 insertions, 1 deletions
diff --git a/media-plugins/gst-plugins-ffmpeg/ChangeLog b/media-plugins/gst-plugins-ffmpeg/ChangeLog
index 90e53fe2bd4c..7f066bd411c9 100644
--- a/media-plugins/gst-plugins-ffmpeg/ChangeLog
+++ b/media-plugins/gst-plugins-ffmpeg/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/gst-plugins-ffmpeg
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.92 2008/11/10 10:55:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.93 2008/12/05 23:19:04 loki_val Exp $
+
+*gst-plugins-ffmpeg-0.10.6 (05 Dec 2008)
+
+ 05 Dec 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/0.10.6/system-ffmpeg-warning.patch,
+ +gst-plugins-ffmpeg-0.10.6.ebuild:
+ Bump
10 Nov 2008; Raúl Porcel <armin76@gentoo.org>
gst-plugins-ffmpeg-0.10.5.ebuild:
diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.6/system-ffmpeg-warning.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.6/system-ffmpeg-warning.patch
new file mode 100644
index 000000000000..6be9bb26ad3d
--- /dev/null
+++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.6/system-ffmpeg-warning.patch
@@ -0,0 +1,72 @@
+diff -NrU5 gst-ffmpeg-0.10.6.orig/configure gst-ffmpeg-0.10.6/configure
+--- gst-ffmpeg-0.10.6.orig/configure 2008-12-05 23:57:18.000000000 +0100
++++ gst-ffmpeg-0.10.6/configure 2008-12-06 00:02:04.000000000 +0100
+@@ -17130,68 +17130,10 @@
+ _ACEOF
+
+ HAVE_FFMPEG_UNINSTALLED=0
+ { echo "$as_me:$LINENO: Using system-installed FFMpeg code" >&5
+ echo "$as_me: Using system-installed FFMpeg code" >&6;}
+- { echo "$as_me:$LINENO: WARNING:
+- ======================================================================
+- WARNING: you have chosen to build gst-ffmpeg against a random
+- external version of ffmpeg instead of building it against the tested
+- internal ffmpeg snapshot that is included with gst-ffmpeg.
+-
+- This is a very bad idea. So bad in fact that words cannot express
+- just how bad it is. Suffice to say that it is BAD.
+-
+- The GStreamer developers cannot and will not support a gst-ffmpeg
+- built this way. Any bug reports that indicate there is an external
+- version of ffmpeg involved will be closed immediately without further
+- investigation.
+-
+- The reason such a setup can't be supported is that the ffmpeg API
+- and ABI is in constant flux, yet there aren't any official releases
+- of the ffmpeg library to develop against. This makes it impossible
+- to guarantee that gst-ffmpeg will work reliably, or even compile,
+- with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles
+- and superficially appears to work fine against your chosen external
+- ffmpeg version, that might just not be the case on other systems, or
+- even the same system at a later time, or when using decoders,
+- encoders, demuxers or muxers that have not been tested.
+-
+- Please do not create or distribute binary packages of gst-ffmpeg
+- that link against an external ffmpeg. Thank you!
+- ======================================================================
+- " >&5
+-echo "$as_me: WARNING:
+- ======================================================================
+- WARNING: you have chosen to build gst-ffmpeg against a random
+- external version of ffmpeg instead of building it against the tested
+- internal ffmpeg snapshot that is included with gst-ffmpeg.
+-
+- This is a very bad idea. So bad in fact that words cannot express
+- just how bad it is. Suffice to say that it is BAD.
+-
+- The GStreamer developers cannot and will not support a gst-ffmpeg
+- built this way. Any bug reports that indicate there is an external
+- version of ffmpeg involved will be closed immediately without further
+- investigation.
+-
+- The reason such a setup can't be supported is that the ffmpeg API
+- and ABI is in constant flux, yet there aren't any official releases
+- of the ffmpeg library to develop against. This makes it impossible
+- to guarantee that gst-ffmpeg will work reliably, or even compile,
+- with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles
+- and superficially appears to work fine against your chosen external
+- ffmpeg version, that might just not be the case on other systems, or
+- even the same system at a later time, or when using decoders,
+- encoders, demuxers or muxers that have not been tested.
+-
+- Please do not create or distribute binary packages of gst-ffmpeg
+- that link against an external ffmpeg. Thank you!
+- ======================================================================
+- " >&2;}
+-
+- sleep 15
+ else
+
+ source "$srcdir/ffmpegrev"
+
+ { echo "$as_me:$LINENO: Using ffmpeg revision $FFMPEG_REVISION" >&5
diff --git a/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.6.ebuild b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.6.ebuild
new file mode 100644
index 000000000000..21a90a4c7d4f
--- /dev/null
+++ b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.6.ebuild
@@ -0,0 +1,59 @@
+# 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.6.ebuild,v 1.1 2008/12/05 23:19:04 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_p20081014"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+PATCHES=( "${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,' \
+ ext/ffmpeg/gst* \
+ ext/libpostproc/gstpostproc.c \
+ || die "404. No files found."
+
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing
+
+ econf --with-system-ffmpeg
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}