Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/
Date: Tue, 29 Dec 2015 00:14:33
Message-Id: 1451311947.758c56d34ed9a02a167d53ea50c23ede657de896.monsieurp@gentoo
1 commit: 758c56d34ed9a02a167d53ea50c23ede657de896
2 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
3 AuthorDate: Mon Dec 28 14:12:27 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 14:12:27 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=758c56d3
7
8 media-video/mpv: remove old
9
10 Package-Manager: portage-2.2.24
11
12 media-video/mpv/Manifest | 1 -
13 media-video/mpv/mpv-0.11.0.ebuild | 259 ----------------------------
14 media-video/mpv/mpv-0.9.2_p20150824.ebuild | 263 -----------------------------
15 3 files changed, 523 deletions(-)
16
17 diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest
18 index 8e886d7..d701d23 100644
19 --- a/media-video/mpv/Manifest
20 +++ b/media-video/mpv/Manifest
21 @@ -1,6 +1,5 @@
22 DIST mpv-0.11.0.tar.gz 2689655 SHA256 a2157174e46db46dad5deb1fde94283e72ebe922fd15447cb16a2a243fae5bda SHA512 f85da000770dbca09be2a59c4eda7e6d7142ca17328844d2b08a173f64554159f50ba9b32661ba67924b789e886940cda1add993862f02f295e7753f50388bdb WHIRLPOOL 1184f09435d6f30119143ab98ddd4767e53c701bdc5b850eb62c19607652a7103699a6b54a0d165acb548f4cced4179af6f7decbf64c8289ff56736e26ed7924
23 DIST mpv-0.14.0.tar.gz 2872619 SHA256 042937f483603f0c3d1dec11e8f0045e8c27f19eee46ea64d81a3cdf01e51233 SHA512 523bffe87d6743ac67cab090bb5f43363352491f663debf150e204b942daaaa85176f228011e306d58fa4a05ee962d4bc56b6f77ea943e3efe757417ad52b952 WHIRLPOOL b27f8acb21870c4d98e2a39ce78cf0e8923bdac5056adafedd242b687c0532cc51e338b9d5c2046155972adb99fd8f12f7d9ec2e78bdf4ed8ae1a295faedc0e9
24 DIST mpv-0.9.2.tar.gz 2701306 SHA256 c0148f55dbd17705f49bb496d0ce374419de62e1b17195d91409d7727cbd4751 SHA512 4f652a8e78d65b0ef44a06287b05250dfdfbce4cf5a6e21d3b446eedec268d83cf98afcc687272e2da2cfac9e9f69a303847dffdfd45cecdd4273b943ce50967 WHIRLPOOL 1512bacc2ce50e875770c76106a1bb2bc1d0cc5f6e2bdce91ff8c5cfc8bf13ffb48519858a5fa2a7d57880820dc12e5eb20f34ab71eca5d76ec303618da8f3fe
25 -DIST mpv-0.9.2_p20150824.tar.xz 1867384 SHA256 67fa5ce11740b83ceef8bc435d5ef17803f1ec328dd2fee93b67e46ccc195209 SHA512 1ae0fd4faa180472c023c0ba77a28f2d1319f597763d5249259d55a04387b5f6384e2c5a8ff78bb514dfda86c30ceb474c35e54468a29ad3fc6327c4baaf75cc WHIRLPOOL cb61758234f9186880def4dcb7cb7e54d03abd6734484b5691926e2514cae1bebef6f9a53465e2aa2710e4ad5dbe1875369d483489a5cb853c3fa756ff7e968a
26 DIST waf-1.8.12 97567 SHA256 01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b SHA512 8e47112abb134f965f15a27a600b4453cad3075afb5dadc17f2f6dac33d80ec68b679ac0ebc5f8a0245cbd07ae9fc7b899e69afc1bd021cce74e7af2ab457939 WHIRLPOOL c36d37c2d8c08e4048b4800f511611af5cf534304fcb58388ca491ff308bfcbcdd959d153edfd6ff8c118404e7293d8b786e43b07486139bf915a82aa75d792b
27 DIST waf-1.8.4 96179 SHA256 f02035fa5d8814f33f19b2b20d43822ddef6bb39b955ca196c2a247a1f9ffaa8 SHA512 3a132d8b1cba0af0e3df046c0204c5df706fae4e0fac41cf74b53f6cdea6210ed798671c7a3cb3fee70573aacab16d4c0cc699cc4b7aa74c8a416346c5513f4c WHIRLPOOL fe8d7f42e5118a1f9490a0c9add1355c969185376b57d0bab024068dd6e7364632d862bf9432e1209165c5313ae843479ef334f4bd6285db05dfebff9a1b640e
28
29 diff --git a/media-video/mpv/mpv-0.11.0.ebuild b/media-video/mpv/mpv-0.11.0.ebuild
30 deleted file mode 100644
31 index 9d0d09e..0000000
32 --- a/media-video/mpv/mpv-0.11.0.ebuild
33 +++ /dev/null
34 @@ -1,259 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI=5
40 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
41 -PYTHON_REQ_USE='threads(+)'
42 -inherit eutils python-any-r1 waf-utils pax-utils fdo-mime gnome2-utils
43 -
44 -WAF_V="1.8.12"
45 -
46 -DESCRIPTION="Media player based on MPlayer and mplayer2"
47 -HOMEPAGE="http://mpv.io/"
48 -SRC_URI="http://ftp.waf.io/pub/release/waf-${WAF_V}"
49 -DOCS=( README.md etc/example.conf etc/input.conf )
50 -
51 -if [[ ${PV} == *9999* ]]; then
52 - EGIT_REPO_URI="https://github.com/mpv-player/mpv.git"
53 - inherit git-r3
54 -else
55 - SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
56 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
57 - #DOCS+=( RELEASE_NOTES )
58 -fi
59 -
60 -# See Copyright in source tarball and bug #506946. Waf is BSD, libmpv is ISC.
61 -LICENSE="GPL-2+ BSD ISC"
62 -SLOT="0"
63 -IUSE="+alsa bluray cdio +cli doc-pdf drm dvb +dvd egl +enca encode +iconv
64 -jack jpeg lcms +libass libav libcaca libguess libmpv lua luajit openal
65 -+opengl oss pulseaudio pvr raspberry-pi rubberband samba sdl selinux v4l vaapi
66 -vdpau vf-dlopen wayland +X xinerama +xscreensaver xv"
67 -
68 -REQUIRED_USE="
69 - || ( cli libmpv )
70 - egl? ( opengl X )
71 - enca? ( iconv )
72 - lcms? ( opengl )
73 - libguess? ( iconv )
74 - luajit? ( lua )
75 - opengl? ( || ( wayland X ) )
76 - pvr? ( v4l )
77 - vaapi? ( X )
78 - vdpau? ( X )
79 - wayland? ( opengl )
80 - xinerama? ( X )
81 - xscreensaver? ( X )
82 - xv? ( X )
83 -"
84 -
85 -RDEPEND="
86 - libav? ( >=media-video/libav-11:0=[encode?,threads,vaapi?,vdpau?] )
87 - !libav? ( >=media-video/ffmpeg-2.4.0:0=[encode?,threads,vaapi?,vdpau?] )
88 - sys-libs/zlib
89 - X? (
90 - x11-libs/libX11
91 - x11-libs/libXext
92 - >=x11-libs/libXrandr-1.2.0
93 - opengl? (
94 - virtual/opengl
95 - egl? ( media-libs/mesa[egl] )
96 - )
97 - lcms? ( >=media-libs/lcms-2.6:2 )
98 - vaapi? ( >=x11-libs/libva-0.34.0[X(+)] )
99 - vdpau? ( >=x11-libs/libvdpau-0.2 )
100 - xinerama? ( x11-libs/libXinerama )
101 - xscreensaver? ( x11-libs/libXScrnSaver )
102 - xv? ( x11-libs/libXv )
103 - )
104 - alsa? ( >=media-libs/alsa-lib-1.0.18 )
105 - bluray? ( >=media-libs/libbluray-0.3.0 )
106 - cdio? (
107 - dev-libs/libcdio
108 - dev-libs/libcdio-paranoia
109 - )
110 - drm? ( x11-libs/libdrm )
111 - dvb? ( virtual/linuxtv-dvb-headers )
112 - dvd? (
113 - >=media-libs/libdvdread-4.1.3
114 - >=media-libs/libdvdnav-4.2.0
115 - )
116 - enca? ( app-i18n/enca )
117 - iconv? ( virtual/libiconv )
118 - jack? ( media-sound/jack-audio-connection-kit )
119 - jpeg? ( virtual/jpeg:0 )
120 - libass? (
121 - >=media-libs/libass-0.12.1:=[enca(-)?,fontconfig]
122 - virtual/ttf-fonts
123 - )
124 - libcaca? ( >=media-libs/libcaca-0.99_beta18 )
125 - libguess? ( >=app-i18n/libguess-1.0 )
126 - lua? (
127 - !luajit? ( || ( =dev-lang/lua-5.1*:= =dev-lang/lua-5.2*:= ) )
128 - luajit? ( dev-lang/luajit:2 )
129 - )
130 - openal? ( >=media-libs/openal-1.13 )
131 - pulseaudio? ( media-sound/pulseaudio )
132 - rubberband? ( >=media-libs/rubberband-1.8.0 )
133 - samba? ( net-fs/samba )
134 - sdl? ( media-libs/libsdl2[threads] )
135 - v4l? ( media-libs/libv4l )
136 - wayland? (
137 - >=dev-libs/wayland-1.6.0
138 - media-libs/mesa[egl,wayland]
139 - >=x11-libs/libxkbcommon-0.3.0
140 - )
141 -"
142 -DEPEND="${RDEPEND}
143 - ${PYTHON_DEPS}
144 - virtual/pkgconfig
145 - >=dev-lang/perl-5.8
146 - dev-python/docutils
147 - doc-pdf? ( dev-python/rst2pdf )
148 - X? (
149 - x11-proto/videoproto
150 - xinerama? ( x11-proto/xineramaproto )
151 - xscreensaver? ( x11-proto/scrnsaverproto )
152 - )
153 -"
154 -RDEPEND+="
155 - selinux? ( sec-policy/selinux-mplayer )
156 -"
157 -
158 -pkg_setup() {
159 - if ! use libass; then
160 - ewarn "You have disabled the libass flag. No OSD or subtitles will be displayed."
161 - fi
162 -
163 - if use openal; then
164 - ewarn "You have enabled the openal audio output which is a fallback"
165 - ewarn "and disabled by upstream."
166 - fi
167 -
168 - if use sdl; then
169 - ewarn "You have enabled the sdl video and audio outputs which are fallbacks"
170 - ewarn "and disabled by upstream."
171 - fi
172 -
173 - if use libav; then
174 - einfo "You have enabled media-video/libav instead of media-video/ffmpeg."
175 - einfo "Upstream recommends media-video/ffmpeg, as some functionality is not"
176 - einfo "provided by media-video/libav."
177 - fi
178 -
179 - einfo "For additional format support you need to enable the support on your"
180 - einfo "libavcodec/libavformat provider:"
181 - einfo " media-video/ffmpeg or media-video/libav"
182 -
183 - python-any-r1_pkg_setup
184 -}
185 -
186 -src_prepare() {
187 - cp "${DISTDIR}"/waf-${WAF_V} "${S}"/waf || die
188 - chmod 0755 "${S}"/waf || die
189 - epatch_user
190 -}
191 -
192 -src_configure() {
193 - local mywafargs=(
194 - --confdir="${EPREFIX}"/etc/${PN}
195 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
196 - $(usex cli '' '--disable-cplayer')
197 - $(use_enable libmpv libmpv-shared)
198 - --disable-libmpv-static
199 - --disable-build-date # keep build reproducible
200 - --disable-optimize # do not add '-O2' to CFLAGS
201 - --disable-debug-build # do not add '-g' to CFLAGS
202 - --disable-test # avoid dev-util/cmocka automagic
203 - $(use_enable doc-pdf pdf-build)
204 - $(use_enable vf-dlopen vf-dlopen-filters)
205 - $(use_enable cli zsh-comp)
206 -
207 - # optional features
208 - $(use_enable iconv)
209 - $(use_enable libguess)
210 - $(use_enable samba libsmbclient)
211 - $(use_enable lua)
212 - $(use_enable libass)
213 - $(use_enable libass libass-osd)
214 - $(use_enable encode encoding)
215 - $(use_enable bluray libbluray)
216 - $(use_enable dvd dvdread)
217 - $(use_enable dvd dvdnav)
218 - $(use_enable cdio cdda)
219 - $(use_enable enca)
220 - $(use_enable rubberband)
221 - $(use_enable lcms lcms2)
222 - --disable-vapoursynth # vapoursynth is not packaged
223 - --disable-vapoursynth-lazy
224 - --enable-libavfilter
225 - --enable-libavdevice
226 - $(usex luajit '--lua=luajit' '')
227 -
228 - # audio outputs
229 - $(use_enable sdl sdl2) # SDL output is fallback for platforms where nothing better is available
230 - --disable-sdl1
231 - $(use_enable oss oss-audio)
232 - --disable-rsound # media-sound/rsound is in pro-audio overlay only
233 - $(use_enable pulseaudio pulse)
234 - $(use_enable jack)
235 - $(use_enable openal)
236 - $(use_enable alsa)
237 -
238 - # video outputs
239 - $(use_enable wayland)
240 - $(use_enable X x11)
241 - $(use_enable xscreensaver xss)
242 - $(use_enable X xext)
243 - $(use_enable xv)
244 - $(use_enable xinerama)
245 - $(use_enable X xrandr)
246 - $(usex X "$(use_enable opengl gl-x11)" '--disable-gl-x11')
247 - $(use_enable egl egl-x11)
248 - $(usex wayland "$(use_enable opengl gl-wayland)" '--disable-gl-wayland')
249 - $(use_enable opengl gl)
250 - $(use_enable vdpau)
251 - $(usex vdpau "$(use_enable opengl vdpau-gl-x11)" '--disable-vdpau-gl-x11')
252 - $(use_enable vaapi)
253 - $(use_enable vaapi vaapi-vpp)
254 - $(usex vaapi "$(use_enable opengl vaapi-glx)" '--disable-vaapi-glx')
255 - $(use_enable libcaca caca)
256 - $(use_enable drm)
257 - $(use_enable jpeg)
258 - $(use_enable raspberry-pi rpi)
259 -
260 - # hwaccels
261 - $(use_enable vaapi vaapi-hwaccel)
262 -
263 - # tv features
264 - $(use_enable v4l tv)
265 - $(use_enable v4l tv-v4l2)
266 - $(use_enable v4l libv4l2)
267 - $(use_enable pvr)
268 - $(use_enable dvb dvbin)
269 - )
270 - waf-utils_src_configure "${mywafargs[@]}"
271 -}
272 -
273 -src_install() {
274 - waf-utils_src_install
275 -
276 - if use cli && use luajit; then
277 - pax-mark -m "${ED}"usr/bin/mpv
278 - fi
279 -}
280 -
281 -pkg_preinst() {
282 - gnome2_icon_savelist
283 -}
284 -
285 -pkg_postinst() {
286 - fdo-mime_desktop_database_update
287 - gnome2_icon_cache_update
288 -}
289 -
290 -pkg_postrm() {
291 - fdo-mime_desktop_database_update
292 - gnome2_icon_cache_update
293 -}
294
295 diff --git a/media-video/mpv/mpv-0.9.2_p20150824.ebuild b/media-video/mpv/mpv-0.9.2_p20150824.ebuild
296 deleted file mode 100644
297 index 5307fa2..0000000
298 --- a/media-video/mpv/mpv-0.9.2_p20150824.ebuild
299 +++ /dev/null
300 @@ -1,263 +0,0 @@
301 -# Copyright 1999-2015 Gentoo Foundation
302 -# Distributed under the terms of the GNU General Public License v2
303 -# $Id$
304 -
305 -EAPI=5
306 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
307 -PYTHON_REQ_USE='threads(+)'
308 -inherit eutils python-any-r1 waf-utils pax-utils fdo-mime gnome2-utils
309 -
310 -WAF_V="1.8.4"
311 -
312 -DESCRIPTION="Media player based on MPlayer and mplayer2"
313 -HOMEPAGE="http://mpv.io/"
314 -SRC_URI="http://ftp.waf.io/pub/release/waf-${WAF_V}"
315 -DOCS=( README.md etc/example.conf etc/input.conf )
316 -
317 -if [[ ${PV} == *9999* ]]; then
318 - EGIT_REPO_URI="https://github.com/mpv-player/mpv.git"
319 - inherit git-r3
320 -else
321 - SRC_URI+=" http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
322 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
323 - #DOCS+=( RELEASE_NOTES )
324 -fi
325 -
326 -# See Copyright in source tarball and bug #506946. Waf is BSD, libmpv is ISC.
327 -LICENSE="GPL-2+ BSD ISC"
328 -SLOT="0"
329 -IUSE="+alsa bluray bs2b cdio +cli doc-pdf drm dvb +dvd egl +enca encode +iconv
330 -jack jpeg ladspa lcms +libass libav libcaca libguess libmpv lua luajit openal
331 -+opengl oss pulseaudio pvr raspberry-pi rubberband samba sdl selinux v4l vaapi
332 -vdpau vf-dlopen wayland +X xinerama +xscreensaver xv"
333 -
334 -REQUIRED_USE="
335 - || ( cli libmpv )
336 - egl? ( opengl X )
337 - enca? ( iconv )
338 - lcms? ( opengl )
339 - libguess? ( iconv )
340 - luajit? ( lua )
341 - opengl? ( || ( wayland X ) )
342 - pvr? ( v4l )
343 - vaapi? ( X )
344 - vdpau? ( X )
345 - wayland? ( opengl )
346 - xinerama? ( X )
347 - xscreensaver? ( X )
348 - xv? ( X )
349 -"
350 -
351 -RDEPEND="
352 - libav? ( >=media-video/libav-11:0=[encode?,threads,vaapi?,vdpau?] )
353 - !libav? ( >=media-video/ffmpeg-2.4.0:0=[encode?,threads,vaapi?,vdpau?] )
354 - sys-libs/zlib
355 - X? (
356 - x11-libs/libX11
357 - x11-libs/libXext
358 - >=x11-libs/libXrandr-1.2.0
359 - opengl? (
360 - virtual/opengl
361 - egl? ( media-libs/mesa[egl] )
362 - )
363 - lcms? ( >=media-libs/lcms-2.6:2 )
364 - vaapi? ( >=x11-libs/libva-0.34.0[X(+)] )
365 - vdpau? ( >=x11-libs/libvdpau-0.2 )
366 - xinerama? ( x11-libs/libXinerama )
367 - xscreensaver? ( x11-libs/libXScrnSaver )
368 - xv? ( x11-libs/libXv )
369 - )
370 - alsa? ( >=media-libs/alsa-lib-1.0.18 )
371 - bluray? ( >=media-libs/libbluray-0.3.0 )
372 - bs2b? ( media-libs/libbs2b )
373 - cdio? (
374 - dev-libs/libcdio
375 - dev-libs/libcdio-paranoia
376 - )
377 - drm? ( x11-libs/libdrm )
378 - dvb? ( virtual/linuxtv-dvb-headers )
379 - dvd? (
380 - >=media-libs/libdvdread-4.1.3
381 - >=media-libs/libdvdnav-4.2.0
382 - )
383 - enca? ( app-i18n/enca )
384 - iconv? ( virtual/libiconv )
385 - jack? ( media-sound/jack-audio-connection-kit )
386 - jpeg? ( virtual/jpeg:0 )
387 - ladspa? ( media-libs/ladspa-sdk )
388 - libass? (
389 - >=media-libs/libass-0.12.1:=[enca?,fontconfig]
390 - virtual/ttf-fonts
391 - )
392 - libcaca? ( >=media-libs/libcaca-0.99_beta18 )
393 - libguess? ( >=app-i18n/libguess-1.0 )
394 - lua? (
395 - !luajit? ( || ( =dev-lang/lua-5.1*:= =dev-lang/lua-5.2*:= ) )
396 - luajit? ( dev-lang/luajit:2 )
397 - )
398 - openal? ( >=media-libs/openal-1.13 )
399 - pulseaudio? ( media-sound/pulseaudio )
400 - rubberband? ( >=media-libs/rubberband-1.8.0 )
401 - samba? ( net-fs/samba )
402 - sdl? ( media-libs/libsdl2[threads] )
403 - v4l? ( media-libs/libv4l )
404 - wayland? (
405 - >=dev-libs/wayland-1.6.0
406 - media-libs/mesa[egl,wayland]
407 - >=x11-libs/libxkbcommon-0.3.0
408 - )
409 -"
410 -DEPEND="${RDEPEND}
411 - ${PYTHON_DEPS}
412 - virtual/pkgconfig
413 - >=dev-lang/perl-5.8
414 - dev-python/docutils
415 - doc-pdf? ( dev-python/rst2pdf )
416 - X? (
417 - x11-proto/videoproto
418 - xinerama? ( x11-proto/xineramaproto )
419 - xscreensaver? ( x11-proto/scrnsaverproto )
420 - )
421 -"
422 -RDEPEND+="
423 - selinux? ( sec-policy/selinux-mplayer )
424 -"
425 -
426 -pkg_setup() {
427 - if ! use libass; then
428 - ewarn "You have disabled the libass flag. No OSD or subtitles will be displayed."
429 - fi
430 -
431 - if use openal; then
432 - ewarn "You have enabled the openal audio output which is a fallback"
433 - ewarn "and disabled by upstream."
434 - fi
435 -
436 - if use sdl; then
437 - ewarn "You have enabled the sdl video and audio outputs which are fallbacks"
438 - ewarn "and disabled by upstream."
439 - fi
440 -
441 - if use libav; then
442 - einfo "You have enabled media-video/libav instead of media-video/ffmpeg."
443 - einfo "Upstream recommends media-video/ffmpeg, as some functionality is not"
444 - einfo "provided by media-video/libav."
445 - fi
446 -
447 - einfo "For additional format support you need to enable the support on your"
448 - einfo "libavcodec/libavformat provider:"
449 - einfo " media-video/ffmpeg or media-video/libav"
450 -
451 - python-any-r1_pkg_setup
452 -}
453 -
454 -src_prepare() {
455 - cp "${DISTDIR}"/waf-${WAF_V} "${S}"/waf || die
456 - chmod 0755 "${S}"/waf || die
457 - epatch_user
458 -}
459 -
460 -src_configure() {
461 - local mywafargs=(
462 - --confdir="${EPREFIX}"/etc/${PN}
463 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
464 - $(usex cli '' '--disable-cplayer')
465 - $(use_enable libmpv libmpv-shared)
466 - --disable-libmpv-static
467 - --disable-build-date # keep build reproducible
468 - --disable-optimize # do not add '-O2' to CFLAGS
469 - --disable-debug-build # do not add '-g' to CFLAGS
470 - --disable-test # avoid dev-util/cmocka automagic
471 - $(use_enable doc-pdf pdf-build)
472 - $(use_enable vf-dlopen vf-dlopen-filters)
473 - $(use_enable cli zsh-comp)
474 -
475 - # optional features
476 - $(use_enable iconv)
477 - $(use_enable libguess)
478 - $(use_enable samba libsmbclient)
479 - $(use_enable lua)
480 - $(use_enable libass)
481 - $(use_enable libass libass-osd)
482 - $(use_enable encode encoding)
483 - $(use_enable bluray libbluray)
484 - $(use_enable dvd dvdread)
485 - $(use_enable dvd dvdnav)
486 - $(use_enable cdio cdda)
487 - $(use_enable enca)
488 - $(use_enable ladspa)
489 - $(use_enable rubberband)
490 - $(use_enable bs2b libbs2b)
491 - $(use_enable lcms lcms2)
492 - --disable-vapoursynth # vapoursynth is not packaged
493 - --disable-vapoursynth-lazy
494 - --enable-libavfilter
495 - --enable-libavdevice
496 - $(usex luajit '--lua=luajit' '')
497 -
498 - # audio outputs
499 - $(use_enable sdl sdl2) # SDL output is fallback for platforms where nothing better is available
500 - --disable-sdl1
501 - $(use_enable oss oss-audio)
502 - --disable-rsound # media-sound/rsound is in pro-audio overlay only
503 - $(use_enable pulseaudio pulse)
504 - $(use_enable jack)
505 - $(use_enable openal)
506 - $(use_enable alsa)
507 -
508 - # video outputs
509 - $(use_enable wayland)
510 - $(use_enable X x11)
511 - $(use_enable xscreensaver xss)
512 - $(use_enable X xext)
513 - $(use_enable xv)
514 - $(use_enable xinerama)
515 - $(use_enable X xrandr)
516 - $(usex X "$(use_enable opengl gl-x11)" '--disable-gl-x11')
517 - $(use_enable egl egl-x11)
518 - $(usex wayland "$(use_enable opengl gl-wayland)" '--disable-gl-wayland')
519 - $(use_enable opengl gl)
520 - $(use_enable vdpau)
521 - $(usex vdpau "$(use_enable opengl vdpau-gl-x11)" '--disable-vdpau-gl-x11')
522 - $(use_enable vaapi)
523 - $(use_enable vaapi vaapi-vpp)
524 - $(usex vaapi "$(use_enable opengl vaapi-glx)" '--disable-vaapi-glx')
525 - $(use_enable libcaca caca)
526 - $(use_enable drm)
527 - $(use_enable jpeg)
528 - $(use_enable raspberry-pi rpi)
529 -
530 - # hwaccels
531 - $(use_enable vaapi vaapi-hwaccel)
532 -
533 - # tv features
534 - $(use_enable v4l tv)
535 - $(use_enable v4l tv-v4l2)
536 - $(use_enable v4l libv4l2)
537 - $(use_enable pvr)
538 - $(use_enable dvb dvbin)
539 - )
540 - waf-utils_src_configure "${mywafargs[@]}"
541 -}
542 -
543 -src_install() {
544 - waf-utils_src_install
545 -
546 - if use cli && use luajit; then
547 - pax-mark -m "${ED}"usr/bin/mpv
548 - fi
549 -}
550 -
551 -pkg_preinst() {
552 - gnome2_icon_savelist
553 -}
554 -
555 -pkg_postinst() {
556 - fdo-mime_desktop_database_update
557 - gnome2_icon_cache_update
558 -}
559 -
560 -pkg_postrm() {
561 - fdo-mime_desktop_database_update
562 - gnome2_icon_cache_update
563 -}