summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-10-11 17:39:12 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-10-11 17:39:12 +0000
commit056a58765d791da53b75ee4be5ec656e3be33bdb (patch)
treefbd79d8359eb751dfa05d0ea44cee01c9c1296e1 /media-libs/mediastreamer
parentarm stable, bug #482056 (diff)
downloadgentoo-2-056a58765d791da53b75ee4be5ec656e3be33bdb.tar.gz
gentoo-2-056a58765d791da53b75ee4be5ec656e3be33bdb.tar.bz2
gentoo-2-056a58765d791da53b75ee4be5ec656e3be33bdb.zip
fix opengl useflag wrt #487486
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'media-libs/mediastreamer')
-rw-r--r--media-libs/mediastreamer/ChangeLog6
-rw-r--r--media-libs/mediastreamer/files/mediastreamer-2.9.0-xxd.patch18
-rw-r--r--media-libs/mediastreamer/mediastreamer-2.9.0.ebuild6
3 files changed, 27 insertions, 3 deletions
diff --git a/media-libs/mediastreamer/ChangeLog b/media-libs/mediastreamer/ChangeLog
index 27935fe4473f..98462b193585 100644
--- a/media-libs/mediastreamer/ChangeLog
+++ b/media-libs/mediastreamer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/mediastreamer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/ChangeLog,v 1.72 2013/10/10 10:20:17 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/ChangeLog,v 1.73 2013/10/11 17:39:12 hasufell Exp $
+
+ 11 Oct 2013; Julian Ospald <hasufell@gentoo.org> mediastreamer-2.9.0.ebuild,
+ +files/mediastreamer-2.9.0-xxd.patch:
+ fix opengl useflag wrt #487486
10 Oct 2013; Julian Ospald <hasufell@gentoo.org> mediastreamer-2.9.0.ebuild:
add opengl useflag, add subslot
diff --git a/media-libs/mediastreamer/files/mediastreamer-2.9.0-xxd.patch b/media-libs/mediastreamer/files/mediastreamer-2.9.0-xxd.patch
new file mode 100644
index 000000000000..2337e1343002
--- /dev/null
+++ b/media-libs/mediastreamer/files/mediastreamer-2.9.0-xxd.patch
@@ -0,0 +1,18 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Oct 11 11:37:19 UTC 2013
+Subject: avoid dependency on vim-core
+
+--- mediastreamer-2.9.0/src/Makefile.am
++++ mediastreamer-2.9.0/src/Makefile.am
+@@ -385,9 +385,9 @@
+ yuv2rgb.fs.h: yuv2rgb.fs
+ builddir=`pwd` && \
+ cd $(top_srcdir)/src && \
+- xxd -i yuv2rgb.fs | sed s/}\;/,0x00}\;/ > $$builddir/yuv2rgb.fs.h
++ xxdi.pl yuv2rgb.fs | sed s/}\;/0x00}\;/ > $$builddir/yuv2rgb.fs.h
+
+ yuv2rgb.vs.h: yuv2rgb.vs
+ builddir=`pwd` && \
+ cd $(top_srcdir)/src && \
+- xxd -i yuv2rgb.vs | sed s/}\;/,0x00}\;/ > $$builddir/yuv2rgb.vs.h
++ xxdi.pl yuv2rgb.vs | sed s/}\;/0x00}\;/ > $$builddir/yuv2rgb.vs.h
diff --git a/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild b/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild
index 3fd2e767aeda..9d834b7897bc 100644
--- a/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild
+++ b/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild,v 1.3 2013/10/10 10:20:17 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild,v 1.4 2013/10/11 17:39:12 hasufell Exp $
EAPI=5
@@ -52,6 +52,7 @@ DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
doc? ( app-doc/doxygen )
+ opengl? ( dev-util/xxdi )
test? ( >=dev-util/cunit-2.1_p2[ncurses] )
X? ( x11-proto/videoproto )"
@@ -96,7 +97,8 @@ src_prepare() {
epatch "${FILESDIR}/${P}-v4l-automagic.patch" \
"${FILESDIR}/${P}-libav9.patch" \
"${FILESDIR}/${P}-underlinking.patch" \
- "${FILESDIR}/${P}-tests.patch"
+ "${FILESDIR}/${P}-tests.patch" \
+ "${FILESDIR}/${P}-xxd.patch"
eautoreconf
}