diff options
author | Yixun Lan <dlan@gentoo.org> | 2014-11-16 14:37:22 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2014-11-16 14:37:22 +0000 |
commit | eb83b7dd6c2ec65a48a1e488c2f3eefee32fc88d (patch) | |
tree | 18196daf560165087f9400a9bde6977dc48f4669 | |
parent | Fix HOMEPAGE. See bug #501500. (diff) | |
download | gentoo-2-eb83b7dd6c2ec65a48a1e488c2f3eefee32fc88d.tar.gz gentoo-2-eb83b7dd6c2ec65a48a1e488c2f3eefee32fc88d.tar.bz2 gentoo-2-eb83b7dd6c2ec65a48a1e488c2f3eefee32fc88d.zip |
proxy for maintainer, fix bug 525004, 506322, 489508, 499996
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
-rw-r--r-- | media-video/vlc/ChangeLog | 22 | ||||
-rw-r--r-- | media-video/vlc/metadata.xml | 3 | ||||
-rw-r--r-- | media-video/vlc/vlc-2.1.2.ebuild | 27 | ||||
-rw-r--r-- | media-video/vlc/vlc-2.1.4.ebuild | 27 | ||||
-rw-r--r-- | media-video/vlc/vlc-2.1.5.ebuild | 35 | ||||
-rw-r--r-- | media-video/vlc/vlc-2.1.9999.ebuild | 27 | ||||
-rw-r--r-- | media-video/vlc/vlc-2.2.9999.ebuild | 13 | ||||
-rw-r--r-- | media-video/vlc/vlc-9999.ebuild | 13 |
8 files changed, 75 insertions, 92 deletions
diff --git a/media-video/vlc/ChangeLog b/media-video/vlc/ChangeLog index 561bb608e128..c6e02d1bae20 100644 --- a/media-video/vlc/ChangeLog +++ b/media-video/vlc/ChangeLog @@ -1,6 +1,26 @@ # ChangeLog for media-video/vlc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.918 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.919 2014/11/16 14:37:22 dlan Exp $ + + 16 Nov 2014; Yixun Lan <dlan@gentoo.org> vlc-2.1.2.ebuild, vlc-2.1.4.ebuild, + vlc-2.1.5.ebuild, vlc-2.1.9999.ebuild, vlc-2.2.9999.ebuild, vlc-9999.ebuild, + metadata.xml: + proxy for maintainer, fix bug 525004, 506322, 489508, 499996 + 5) Add missing qtx11extras dependency for Qt5. + Fixes 525004 and unreported issue that VLC opens separate window for movie + when Qt5 X11 Extras are not found by configure script. + Although it is possible to use Qt5 with Wayland instead of X11, it is not + well supported by VLC, yet (WiP). Ebuild does not support wayland output, yet. + 4) Removed workaround for avcodec use flag disabled. + It is not needed anymore starting with version 2.2 + 3) Corrected bugfix for bug 506322 - ebuild for version 2.1.5 was improperly fixed. + 2) Drop support for Qt5 in VLC 2.1.x branch. + Fixes bug 489508. qt5 use flag was buggy, and this configuration was not very well + supported by upstream. Since Qt5 is still masked in portage tree, there is + a big chance that first VLC 2.2.x release will be before Qt5 is unmasked. + 1) Disable fstack-check on x86 (enabled on hardened configurations by default) + because of registers shortage. + Fixes bug 499996 reported by Bertrand Jacquin and patch submitted by Anthony Basile. 15 Nov 2014; Markos Chandras <hwoarang@gentoo.org> vlc-2.1.2.ebuild, vlc-2.1.4.ebuild, vlc-2.1.5.ebuild, vlc-2.1.9999.ebuild, vlc-2.2.9999.ebuild, diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml index 2ff1f511fc5f..9a1910bb9470 100644 --- a/media-video/vlc/metadata.xml +++ b/media-video/vlc/metadata.xml @@ -51,7 +51,8 @@ <flag name="opus">Support opus decoding via libopus.</flag> <flag name="postproc">Enables image post-processing via libpostproc (part of FFmpeg).</flag> <flag name="projectm">Enables the projectM visualization plugin.</flag> - <flag name="qt4" restrict=">=media-video/vlc-0.9">Builds a <pkg>x11-libs/qt</pkg> based frontend, a graphical interface.</flag> + <flag name="qt4" restrict=">=media-video/vlc-0.9">Builds a Qt4 based frontend, a graphical interface.</flag> + <flag name="qt5" restrict=">=media-video/vlc-2.2">Builds a Qt5 based frontend, a graphical interface.</flag> <flag name="rdp">Enables freerdp for RDP/Remote Desktop client support</flag> <flag name="rtsp">Enables real audio and RTSP modules.</flag> <flag name="run-as-root">Allows vlc to start for root. Don't enable this unless you have a very specific (e.g. embedded) need for it!</flag> diff --git a/media-video/vlc/vlc-2.1.2.ebuild b/media-video/vlc/vlc-2.1.2.ebuild index 031f80d2ebcd..72b0ce01b065 100644 --- a/media-video/vlc/vlc-2.1.2.ebuild +++ b/media-video/vlc/vlc-2.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.2.ebuild,v 1.15 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.2.ebuild,v 1.16 2014/11/16 14:37:22 dlan Exp $ EAPI="5" @@ -49,7 +49,7 @@ IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus - png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba + png +postproc projectm pulseaudio +qt4 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 vorbis wma-fixed +X x264 +xcb xml xv zvbi" @@ -119,7 +119,6 @@ RDEPEND=" projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 ) - qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 ) rdp? ( net-misc/freerdp:0= ) samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) @@ -174,10 +173,9 @@ REQUIRED_USE=" libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) - qt4? ( X !qt5 ) - qt5? ( X !qt4 ) + qt4? ( X ) sdl? ( X ) - skins? ( truetype X ^^ ( qt4 qt5 ) ) + skins? ( truetype X qt4 ) vaapi? ( avcodec X ) vlm? ( encode ) xv? ( xcb ) @@ -202,12 +200,6 @@ src_unpack() { } src_prepare() { - # Support for Qt5. - if use qt5 ; then - export UIC="/usr/lib64/qt5/bin/uic" - export MOC="/usr/lib64/qt5/bin/moc" - fi - # Remove unnecessary warnings about unimplemented pragmas on gcc for now. # Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. # @@ -260,6 +252,10 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + # Needs libresid-builder from libsidplay:2 which is in another directory... # FIXME! append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" @@ -272,11 +268,6 @@ 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 \ @@ -363,7 +354,7 @@ src_configure() { $(use_enable postproc) \ $(use_enable projectm) \ $(use_enable pulseaudio pulse) \ - ${qt_flag} \ + $(use_enable qt4 qt) \ $(use_enable rdp libfreerdp) \ $(use_enable rtsp realrtsp) \ $(use_enable run-as-root) \ diff --git a/media-video/vlc/vlc-2.1.4.ebuild b/media-video/vlc/vlc-2.1.4.ebuild index 026ead1329f2..e02768936624 100644 --- a/media-video/vlc/vlc-2.1.4.ebuild +++ b/media-video/vlc/vlc-2.1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.4.ebuild,v 1.10 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.4.ebuild,v 1.11 2014/11/16 14:37:22 dlan Exp $ EAPI="5" @@ -49,7 +49,7 @@ IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus - png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba + png +postproc projectm pulseaudio +qt4 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 wma-fixed +X x264 +xcb xml xv zvbi" @@ -119,7 +119,6 @@ RDEPEND=" projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 ) - qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 ) rdp? ( net-misc/freerdp:0= ) samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) @@ -175,10 +174,9 @@ REQUIRED_USE=" libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) - qt4? ( X !qt5 ) - qt5? ( X !qt4 ) + qt4? ( X ) sdl? ( X ) - skins? ( truetype X ^^ ( qt4 qt5 ) ) + skins? ( truetype X qt4 ) vaapi? ( avcodec X ) vlm? ( encode ) xv? ( xcb ) @@ -203,12 +201,6 @@ src_unpack() { } src_prepare() { - # Support for Qt5. - if use qt5 ; then - export UIC="/usr/lib64/qt5/bin/uic" - export MOC="/usr/lib64/qt5/bin/moc" - fi - # Remove unnecessary warnings about unimplemented pragmas on gcc for now. # Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. # @@ -261,6 +253,10 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + # Needs libresid-builder from libsidplay:2 which is in another directory... # FIXME! append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" @@ -273,11 +269,6 @@ 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 \ @@ -366,7 +357,7 @@ src_configure() { $(use_enable postproc) \ $(use_enable projectm) \ $(use_enable pulseaudio pulse) \ - ${qt_flag} \ + $(use_enable qt4 qt) \ $(use_enable rdp libfreerdp) \ $(use_enable rtsp realrtsp) \ $(use_enable run-as-root) \ diff --git a/media-video/vlc/vlc-2.1.5.ebuild b/media-video/vlc/vlc-2.1.5.ebuild index 694a3d421f01..ca01766d74c4 100644 --- a/media-video/vlc/vlc-2.1.5.ebuild +++ b/media-video/vlc/vlc-2.1.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.5.ebuild,v 1.3 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.5.ebuild,v 1.4 2014/11/16 14:37:22 dlan Exp $ EAPI="5" @@ -49,7 +49,7 @@ IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus - png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba + png +postproc projectm pulseaudio +qt4 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 wma-fixed +X x264 +xcb xml xv zvbi" @@ -119,7 +119,6 @@ RDEPEND=" projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 ) - qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 ) rdp? ( net-misc/freerdp:0= ) samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) @@ -175,10 +174,9 @@ REQUIRED_USE=" libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) - qt4? ( X !qt5 ) - qt5? ( X !qt4 ) + qt4? ( X ) sdl? ( X ) - skins? ( truetype X ^^ ( qt4 qt5 ) ) + skins? ( truetype X qt4 ) vaapi? ( avcodec X ) vlm? ( encode ) xv? ( xcb ) @@ -203,12 +201,6 @@ src_unpack() { } src_prepare() { - # Support for Qt5. - if use qt5 ; then - export UIC="/usr/lib64/qt5/bin/uic" - export MOC="/usr/lib64/qt5/bin/moc" - fi - # Remove unnecessary warnings about unimplemented pragmas on gcc for now. # Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. # @@ -242,7 +234,9 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch # Disable avcodec checks when avcodec is not used. - sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die + if ! use avcodec; then + sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die + fi # Don't use --started-from-file when not using dbus. if ! use dbus ; then @@ -250,9 +244,7 @@ src_prepare() { fi # Disable a bogus check - if ! use avcodec; then - sed -i "s:libavcodec < 56:libavcodec < 57:g" configure.ac || die - fi + sed -i "s:libavcodec < 56:libavcodec < 57:g" configure.ac || die eautoreconf @@ -264,6 +256,10 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + # Needs libresid-builder from libsidplay:2 which is in another directory... # FIXME! append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" @@ -276,11 +272,6 @@ 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 \ @@ -369,7 +360,7 @@ src_configure() { $(use_enable postproc) \ $(use_enable projectm) \ $(use_enable pulseaudio pulse) \ - ${qt_flag} \ + $(use_enable qt4 qt) \ $(use_enable rdp libfreerdp) \ $(use_enable rtsp realrtsp) \ $(use_enable run-as-root) \ diff --git a/media-video/vlc/vlc-2.1.9999.ebuild b/media-video/vlc/vlc-2.1.9999.ebuild index 8b36a4d69f84..4b520921dfed 100644 --- a/media-video/vlc/vlc-2.1.9999.ebuild +++ b/media-video/vlc/vlc-2.1.9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild,v 1.25 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild,v 1.26 2014/11/16 14:37:22 dlan Exp $ EAPI="5" @@ -49,7 +49,7 @@ IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus - png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba + png +postproc projectm pulseaudio +qt4 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 wma-fixed +X x264 +xcb xml xv zvbi" @@ -119,7 +119,6 @@ RDEPEND=" projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 ) - qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 ) rdp? ( net-misc/freerdp:0= ) samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) @@ -175,10 +174,9 @@ REQUIRED_USE=" libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) - qt4? ( X !qt5 ) - qt5? ( X !qt4 ) + qt4? ( X ) sdl? ( X ) - skins? ( truetype X ^^ ( qt4 qt5 ) ) + skins? ( truetype X qt4 ) vaapi? ( avcodec X ) vlm? ( encode ) xv? ( xcb ) @@ -203,12 +201,6 @@ src_unpack() { } src_prepare() { - # Support for Qt5. - if use qt5 ; then - export UIC="/usr/lib64/qt5/bin/uic" - export MOC="/usr/lib64/qt5/bin/moc" - fi - # Remove unnecessary warnings about unimplemented pragmas on gcc for now. # Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. # @@ -261,6 +253,10 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + # Needs libresid-builder from libsidplay:2 which is in another directory... # FIXME! append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" @@ -273,11 +269,6 @@ 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 \ @@ -366,7 +357,7 @@ src_configure() { $(use_enable postproc) \ $(use_enable projectm) \ $(use_enable pulseaudio pulse) \ - ${qt_flag} \ + $(use_enable qt4 qt) \ $(use_enable rdp libfreerdp) \ $(use_enable rtsp realrtsp) \ $(use_enable run-as-root) \ diff --git a/media-video/vlc/vlc-2.2.9999.ebuild b/media-video/vlc/vlc-2.2.9999.ebuild index 30a3d98a1431..af39d843b6a0 100644 --- a/media-video/vlc/vlc-2.2.9999.ebuild +++ b/media-video/vlc/vlc-2.2.9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.2.9999.ebuild,v 1.3 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.2.9999.ebuild,v 1.4 2014/11/16 14:37:22 dlan Exp $ EAPI="5" @@ -116,7 +116,7 @@ RDEPEND=" projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) pulseaudio? ( >=media-sound/pulseaudio-1:0 ) qt4? ( >=dev-qt/qtgui-4.6:4 >=dev-qt/qtcore-4.6:4 ) - qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 dev-qt/qtwidgets:5 ) + qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 >=dev-qt/qtwidgets-5.1:5 >=dev-qt/qtx11extras-5.1:5 ) rdp? ( >=net-misc/freerdp-1.0.1:0= ) samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) @@ -246,11 +246,6 @@ src_prepare() { # Fix up broken audio when skipping using a fixed reversed bisected commit. epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch - # Disable avcodec checks when avcodec is not used. - if ! use avcodec; then - sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die - fi - # Don't use --started-from-file when not using dbus. if ! use dbus ; then sed -i 's/ --started-from-file//' share/vlc.desktop.in || die @@ -266,6 +261,10 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + # Needs libresid-builder from libsidplay:2 which is in another directory... # FIXME! append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index e528307b941a..273c8bfc5cc7 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 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.226 2014/11/15 11:56:20 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.227 2014/11/16 14:37:22 dlan Exp $ EAPI="5" @@ -116,7 +116,7 @@ RDEPEND=" projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) pulseaudio? ( >=media-sound/pulseaudio-1:0 ) qt4? ( >=dev-qt/qtgui-4.6:4 >=dev-qt/qtcore-4.6:4 ) - qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 dev-qt/qtwidgets:5 ) + qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 >=dev-qt/qtwidgets-5.1:5 >=dev-qt/qtx11extras-5.1:5 ) rdp? ( >=net-misc/freerdp-1.0.1:0= ) samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) ) schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) @@ -246,11 +246,6 @@ src_prepare() { # Fix up broken audio when skipping using a fixed reversed bisected commit. epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch - # Disable avcodec checks when avcodec is not used. - if ! use avcodec; then - sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die - fi - # Don't use --started-from-file when not using dbus. if ! use dbus ; then sed -i 's/ --started-from-file//' share/vlc.desktop.in || die @@ -266,6 +261,10 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + # Needs libresid-builder from libsidplay:2 which is in another directory... # FIXME! append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |