summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2009-03-30 04:49:47 +0000
committerOlivier Crête <tester@gentoo.org>2009-03-30 04:49:47 +0000
commit8fb928dab9d1e050a64ae5e78060b5f13ed39a89 (patch)
treec9c073e2aef9322a05fbec3fde03820337b6c643 /media-plugins/gst-plugins-ffmpeg
parentVersion bump (diff)
downloadgentoo-2-8fb928dab9d1e050a64ae5e78060b5f13ed39a89.tar.gz
gentoo-2-8fb928dab9d1e050a64ae5e78060b5f13ed39a89.tar.bz2
gentoo-2-8fb928dab9d1e050a64ae5e78060b5f13ed39a89.zip
Version bump
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'media-plugins/gst-plugins-ffmpeg')
-rw-r--r--media-plugins/gst-plugins-ffmpeg/ChangeLog10
-rw-r--r--media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.7.ebuild56
2 files changed, 64 insertions, 2 deletions
diff --git a/media-plugins/gst-plugins-ffmpeg/ChangeLog b/media-plugins/gst-plugins-ffmpeg/ChangeLog
index d30e74f3e350..5d69b6f956cd 100644
--- a/media-plugins/gst-plugins-ffmpeg/ChangeLog
+++ b/media-plugins/gst-plugins-ffmpeg/ChangeLog
@@ -1,6 +1,12 @@
# 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.102 2008/12/22 14:24:23 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/ChangeLog,v 1.103 2009/03/30 04:49:47 tester Exp $
+
+*gst-plugins-ffmpeg-0.10.7 (30 Mar 2009)
+
+ 30 Mar 2009; Olivier Crête <tester@gentoo.org>
+ +gst-plugins-ffmpeg-0.10.7.ebuild:
+ Version bump
22 Dec 2008; Raúl Porcel <armin76@gentoo.org>
gst-plugins-ffmpeg-0.10.5.ebuild:
diff --git a/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.7.ebuild b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.7.ebuild
new file mode 100644
index 000000000000..7fcdae99525c
--- /dev/null
+++ b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 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.7.ebuild,v 1.1 2009/03/30 04:49:47 tester 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.22
+ >=media-libs/gst-plugins-base-0.10.22
+ >=dev-libs/liboil-0.3.6
+ =media-video/ffmpeg-0.5*"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ 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
+}