diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-07-08 23:42:32 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-07-08 23:42:32 +0000 |
commit | aa047c74dc947d75a4d9d3d4c52eeeae0a8f7de3 (patch) | |
tree | 8cc20997e7f0cd9d79b1a1d99d02e2a09df470a1 /media-video | |
parent | previous commits broke visibility rules (and likely build as well) so version... (diff) | |
download | historical-aa047c74dc947d75a4d9d3d4c52eeeae0a8f7de3.tar.gz historical-aa047c74dc947d75a4d9d3d4c52eeeae0a8f7de3.tar.bz2 historical-aa047c74dc947d75a4d9d3d4c52eeeae0a8f7de3.zip |
Proxy commit by Nikoli: Explicitly depend on libav-9 and ffmpeg-1.2 instead of virtual/ffmpeg-9, fixes bug #476222. Respect CFLAGS and LDFLAGS. Removed some configure options which upstream no longer provides, some USE flag behavior was changed as a result. USE=radio now has correct dependencies.
Package-Manager: portage-2.1.12.12/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/mpv/Manifest | 24 | ||||
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 105 |
3 files changed, 54 insertions, 83 deletions
diff --git a/media-video/mpv/ChangeLog b/media-video/mpv/ChangeLog index 74865ffd0cbb..ad2e0bcd6105 100644 --- a/media-video/mpv/ChangeLog +++ b/media-video/mpv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/mpv # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.10 2013/07/08 06:05:51 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.11 2013/07/08 23:42:27 tomwij Exp $ + + 08 Jul 2013; Tom Wijsman <TomWij@gentoo.org> mpv-9999.ebuild: + Proxy commit by Nikoli: Explicitly depend on libav-9 and ffmpeg-1.2 instead of + virtual/ffmpeg-9, fixes bug #476222. Respect CFLAGS and LDFLAGS. Removed some + configure options which upstream no longer provides, some USE flag behavior + was changed as a result. USE=radio now has correct dependencies. 08 Jul 2013; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml: Fix repoman warning. diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest index 60332eb94e79..adb675e9ffd3 100644 --- a/media-video/mpv/Manifest +++ b/media-video/mpv/Manifest @@ -1,23 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -EBUILD mpv-9999.ebuild 7878 SHA256 45914b8443d34e995901cb53519e74612c58d4bd1f0ddf03e5c32c312933ee74 SHA512 9c56fe9de22cff59918ab3ca25f4f2b286d6de6a20e374ed2e26505c2c7db195b088e21f1f0b55717a2b53259c4a91aff73f007c727b406db8f3a4f5847bacc6 WHIRLPOOL bb8238e70f774d014eddc00f985c95020e2e1fd1a34ff67fde4e6ddc6e8ca61b2b76f146dd2a3642c39a28b46f2580624570dfcfc27e424a4966da8d8a208020 -MISC ChangeLog 1593 SHA256 8242605c3340c2e44a53e235bcde3ad42cbfc15c742c74858ed63e90c3dd51e0 SHA512 b2e779abe92f02091d08de933fe9ba451b353fb2793392a7a42262c15a4e7e95ff20788cac5eaea65d7e1a3e9178133b05d2dd7b37423553e83d3b9c56aebca5 WHIRLPOOL 85d7012185cb320b329ccdf326d8d4108724e574721754f68afaa06052d3b61f8508337bb0d7c4b64b4ad952f1d1b386c624b0ba7ed955b89f65ac23815918b2 +EBUILD mpv-9999.ebuild 7542 SHA256 89f0a79d430228892226077b0228f353807b6010efeb4ae59ceecc017f8d2996 SHA512 b545a41597dca0029dd56762e811c0000761c9d7c0b8c30745525f9b32b3dad489625dc6f4607bb2069147acf09b9020556d73bc180a9f80ef7eaa9c3923ea06 WHIRLPOOL 516e992b6a433ceaf53f13551b9abec981e943815982ad6b0fc076b0d19d51e7d64da614c17dda5d5f001b651c07eb7a93915602370165226baea6f467346fb0 +MISC ChangeLog 1961 SHA256 4eb076050309a42642d21d49f3a5c3c59c5c81f7b096557885b534ad86af36c4 SHA512 95021949c453301651d908931e7223fb8ac006ed4e2413bd3f42ec6363da1d4ea4c4ee9d29cf95b560c8d711d9a89adb03e65d543b80153e57e46f61fc17cd20 WHIRLPOOL d46d635d07a6a5e8ca76a582ac3ca425d10461204c9b77f56a20ed8299c334a191f6d11a88b9ada39da0872d0683c0b23fe60dc229c368c9ac0a7eafe5be2159 MISC metadata.xml 1446 SHA256 22b32d5c86ce09604f020f15829f1c893a00aee53be5c708287537cad04dfbe9 SHA512 6f0abee3fcf19cb4d12aa96eded06fbe87a5c3367be8695fb33305e1d5e8da80d912e55f15236f82f44459a80c8e68ceef04e15d01f8d68ed36be23d02b993d5 WHIRLPOOL efa5d3d7d199a8462f01395e640422c3defeff1672e79065685f85dc3d2678de8f69c55d7ea01ecd78719c39aa0aff13d86bffba79dc5e87c6608a0a451e3c7e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCAAGBQJR2lbcAAoJEOSiRoyO7jvoNXQP/0YALOBZUTVuhh2nfuOfuGKQ -ZVLmN+tKCGhW75ChK6dmIUyOuws3P03zGbSZwAFbpDK95k/o4pF2BPOFKSWYY2hH -etxMx9Zkjkk34eQb4BZtjgpBSbm5yTl8Re9Pbj+HTYBxCDM8gAr2AVsSLu/Wi/jL -She3McZVAd0zS+OIIrS4Qn2AlQ3wLy4ouBje8jYamObMxYOvOwQ1cfuYhkv93jic -R2NTfS6DAeHKso/JvUSq1iPQdyjgeZbvpNh1munUuEEecQt4+3eNQJVpBrxvpVtg -iauIogC9CKxQA6Dcd1sWru+frKzRhEwRShDE7Gvv7LYxQENrNlt9q+dli5H5TFQy -/efrR0Hce6voKUiN8fBVnSSP08tB0L0c6gCNjHF0uYQiaLQRK/T8Plma6YFAelgQ -1b13mVHD0GV2ve8ZFhjqBJ5VmkqKn4yZ/MCt+xhAAOgkSPE2c96TfwYhOrpzmVfc -T8oOx4gyI69Dw0pmXjjVVnk8NXAkBpuxFNQGy28Dh3P78fFB8yMfkSNz9hX5rYYQ -zipPCw4MVUPno8zrEkv6CwXwP/jafo+ht76HgHizMnEqnbdCHAFEDTreujIMUpFX -EZAKdsgyVi7vvYhJKIu6DjeBQ3qEkQCdLrAX+2Vc4F2KE0GS3HMFgw7TcJvoXhYR -F0WWIm9fwE5Ahs6BKrPX -=kUQp +iQEcBAEBCAAGBQJR202pAAoJEJWyH81tNOV9ld0H/2XtOLCwpjymIeB2hMpBmssk +/gSOupmYlI0wwmgcwGrZKkXSmKM4bE+TIkX5MS383qV7BkNxYQf8S65kc7dTapXO +9oNF26AyIe6mOlG+jbz8wZFsq0gngBlLDdNqLA2GJC9dLoVTrookRO+XClTtoG5o +7RDhLchIKTUEwkatnkvK3zm0QSzyEyGameqwc4dr55wO/rL6HLN9k+XzeYQwk+L2 +jYr6jwkLxu/1T/Td1735HvRCRCTaUzdAuG5/X4Z5fnyoPf0emZVM83RHav3r0ZiU +hlq2Dz2VU3P2GV/oECnjbV0soRAiFwqXruXWNwyKvbFurgbl4PZ8YjKl7qdkP+M= +=6H16 -----END PGP SIGNATURE----- diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 9b12b0805e66..8dd2dd745f8f 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-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/mpv/mpv-9999.ebuild,v 1.9 2013/07/08 06:03:47 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v 1.10 2013/07/08 23:42:27 tomwij Exp $ EAPI=5 @@ -18,17 +18,18 @@ LICENSE="GPL-3" SLOT="0" [[ ${PV} == *9999* ]] || \ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" -IUSE="+alsa aqua bluray bs2b +cdio debug +dts dvb +dvd +enca encode fbcon -+iconv ipv6 jack joystick jpeg kernel_linux ladspa lcms +libass libcaca -libguess lirc mng +mp3 -openal +opengl oss portaudio +postproc pulseaudio pvr -+quvi radio samba +shm v4l vcd vdpau vf-dlopen wayland +X xinerama -+xscreensaver +xv" +IUSE="+alsa aqua bluray bs2b +cdio dvb +dvd +enca encode fbcon +iconv jack +joystick jpeg ladspa lcms +libass libcaca libguess lirc mng +mp3 -openal +opengl +oss portaudio +postproc pulseaudio pvr +quvi radio samba +shm +threads v4l vcd +vdpau vf-dlopen wayland +X xinerama +xscreensaver +xv" REQUIRED_USE=" + enca? ( iconv ) lcms? ( opengl ) - libass? ( iconv ) + libguess? ( iconv ) opengl? ( || ( aqua wayland X ) ) - radio? ( || ( dvb v4l ) ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) vdpau? ( X ) wayland? ( opengl ) xinerama? ( X ) @@ -90,7 +91,7 @@ RDEPEND+=" media-libs/mesa[egl,wayland] >=x11-libs/libxkbcommon-0.3.0 ) - >=virtual/ffmpeg-9[encode?] + || ( >=media-video/libav-9[encode?,threads?,vdpau?] >=media-video/ffmpeg-1.2[encode?,threads?,vdpau?] ) " ASM_DEP="dev-lang/yasm" DEPEND="${RDEPEND} @@ -136,9 +137,8 @@ pkg_setup() { src_prepare() { # fix path to bash executable in configure scripts - local bash_scripts="configure version.sh" sed -i -e "1c\#!${EPREFIX}/bin/bash" \ - ${bash_scripts} || die + configure version.sh || die base_src_prepare } @@ -152,82 +152,55 @@ src_configure() { # because if --enable is used, it will force the build of that option, # regardless of whether the dependency is available or not. - ################### - #Optional features# - ################### + ##################### + # Optional features # + ##################### # SDL output is fallback for platforms where nothing better is available myconf+=" --disable-sdl --disable-sdl2" - use wayland || myconf+=" --disable-wayland" use encode || myconf+=" --disable-encoding" myconf+=" $(use_enable joystick)" - uses="bluray enca libass libguess vcd" + uses="bluray vcd" for i in ${uses}; do use ${i} || myconf+=" --disable-${i}" done - use ipv6 || myconf+=" --disable-inet6" use quvi || myconf+=" --disable-libquvi4 --disable-libquvi9" use samba || myconf+=" --disable-smb" - if ! use lirc; then - myconf+=" - --disable-lirc - --disable-lircc - " - fi + use lirc || myconf+=" --disable-lirc --disable-lircc" ######## # CDDA # ######## use cdio || myconf+=" --disable-libcdio" - ################################ - # DVD read # - ################################ - # - # dvdread - accessing a DVD - # + ############ + # DVD read # + ############ use dvd || myconf+=" --disable-dvdread" ############# # Subtitles # ############# - # - use iconv || myconf+=" --disable-iconv" + uses="enca iconv libass libguess" + for i in ${uses}; do + use ${i} || myconf+=" --disable-${i}" + done ##################################### # DVB / Video4Linux / Radio support # ##################################### - if { use dvb || use v4l || use pvr || use radio; }; then - use dvb || myconf+=" --disable-dvb" - use pvr || myconf+=" --disable-pvr" - use v4l || myconf+=" --disable-tv-v4l2" - if use radio && { use dvb || use v4l; }; then - myconf+=" - --enable-radio - --disable-radio-capture - " - else - myconf+=" - --disable-radio-v4l2 - " - fi + use dvb || myconf+=" --disable-dvb" + use pvr || myconf+=" --disable-pvr" + use v4l || myconf+=" --disable-tv --disable-tv-v4l2" + if use radio; then + myconf+=" --enable-radio --enable-radio-capture" else - myconf+=" - --disable-tv - --disable-tv-v4l2 - --disable-radio - --disable-radio-v4l2 - --disable-dvb - --disable-pvr" + myconf+=" --disable-radio-v4l2" fi ########## # Codecs # ########## use mp3 || myconf+=" --disable-mpg123" - uses="bs2b" - for i in ${uses}; do - use ${i} || myconf+=" --disable-lib${i}" - done uses="jpeg mng" for i in ${uses}; do use ${i} || myconf+=" --disable-${i}" @@ -247,18 +220,18 @@ src_configure() { for i in ${uses}; do use ${i} || myconf+=" --disable-${i}" done + use bs2b || myconf+=" --disable-libbs2b" use openal && myconf+=" --enable-openal" + use oss || myconf+=" --disable-ossaudio" use pulseaudio || myconf+=" --disable-pulse" - if ! use radio; then - use oss || myconf+=" --disable-ossaudio" - fi #################### # Advanced Options # #################### + use threads || myconf+=" --disable-pthreads" + # Platform specific flags, hardcoded on amd64 (see below) use shm || myconf+=" --disable-shm" - use debug && myconf+=" --enable-debug=3" if use x86 && gcc-specs-pie; then filter-flags -fPIC -fPIE @@ -269,7 +242,7 @@ src_configure() { # X enabled configuration # ########################### use X || myconf+=" --disable-x11" - uses="vdpau xinerama xv" + uses="vdpau wayland xinerama xv" for i in ${uses}; do use ${i} || myconf+=" --disable-${i}" done @@ -280,14 +253,12 @@ src_configure() { ############################ # OSX (aqua) configuration # ############################ - if use aqua; then - myconf+=" - --enable-macosx-bundle - " - fi + use aqua && myconf+=" --enable-macosx-bundle" - ./configure \ + CFLAGS= LDFLAGS= ./configure \ --cc="$(tc-getCC)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ --pkg-config="$(tc-getPKG_CONFIG)" \ --prefix="${EPREFIX}"/usr \ --bindir="${EPREFIX}"/usr/bin \ |