--- /dev/null
+--- a/modules/codec/avcodec/audio.c 2016-09-10 13:46:51.066453337 -0700
++++ a/modules/codec/avcodec/audio.c 2016-09-10 13:42:26.061451090 -0700
+@@ -38,6 +38,7 @@
+
+ #include <libavcodec/avcodec.h>
+ #include <libavutil/mem.h>
++#include <libavutil/channel_layout.h>
+
+ #include "avcodec.h"
+
EAPI=6
SCM=""
-if [ "${PV%9999}" != "${PV}" ] ; then
+if [[ ${PV} = *9999 ]] ; then
SCM="git-r3"
if [ "${PV%.9999}" != "${PV}" ] ; then
DESCRIPTION="VLC media player - Video player and streamer"
HOMEPAGE="http://www.videolan.org/vlc/"
-if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
+if [[ ${PV} = *9999 ]] ; then # Live ebuild
SRC_URI=""
elif [[ "${MY_P}" == "${P}" ]]; then
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
macosx-dialog-provider macosx-eyetv macosx-quartztext macosx-qtkit
matroska cpu_flags_x86_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 qt5 rdp rtsp run-as-root samba
schroedinger sdl sdl-image sftp shout sid skins speex cpu_flags_x86_sse svg +swscale
taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau
- vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zvbi zeroconf"
+ vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zeroconf zvbi"
RDEPEND="
dev-libs/libgpg-error:0
pulseaudio? ( >=media-sound/pulseaudio-1:0 )
!qt5? ( qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) )
qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 )
- rdp? ( >=net-misc/freerdp-1.0.1:0= )
- samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) )
+ rdp? ( =net-misc/freerdp-1*:0=[client] )
+ samba? ( || ( ( >=net-fs/samba-3.4.6:0[smbclient] <net-fs/samba-4.0.0_alpha1:0[smbclient] )
+ >=net-fs/samba-4.0.0_alpha1:0[client] ) )
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 )
sdl? ( >=media-libs/libsdl-1.2.10:0
sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) )
DEPEND="${RDEPEND}
!qt5? ( kde? ( kde-base/kdelibs:4 ) )
+ amd64? ( dev-lang/yasm:* )
+ x86? ( dev-lang/yasm:* )
xcb? ( x11-proto/xproto:0 )
app-arch/xz-utils:0
- dev-lang/yasm:*
>=sys-devel/gettext-0.18.3:*
virtual/pkgconfig:*
"
cddb? ( cdda )
dvb? ( dvbpsi )
dxva2? ( avcodec )
- ffmpeg? ( avcodec avformat swscale postproc )
+ ffmpeg? ( avcodec avformat swscale )
fontconfig? ( truetype )
gnutls? ( gcrypt )
httpd? ( lua )
qt4? ( X )
qt5? ( X )
sdl? ( X )
- skins? ( truetype X || ( qt4 qt5 ) )
+ skins? ( truetype X xml || ( qt4 qt5 ) )
vaapi? ( avcodec X )
+ vdpau? ( xcb )
vlm? ( encode )
xv? ( xcb )
"
# Bug #594126
"${FILESDIR}"/${PN}-2.2.4-decoder-lock-scope.patch
"${FILESDIR}"/${PN}-2.2.4-alsa-large-buffers.patch
+
+ # Bug #593460
+ "${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt )
}
src_unpack() {
- if [ "${PV%9999}" != "${PV}" ] ; then
+ if [[ ${PV} = *9999 ]] ; then
git-r3_src_unpack
else
unpack ${A}
fi
# Bootstrap when we are on a git checkout.
- if [[ "${PV%9999}" != "${PV}" ]] ; then
+ if [[ ${PV} = *9999 ]] ; then
./bootstrap
fi
EAPI=6
SCM=""
-if [ "${PV%9999}" != "${PV}" ] ; then
+if [[ ${PV} = *9999 ]] ; then
SCM="git-r3"
if [ "${PV%.9999}" != "${PV}" ] ; then
DESCRIPTION="VLC media player - Video player and streamer"
HOMEPAGE="http://www.videolan.org/vlc/"
-if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
+if [[ ${PV} = *9999 ]] ; then # Live ebuild
SRC_URI=""
elif [[ "${MY_P}" == "${P}" ]]; then
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
macosx-eyetv macosx-notifications macosx-qtkit
matroska cpu_flags_x86_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 qt5 rdp rtsp run-as-root samba
schroedinger sdl sdl-image sftp shout sid skins speex cpu_flags_x86_sse svg +swscale
taglib theora tremor truetype twolame udev upnp vaapi v4l vcd vdpau
- vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zvbi zeroconf"
+ vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zeroconf zvbi"
RDEPEND="
dev-libs/libgpg-error:0
pulseaudio? ( >=media-sound/pulseaudio-1:0 )
!qt5? ( qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) )
qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 )
- rdp? ( >=net-misc/freerdp-1.0.1:0= )
- samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) )
+ rdp? ( =net-misc/freerdp-1*:0=[client] )
+ samba? ( || ( ( >=net-fs/samba-3.4.6:0[smbclient] <net-fs/samba-4.0.0_alpha1:0[smbclient] )
+ >=net-fs/samba-4.0.0_alpha1:0[client] ) )
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 )
sdl? ( >=media-libs/libsdl-1.2.10:0
sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) )
DEPEND="${RDEPEND}
!qt5? ( kde? ( kde-base/kdelibs:4 ) )
+ amd64? ( dev-lang/yasm:* )
+ x86? ( dev-lang/yasm:* )
xcb? ( x11-proto/xproto:0 )
app-arch/xz-utils:0
- dev-lang/yasm:*
>=sys-devel/gettext-0.19.6:*
virtual/pkgconfig:*
"
bidi? ( truetype )
dvb? ( dvbpsi )
dxva2? ( avcodec )
- ffmpeg? ( avcodec avformat swscale postproc )
+ ffmpeg? ( avcodec avformat swscale )
fontconfig? ( truetype )
gnutls? ( gcrypt )
httpd? ( lua )
qt4? ( X )
qt5? ( X )
sdl? ( X )
- skins? ( truetype X || ( qt4 qt5 ) )
+ skins? ( truetype X xml || ( qt4 qt5 ) )
vaapi? ( avcodec X )
+ vdpau? ( xcb )
vlm? ( encode )
xv? ( xcb )
"
# Fix up broken audio when skipping using a fixed reversed bisected commit.
"${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch
+
+ # Bug #593460
+ "${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
}
src_unpack() {
- if [ "${PV%9999}" != "${PV}" ] ; then
+ if [[ ${PV} = *9999 ]] ; then
git-r3_src_unpack
else
unpack ${A}
fi
# Bootstrap when we are on a git checkout.
- if [[ "${PV%9999}" != "${PV}" ]] ; then
+ if [[ ${PV} = *9999 ]] ; then
./bootstrap
fi