summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-10-24 23:34:34 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-10-24 23:34:34 +0000
commite0fb8c62bc405101a655307a474bc28b4494163d (patch)
treeb003dee5ccda23133d479f0ed807cba5ae80a7d6 /media-video
parentif use png, then sed freetype2.pc to add the png lib, to fix bug 487646. (diff)
downloadgentoo-2-e0fb8c62bc405101a655307a474bc28b4494163d.tar.gz
gentoo-2-e0fb8c62bc405101a655307a474bc28b4494163d.tar.bz2
gentoo-2-e0fb8c62bc405101a655307a474bc28b4494163d.zip
More preparations for 2.1.0 version bump: Added missing line continuation characters which absence caused the econf command to split. Made sure qt5 being disabled doesnt
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vlc/ChangeLog8
-rw-r--r--media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch11
-rw-r--r--media-video/vlc/vlc-9999.ebuild22
3 files changed, 32 insertions, 9 deletions
diff --git a/media-video/vlc/ChangeLog b/media-video/vlc/ChangeLog
index 6acdb167d75a..669907f4d964 100644
--- a/media-video/vlc/ChangeLog
+++ b/media-video/vlc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/vlc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.855 2013/10/21 19:15:29 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.856 2013/10/24 23:34:33 tomwij Exp $
+
+ 24 Oct 2013; Tom Wijsman <TomWij@gentoo.org>
+ +files/vlc-2.1.0-fix-libtremor-libs.patch, vlc-9999.ebuild:
+ More preparations for 2.1.0 version bump: Added missing line continuation
+ characters which absence caused the econf command to split. Made sure qt5
+ being disabled doesnt
21 Oct 2013; Tom Wijsman <TomWij@gentoo.org>
-files/vlc-2.1.0-freetype-proper-default-font.patch, metadata.xml,
diff --git a/media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch b/media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch
new file mode 100644
index 000000000000..8a58969d0d8e
--- /dev/null
+++ b/media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch
@@ -0,0 +1,11 @@
+--- a/modules/codec/Makefile.am
++++ b/modules/codec/Makefile.am
+@@ -215,7 +215,7 @@
+ libtremor_plugin_la_SOURCES = codec/vorbis.c
+ libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
+ libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
+-libtremor_plugin_la_LIBADD = -lvorbisdec -logg
++libtremor_plugin_la_LIBADD = $(VORBIS_LIBS) $(OGG_LIBS)
+ EXTRA_LTLIBRARIES += libtremor_plugin.la
+ codec_LTLIBRARIES += $(LTLIBtremor)
+
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index c699024e2fbb..6eb7ccb078f8 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.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-video/vlc/vlc-9999.ebuild,v 1.193 2013/10/21 19:15:29 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.194 2013/10/24 23:34:33 tomwij Exp $
EAPI="5"
@@ -52,7 +52,7 @@ IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba
schroedinger sdl sdl-image sftp shout sid skins speex sse svg +swscale
taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau
- vlm vnc vorbis waveout vpx wma-fixed +X x264 +xcb xml xv zvbi"
+ vlm vnc vorbis vpx wma-fixed +X x264 +xcb xml xv zvbi"
RDEPEND="
dev-libs/libgpg-error:0
@@ -225,6 +225,9 @@ src_prepare() {
# We are not in a real git checkout due to the absence of a .git directory.
touch src/revision.txt || die
+ # Fix mistakes.
+ epatch "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch
+
# Patch up incompatibilities and reconfigure autotools.
epatch "${FILESDIR}"/${PN}-2.1.0-newer-rdp.patch
epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch
@@ -248,9 +251,14 @@ src_configure() {
--with-default-monospace-font-family=Monospace"
fi
+ local qt_flag=""
+ if use qt4 || use qt5 ; then
+ qt_flag="--enable-qt"
+ fi
+
econf \
${myconf} \
- --enable-vlc
+ --enable-vlc \
--docdir=/usr/share/doc/${PF} \
--disable-dependency-tracking \
--disable-optimizations \
@@ -284,7 +292,7 @@ src_configure() {
$(use_enable dxva2) \
$(use_enable egl) \
$(use_enable encode sout) \
- $(use_enable fdk fdkaac)
+ $(use_enable fdk fdkaac) \
$(use_enable flac) \
$(use_enable fluidsynth) \
$(use_enable fontconfig) \
@@ -328,14 +336,13 @@ src_configure() {
$(use_enable omxil) \
$(use_enable opencv) \
$(use_enable opengl glx) $(use_enable opengl glspectrum) \
- $(use_enable opus)
+ $(use_enable opus) \
$(use_enable optimisememory optimize-memory) \
$(use_enable png) \
$(use_enable postproc) \
$(use_enable projectm) \
$(use_enable pulseaudio pulse) \
- $(use_enable qt4 qt) \
- $(use_enable qt5 qt) \
+ ${qt_flag} \
$(use_enable rdp freerdp) \
$(use_enable rtsp realrtsp) \
$(use_enable run-as-root) \
@@ -366,7 +373,6 @@ src_configure() {
$(use_enable vnc) \
$(use_enable vorbis) \
$(use_enable vpx) \
- $(use_enable waveout) \
$(use_enable wma-fixed) \
$(use_with X x) \
$(use_enable x264) \