From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AE57139087 for ; Mon, 19 Dec 2016 13:38:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 564E621C082; Mon, 19 Dec 2016 13:38:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F9F121C082 for ; Mon, 19 Dec 2016 13:38:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E32D134108B for ; Mon, 19 Dec 2016 13:38:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59FA424F1 for ; Mon, 19 Dec 2016 13:38:37 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1482154680.5b56b99eeb7c29df23e317f9f3627ac7aa2eeb18.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/vlc/files/, media-video/vlc/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/vlc/files/vlc-2.2.4-libav-11.7.patch media-video/vlc/vlc-2.2.9999.ebuild media-video/vlc/vlc-9999.ebuild X-VCS-Directories: media-video/vlc/files/ media-video/vlc/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5b56b99eeb7c29df23e317f9f3627ac7aa2eeb18 X-VCS-Branch: master Date: Mon, 19 Dec 2016 13:38:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f5943624-e7f2-48dd-b209-4351d1de3174 X-Archives-Hash: 858a738479dc861e24b0357e96bc1e16 commit: 5b56b99eeb7c29df23e317f9f3627ac7aa2eeb18 Author: Andreas Sturmlechner gmail com> AuthorDate: Wed Dec 14 23:50:39 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Dec 19 13:38:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b56b99e media-video/vlc: Fix build with libav-11.7 Gentoo-bug: 593460 Sync more changes from release -> live ebuilds Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/3122 media-video/vlc/files/vlc-2.2.4-libav-11.7.patch | 10 +++++++++ media-video/vlc/vlc-2.2.9999.ebuild | 28 ++++++++++++++---------- media-video/vlc/vlc-9999.ebuild | 28 ++++++++++++++---------- 3 files changed, 44 insertions(+), 22 deletions(-) diff --git a/media-video/vlc/files/vlc-2.2.4-libav-11.7.patch b/media-video/vlc/files/vlc-2.2.4-libav-11.7.patch new file mode 100644 index 00000000..9322236 --- /dev/null +++ b/media-video/vlc/files/vlc-2.2.4-libav-11.7.patch @@ -0,0 +1,10 @@ +--- 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 + #include ++#include + + #include "avcodec.h" + diff --git a/media-video/vlc/vlc-2.2.9999.ebuild b/media-video/vlc/vlc-2.2.9999.ebuild index 8c5988f..fec5c52 100644 --- a/media-video/vlc/vlc-2.2.9999.ebuild +++ b/media-video/vlc/vlc-2.2.9999.ebuild @@ -5,7 +5,7 @@ EAPI=6 SCM="" -if [ "${PV%9999}" != "${PV}" ] ; then +if [[ ${PV} = *9999 ]] ; then SCM="git-r3" if [ "${PV%.9999}" != "${PV}" ] ; then @@ -23,7 +23,7 @@ MY_P="${PN}-${MY_PV}" 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" @@ -47,10 +47,10 @@ IUSE="a52 aalib alsa altivec atmo +audioqueue +avcodec 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 @@ -123,8 +123,9 @@ RDEPEND=" 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[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 ) ) @@ -177,9 +178,10 @@ RDEPEND="${RDEPEND} 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:* " @@ -190,7 +192,7 @@ REQUIRED_USE=" cddb? ( cdda ) dvb? ( dvbpsi ) dxva2? ( avcodec ) - ffmpeg? ( avcodec avformat swscale postproc ) + ffmpeg? ( avcodec avformat swscale ) fontconfig? ( truetype ) gnutls? ( gcrypt ) httpd? ( lua ) @@ -200,8 +202,9 @@ REQUIRED_USE=" 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 ) " @@ -228,6 +231,9 @@ PATCHES=( # 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 ) @@ -243,7 +249,7 @@ pkg_setup() { } src_unpack() { - if [ "${PV%9999}" != "${PV}" ] ; then + if [[ ${PV} = *9999 ]] ; then git-r3_src_unpack else unpack ${A} @@ -263,7 +269,7 @@ src_prepare() { fi # Bootstrap when we are on a git checkout. - if [[ "${PV%9999}" != "${PV}" ]] ; then + if [[ ${PV} = *9999 ]] ; then ./bootstrap fi diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index 7b61071..0836e19 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -5,7 +5,7 @@ EAPI=6 SCM="" -if [ "${PV%9999}" != "${PV}" ] ; then +if [[ ${PV} = *9999 ]] ; then SCM="git-r3" if [ "${PV%.9999}" != "${PV}" ] ; then @@ -23,7 +23,7 @@ MY_P="${PN}-${MY_PV}" 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" @@ -47,10 +47,10 @@ IUSE="a52 aalib alsa altivec +audioqueue +avcodec 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 @@ -123,8 +123,9 @@ RDEPEND=" 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[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 ) ) @@ -177,9 +178,10 @@ RDEPEND="${RDEPEND} 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:* " @@ -189,7 +191,7 @@ REQUIRED_USE=" bidi? ( truetype ) dvb? ( dvbpsi ) dxva2? ( avcodec ) - ffmpeg? ( avcodec avformat swscale postproc ) + ffmpeg? ( avcodec avformat swscale ) fontconfig? ( truetype ) gnutls? ( gcrypt ) httpd? ( lua ) @@ -199,8 +201,9 @@ REQUIRED_USE=" 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 ) " @@ -214,6 +217,9 @@ PATCHES=( # 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 ) @@ -229,7 +235,7 @@ pkg_setup() { } src_unpack() { - if [ "${PV%9999}" != "${PV}" ] ; then + if [[ ${PV} = *9999 ]] ; then git-r3_src_unpack else unpack ${A} @@ -249,7 +255,7 @@ src_prepare() { fi # Bootstrap when we are on a git checkout. - if [[ "${PV%9999}" != "${PV}" ]] ; then + if [[ ${PV} = *9999 ]] ; then ./bootstrap fi