summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r1.ebuild')
-rw-r--r--media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r1.ebuild b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r1.ebuild
new file mode 100644
index 000000000000..468639d42059
--- /dev/null
+++ b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r1.ebuild,v 1.1 2012/12/06 05:21:11 tetromino Exp $
+
+EAPI="5"
+
+inherit eutils gst-plugins-bad gst-plugins10
+
+DESCRIPTION="GStreamer decoder for vpx video format"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+IUSE=""
+
+RDEPEND="media-libs/libvpx"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Fix zero-bitrate vp8 encoding with libvpx-1.1, bug #435282
+ epatch "${FILESDIR}/${PN}-0.10.23-libvpx-1.1.patch"
+
+ gst-plugins10_find_plugin_dir
+ # gstbasevideo has no .pc
+ sed -e "s:\$(top_builddir)/gst-libs/gst/video/.*\.la:-lgstbasevideo-${SLOT}:" \
+ -i Makefile.am Makefile.in || die
+}