diff options
author | Ben de Groot <yngwin@gentoo.org> | 2015-03-05 14:23:53 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2015-03-05 14:23:53 +0000 |
commit | 89816c569a356a7e8481c7d35db28a39fc65cdab (patch) | |
tree | 7a52e471b9e4426e7361abb9a2e5af9abff5cdf2 /media-video | |
parent | force libcdio update to shutup repoman warning (diff) | |
download | historical-89816c569a356a7e8481c7d35db28a39fc65cdab.tar.gz historical-89816c569a356a7e8481c7d35db28a39fc65cdab.tar.bz2 historical-89816c569a356a7e8481c7d35db28a39fc65cdab.zip |
version bump
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Manifest-Sign-Key: 0x4FDF9CFD2FAC514E!
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mpv/Manifest | 36 | ||||
-rw-r--r-- | media-video/mpv/metadata.xml | 2 | ||||
-rw-r--r-- | media-video/mpv/mpv-0.8.2.ebuild | 256 |
4 files changed, 283 insertions, 18 deletions
diff --git a/media-video/mpv/ChangeLog b/media-video/mpv/ChangeLog index 067c465233a5..6d1f8ba34cf1 100644 --- a/media-video/mpv/ChangeLog +++ b/media-video/mpv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mpv # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.118 2015/03/03 09:18:56 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.119 2015/03/05 14:23:43 yngwin Exp $ + +*mpv-0.8.2 (05 Mar 2015) + + 05 Mar 2015; Ben de Groot <yngwin@gentoo.org> +mpv-0.8.2.ebuild, metadata.xml: + version bump 03 Mar 2015; Yixun Lan <dlan@gentoo.org> mpv-0.8.0.ebuild: add arm64 support, tested on A53 board diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest index d6787c860802..6f23721ced7e 100644 --- a/media-video/mpv/Manifest +++ b/media-video/mpv/Manifest @@ -6,6 +6,7 @@ DIST mpv-0.3.10.tar.gz 2520710 SHA256 ec1d9751f9c43f66e13a988c94748ee2e1d8188498 DIST mpv-0.3.11.tar.gz 2521150 SHA256 c686adb4820be32ff59bbcd64adaeebd2ac71cad762c50b6105f6e7424d72af2 SHA512 da4a55af98f178624ec66e48e314f045b61aef75fc9b654f39011879b0eb5b59a86870b9ed05bc11b831fbb5ec2084c5e842743d3040a155713a802908816374 WHIRLPOOL 18a6cd9436b3c2b5f18b95c974cbe79ff4c073b1d7403d35b77d091c18dcac9e17b03386a020e1c21db4727bfa3fa8e301f7f7dc3863cdf14fa4f9c653ab6952 DIST mpv-0.7.3.tar.gz 2672554 SHA256 88dcdc44264a8e9b9b73a95d03137d51071aea8c269cc19146109bf8f917e8b1 SHA512 220bcfc6d506ada33a725395461d955d6851c4acf117a2b7ab093dd7ecde96bacc507a756388f29eeb7ba231c849b5580e9f4add9c6c080b075f732dc31ffcb3 WHIRLPOOL de9054d25b19e65710830895064fb4f14238d66f3c51a908026ce825acc35860451ece8696099d9194a562622f38bd69233b47338dc90bceb4f4e379f87633c1 DIST mpv-0.8.0.tar.gz 2661713 SHA256 e3655279450cd37ddf036ab511c0c2070f269f7ce34a44757880bf67db241584 SHA512 b97481e0eaad02bb3402635c4188b53cb10661805a4940ec18d1fe2c3312b7504633324c57d3246ddf90a23ab031f11ae5d5f39dd088f4a40a289a8dc664afe9 WHIRLPOOL 1b2d7cb18df2ba2aa002936e18ee4f071193c18893f67aca09979114930464c119b315d5d7ec7572eeef9b567145c6c9508ea6fbee544cceca9f01e8e00c3ebd +DIST mpv-0.8.2.tar.gz 2663666 SHA256 a565934bf668b24a946f192f06981664415bd991fd204454b85bb8f7978074a7 SHA512 97b429ca90aca0ab5d9e4bafc154c33e9b8b9ea06660c35280f35da1c56396d05465991643f7333d2c192f558e2b5976dc05642936c88e2e57e38c67e8e58dc4 WHIRLPOOL 29f3ae09c36897fd92bfaa663a587a6b65ee4d5ca7535f537d7ec3b5358980133987bec5d7b5062b917da233292dd258a5c83f8394259dc34a284dbf891c6bae DIST waf-1.7.15 90909 SHA256 e5ae7028f9b2d8ce1acb9fe1092e8010a90ba764d3ac065ea4e846743290b1d6 SHA512 5d6f75a7a81d369512c6bf70ae14c5275cfdc2b273a5801d7ee928a829ca472aac5ee9f9f2542af6369f34c1648dd12e42112efc29d602527b9ba58a311b4c17 WHIRLPOOL 84048737d1ba746454212e13696ba34d9fc722c74823f719503e29123e33869a49742fba02e24212e3f67e045c5499cf1893bbd191bf8df1dd5cae05a517a17c DIST waf-1.8.1 95817 SHA256 ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d SHA512 d204460b61a8d1af5634ccac486a6693ded0213c7db5ba96d133431f1655e4a1c289b3d0201c7ff785dc36bda4f50dcc56c35e3f06f3c53240683412bd96fcd9 WHIRLPOOL 00f989c82504f3fbb94802dc3bdb23a0b1f45826e0098f2726db066ed69cf12172e30fb1eb0cb21dc04cc1ba0785a5c7b2b992e105ce3b4120621568dbbaa101 DIST waf-1.8.4 96179 SHA256 f02035fa5d8814f33f19b2b20d43822ddef6bb39b955ca196c2a247a1f9ffaa8 SHA512 3a132d8b1cba0af0e3df046c0204c5df706fae4e0fac41cf74b53f6cdea6210ed798671c7a3cb3fee70573aacab16d4c0cc699cc4b7aa74c8a416346c5513f4c WHIRLPOOL fe8d7f42e5118a1f9490a0c9add1355c969185376b57d0bab024068dd6e7364632d862bf9432e1209165c5313ae843479ef334f4bd6285db05dfebff9a1b640e @@ -13,23 +14,26 @@ EBUILD mpv-0.3.10.ebuild 6420 SHA256 08c56a8e201a818067b041f6d8a7d1a4c2658c0887f EBUILD mpv-0.3.11-r1.ebuild 6516 SHA256 9bc6b73068dfb359185d719c1e002488095798b517daa63e4c58fa960ff98595 SHA512 3e7b68340bf823e844825b7100ef20e0c317d96eb3229f2cb000849cfce9b4c83a1a13d022f6f0bddd8b6d7277328a8020b92b09dcfecf3d1ef6ab301e04103f WHIRLPOOL 657261b5b8c050a6ab1dfcf36322218af05880602273feb346404bdcb5da42c2e66a3cec00b02f4cf3559990580caa17c4c66fa9cfbada0d542c41dd41414e47 EBUILD mpv-0.7.3.ebuild 6900 SHA256 ffd0b01b8980e8201353f0c8ff4d8c960635130b9a56e8b2af41e8fff6c8214f SHA512 94932c1ac7d0f6e1e0d848fe6818c13417a1b88ad2b10735e6ab4fabaa9d723fb22c9caecc01b3c2bde57696455f4daf5985e3428279a2ec96186dd8d6295eb3 WHIRLPOOL 7e6429bdcef56a29587ab697a63bbfc4d74b667aae814cc5294ebcfd1000acb45f8f4109b839c07fdb4c8d657fcd2f5d9e28bddbbb8da3fc564d13619dd1d082 EBUILD mpv-0.8.0.ebuild 6659 SHA256 26f7c80686cb47a68eb180af15f3d96ee8540cbf07973e390db848659536d711 SHA512 986fb15ef750ebe2fd5cc2b3d425dca7964aa30e7fb2723854002e04dbf778d11ebcf7be30f6063eb831d468d9c5c60c5fcd518023de99efcbea3edf917ebbf8 WHIRLPOOL 783a98e2374d26aa3ba05951bb9cc46a143842aad7e6c0f9139a7cbcb54886d827a40c4e6d7f4a84948141a350ccff4579c646d70d99de805eebbb30a0fc13f8 +EBUILD mpv-0.8.2.ebuild 6661 SHA256 35af06e3d7aa8b6266211799cf54f9d9861825eef4452d069bbbb52f2ae67d27 SHA512 fac03871386b836b305dc794c93b1c6d6759db6e56572f5c7031a28aa6a880bd30fad17cacf86692ae812f3827acdf5ef03d4224205f135b392f66a5976ef9f9 WHIRLPOOL 6d98c64153ad60bb9bdc4cb7fbb5f5f5cc84e0f867b1cd5f20e1bc49327612bdfcf1fa4f10f2644dccf48b86911d1a4ae7a06176d0a7eff49a1a19df4556b175 EBUILD mpv-9999.ebuild 6619 SHA256 64b5b4ffb8ebd94422e45c66af10a9ae89cd1fa3a80986cf5db0facbb9a81d03 SHA512 82299c5c3b78ef52329ebf04f36d1676ac9d26cd307fc5154b38398867eaebf868c37e561f889d26433f76c37bebdcb9f8fbe224c784771e8434eecb61a07e1c WHIRLPOOL 46bf9fa7e93896c9135bf292d6239a816568059d1e8fb3088c55c35436ba627ec43685768518709e4a33e7a9c6c1c0a4466bd126195d8ad8051a72485af610af -MISC ChangeLog 18695 SHA256 3b381a1d525395603265d4bb9a4c6e1dcc712caa26a83ad88f839921bf2f6e13 SHA512 5afe4550e4ea87261f99aac789429ac22ff3cfde5e66f801928aad06dca9127b78606b273b677a0e1ceae5957afd007e42c519fe957a20ea097db75c4569041a WHIRLPOOL b51fffdc48d5ebf0c4f19b48be08e5739f81f38aef196940282f0c60894659679e3d1a0de9f263740dd45ef1b9d2a1bfc48180d2e42d0a4b6d1cfc26e1464e3d -MISC metadata.xml 2021 SHA256 d1dbf0056252c43017b7a438c5de04d0bcc19fe23e2d112b0adb39a6ef0229b8 SHA512 665ad5ca05c656774a033d0430e704263c4354877f280b2fd8dcc6b36653bfb1cab067a7149739c5f7a638c5a4bfbdbe4a5864284a444dd3e571bcddb7f42843 WHIRLPOOL f2a63db5d6dbae5644d6249dbf4a480081a79e5dc5b237c445fba1c593515ed6c800c643de4aeeaa455548c6b2dc433346e5d0718fe11391bc501fdfece7b4e8 +MISC ChangeLog 18820 SHA256 060b0ed24116f9cd25afe1a69415627aed0a0abffdd54eea4f485d99b623fef8 SHA512 0d9f5e9778571f5d57846cd3d66c47427a42c0e44141409114e70a9fcbd3f7bd0785df9e4daad1a254e305ab093ff9104dd2a6130475bbaa32f0ac36f53ac8fd WHIRLPOOL 6b5b11ee54d9ea19b21fa737cb3645626e4c6f7cdb8f15e1222f80df4d0c46bc010b36a3ddf9c94d96608e2b9e37b3efc34e7c6682a43dd41553c1b1807408a0 +MISC metadata.xml 2021 SHA256 142021b8f3982ba79c8fd8e44f755005b8aaf77795e612ef572a3f56e6af555d SHA512 55a5df91a31d13ffbab5b4573f34b9d1c839044cd38fe9d17419feb1b1e1d3e3412a16a39cb6037859842c4710151734c60a77b10f1229ebe976769aa0dce233 WHIRLPOOL 0f5581743746946063daaa567e2ae0cddd46e75b31ea5e92c1ff275461541b9bd1b530b3de02ee0db9210beb2fbdfe52e5b9da72234f5a298da0c8da9a7d4c04 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQIbBAEBCAAGBQJU9QuiAAoJEJIMDbyqvv1VvmkP9iU7WvdirOcau/NpJfAjDYrn -oF6EVzEn655fZ6Xa6zP1I1kCdueGc3mK01gsPjR00jTFZJhMXJh0NzbCMoERk/V7 -ARliuH4yBCJ0WpRKq936pm91eXxXlVxhgPFpvgLjOMTyxNVElb5XS/RuKCBkzEO/ -BSlOiW9XmRNy9qP/3dOCe7i0hn8T571NvcrOy75w1zRRqjh/3dQzMaVpM7UXLv96 -LsYv3IvmO2/1RWQRRG0/3iaxYwxL1Zblvlb4AKn6Qs18fcZCVCjH42gl0oSGJwRm -/xCylaTyA7daBRHc7r0CyJUY1YGYoNjYXK7etpRkh5ItvvmEpGuAlaCt8RGu03es -6LQee5DVZZ1dvcLcM9i41fzdooWmIrzUVSk8/UrcTi3DR7TXfS1aKfU+R92GKqtJ -GItW7J8/Ld3DE61ZRdCry0z7Oy1Huu3hkG/hYyO9H30Ir84gA/tH6ASVj3hbglx3 -L1uMAhfGMati+CrzuwDCzsK/NYZHY4B1T9VxktI6wA3xGyhqCwf2d2yXhgwXymKP -2yBg1vj9O1B/dpkbj1TsLvwQLXJb8JJvCfyR4y4IFAnKjp6IYTg8zzxzgLSyWBX/ -gAHW+YjIJjtOVI973S7F/mo7kWwFwDlPMClFtveBcnVmyy5YdNwQMkcyZJT4cfSt -hvTUppDIXC32jrNf+cQ= -=MvmO +iQJ8BAEBCABmBQJU+Gb3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MTlDREQ0NUU5Mjc4RkU2RjJDNTAyNzU0 +RkRGOUNGRDJGQUM1MTRFAAoJEE/fnP0vrFFOjnMP/31LtAyn4ap03udtdLaNnVtU +iQaT2XuVHdiL+TilR8a/bB6yRTfyeY7vqACjan7TLmbetYRa5m/kWJ8KYGz+6YrX +UfvLsING1UZHQ29nF9mxTmVnSeOe5SzJYPPhtCcRrRZRlIQLEAE2iOwPuyXBzMo9 +etYJIg8e72UWDuBQfdH3w0QEp5MOiaOyTlVN8xuYmy+9SwCovCa035ZNRoPpnH8a +qnjj98nx1hfKDKtXIg/NN+njurxFHKomnnLE4ZRdqU5yByScVR0u4sdN75Duvhix +PiaD7D6j2mbDmnCZZ0x4yd67Dk7iI37VaCnqBSKGmNIXm4xccpq7SZeC/+o6fNhZ +xmC56ktw5PcBuEJTQIccfLPVGNF1onE76fOAkxjM6kWPXU/ydTKDtn44mjbUfB3E +z7T0jUEpSjtrWsS62NJm7jZwgSsMxQr910Bi0rk0wiAVCHUFPDl/3bZBGED7Ales +DINxbNlgx5BtadecHDO8npCfnONqk+Kz3He5GhQxqXyelobBQqq+wXRmusGYqC63 +n4OMthg0/GLSuEqDueDV/W3+PX1TcyNWmyHnO3Pa0saAHvXWMaSsZFMNEB0mm40x +USiyNj4SRBq/Iy9L/jbsllBKxlPB6PXJkG499C/hIGHpikC+6DYWc3nOu48DJLS6 +rE9looREiklCfKBnuy2q +=a4Fv -----END PGP SIGNATURE----- diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml index 60d7beb32e33..e62dca6f3607 100644 --- a/media-video/mpv/metadata.xml +++ b/media-video/mpv/metadata.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> +<herd>video</herd> <maintainer> <email>nikoli@gmx.us</email> </maintainer> -<herd>video</herd> <herd>proxy-maintainers</herd> <use> <flag name="bluray">Enable playback of Blu-ray filesystems</flag> diff --git a/media-video/mpv/mpv-0.8.2.ebuild b/media-video/mpv/mpv-0.8.2.ebuild new file mode 100644 index 000000000000..a640c0f3e72a --- /dev/null +++ b/media-video/mpv/mpv-0.8.2.ebuild @@ -0,0 +1,256 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.8.2.ebuild,v 1.1 2015/03/05 14:23:43 yngwin Exp $ + +EAPI=5 +EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils python-any-r1 waf-utils pax-utils fdo-mime gnome2-utils +[[ ${PV} == *9999* ]] && inherit git-r3 + +WAF_V="1.8.4" + +DESCRIPTION="Free, open source, and cross-platform media player (fork of MPlayer/mplayer2)" +HOMEPAGE="http://mpv.io/" +SRC_URI="http://ftp.waf.io/pub/release/waf-${WAF_V}" +[[ ${PV} == *9999* ]] || \ +SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ BSD" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b cdio +cli doc-pdf dvb +dvd dvdnav egl +enca encode ++iconv jack -joystick jpeg ladspa lcms +libass libav libcaca libguess libmpv +lirc lua luajit +mpg123 -openal +opengl oss pulseaudio pvr samba -sdl selinux +v4l vaapi vdpau vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + || ( cli libmpv ) + dvdnav? ( dvd ) + egl? ( opengl X ) + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + pvr? ( v4l ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND=" + libav? ( >=media-video/libav-10:0=[encode?,threads,vaapi?,vdpau?] ) + !libav? ( >=media-video/ffmpeg-2.1.4:0=[encode?,threads,vaapi?,vdpau?] ) + sys-libs/zlib + X? ( + x11-libs/libX11 + x11-libs/libXext + >=x11-libs/libXrandr-1.2.0 + opengl? ( + virtual/opengl + egl? ( media-libs/mesa[egl] ) + ) + lcms? ( >=media-libs/lcms-2.6:2 ) + vaapi? ( >=x11-libs/libva-0.34.0[X(+),opengl?] ) + vdpau? ( >=x11-libs/libvdpau-0.2 ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( >=media-libs/alsa-lib-1.0.18 ) + bluray? ( >=media-libs/libbluray-0.3.0 ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + dev-libs/libcdio + dev-libs/libcdio-paranoia + ) + dvb? ( virtual/linuxtv-dvb-headers ) + dvd? ( + >=media-libs/libdvdread-4.1.3 + dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) + ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg:0 ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( >=media-libs/libcaca-0.99_beta18 ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2 ) + ) + mpg123? ( >=media-sound/mpg123-1.14.0 ) + openal? ( >=media-libs/openal-1.13 ) + pulseaudio? ( media-sound/pulseaudio ) + samba? ( net-fs/samba ) + sdl? ( media-libs/libsdl2[threads] ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.6.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( dev-python/rst2pdf ) + X? ( + x11-proto/videoproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) +" +RDEPEND+=" + selinux? ( sec-policy/selinux-mplayer ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf ) + +pkg_setup() { + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/ffmpeg or media-video/libav" + + python-any-r1_pkg_setup +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + default_src_unpack + fi + + cp "${DISTDIR}"/waf-${WAF_V} "${S}"/waf || die + chmod 0755 "${S}"/waf || die +} + +src_prepare() { + epatch_user +} + +src_configure() { + local mywafargs=( + --confdir="${EPREFIX}"/etc/${PN} + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(usex cli '' '--disable-cplayer') + $(use_enable libmpv libmpv-shared) + --disable-libmpv-static + --disable-build-date # keep build reproducible + --disable-optimize # do not add '-O2' to CFLAGS + --disable-debug-build # do not add '-g' to CFLAGS + $(use_enable doc-pdf pdf-build) + $(use_enable vf-dlopen vf-dlopen-filters) + $(use_enable cli zsh-comp) + + # optional features + $(use_enable iconv) + $(use_enable libguess) + $(use_enable samba libsmbclient) + $(use_enable lua) + $(use_enable libass) + $(use_enable libass libass-osd) + $(use_enable encode encoding) + $(use_enable joystick) + $(use_enable lirc) + $(use_enable bluray libbluray) + $(use_enable dvd dvdread) + $(use_enable dvdnav) + $(use_enable cdio cdda) + $(use_enable enca) + $(use_enable mpg123) + $(use_enable ladspa) + $(use_enable bs2b libbs2b) + $(use_enable lcms lcms2) + --disable-vapoursynth # vapoursynth is not packaged + --disable-vapoursynth-lazy + --enable-libavfilter + --enable-libavdevice + $(usex luajit '--lua=luajit' '') + + # audio outputs + $(use_enable sdl sdl2) # SDL output is fallback for platforms where nothing better is available + --disable-sdl1 + $(use_enable oss oss-audio) + --disable-rsound # media-sound/rsound is in pro-audio overlay only + $(use_enable pulseaudio pulse) + $(use_enable jack) + $(use_enable openal) + $(use_enable alsa) + + # video outputs + $(use_enable wayland) + $(use_enable X x11) + $(use_enable xscreensaver xss) + $(use_enable X xext) + $(use_enable xv) + $(use_enable xinerama) + $(use_enable X xrandr) + $(usex X "$(use_enable opengl gl-x11)" '--disable-gl-x11') + $(use_enable egl egl-x11) + $(usex wayland "$(use_enable opengl gl-wayland)" '--disable-gl-wayland') + $(use_enable opengl gl) + $(use_enable vdpau) + $(usex vdpau "$(use_enable opengl vdpau-gl-x11)" '--disable-vdpau-gl-x11') + $(use_enable vaapi) + $(use_enable vaapi vaapi-vpp) + $(usex vaapi "$(use_enable opengl vaapi-glx)" '--disable-vaapi-glx') + $(use_enable libcaca caca) + $(use_enable jpeg) + + # hwaccels + $(use_enable vaapi vaapi-hwaccel) + $(use_enable vdpau vdpau-hwaccel) + + # tv features + $(use_enable v4l tv) + $(use_enable v4l tv-v4l2) + $(use_enable v4l libv4l2) + $(use_enable pvr) + $(use_enable dvb) + $(use_enable dvb dvbin) + ) + waf-utils_src_configure "${mywafargs[@]}" +} + +src_install() { + waf-utils_src_install + + if use cli && use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |