1 |
commit: 1b70657f204180df624aa657a7795344636a52c5 |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 13 18:18:40 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 13 19:02:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b70657f |
7 |
|
8 |
media-video/mpv: security cleanup wrt CVE-2018-6360 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/646886 |
11 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
12 |
|
13 |
media-video/mpv/Manifest | 2 - |
14 |
media-video/mpv/metadata.xml | 1 - |
15 |
media-video/mpv/mpv-0.25.0-r2.ebuild | 383 ----------------------------------- |
16 |
3 files changed, 386 deletions(-) |
17 |
|
18 |
diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest |
19 |
index 6b0e9085f19..1d16d08f77b 100644 |
20 |
--- a/media-video/mpv/Manifest |
21 |
+++ b/media-video/mpv/Manifest |
22 |
@@ -1,5 +1,3 @@ |
23 |
-DIST mpv-0.25.0-patches-r2.tar.xz 11036 BLAKE2B 09fdd566c5fcca290829c536c9e41b655e254d64e63714281119d62e6963f07f8d384eccb3f8ea6ccb2a9b63a60e19bb7ff1fd4b8e4ccccdc9b1fd8e58a7c628 SHA512 fc8d2a23dff27131d2c18d3f91861ec6e6d5240e6531d1a04c06ebef8d5467250c4f131d9faee802842e1ea485dbf350b43a3eebcc13c230cd45ff875fc855e2 |
24 |
-DIST mpv-0.25.0.tar.gz 2874584 BLAKE2B c64321b50fd635f82bbcbce5cdefee1d0da011558cebdacd3339aaa14162f659c955bea75341ed21096eea5b689e4c1ca4d2d97feff1f4026044ddd61bdd9944 SHA512 eefc574e2995ddf6bd15c9b62986a5ca277c30949b036d57a11bbfb796c11c1e6dd7c313abd91a909dd98ca0f2b0be29ec6b980d0287a5891b42b0ffba926cbf |
25 |
DIST mpv-0.27.2-patches-r0.tar.xz 6564 BLAKE2B c02efea40e0b19d60eaa49520988464fbf4c9221108cbf19021934dc0cb0a975dab148ec1ea03753d81b8035173e3e5bd74b262ab5675d9fc5dce4a0f75ea37c SHA512 d1c955c32082338f5c7f1cd8268471ca0ac6dcd817c5fe39fb82f0e8bd3babf6f2f954d4ce52e9be786e5527df75cc6f4f3de8106a3517c8a1d8e39be1b4ebbd |
26 |
DIST mpv-0.27.2.tar.gz 2957191 BLAKE2B 35e316e5a30869ae44ff229e99ae11a88e2f7d55b55946bfb752d5ed2d8212885c0c2abb59c9ff6d23a72daee47d80f44511313d67ee6fb265e6681ba4b89ee1 SHA512 bf74a150b3732b8c233362e0902c54f85fbea9ca1765a2a8f946a6eecd9b37a72ede36a36d0dd98a770539c4f81fe24c8ce26be9db7cd6eddd8514a8f82d9cda |
27 |
DIST mpv-0.28.2.tar.gz 2982558 BLAKE2B 5faef4122d456916f43bd603192fc72dee1ad16fa3c842d54a2e53dc8f9db416545549a86af62481fe211dc088821ab13b832c09f82572b36167dd3a73d57f62 SHA512 e6206e8c65dca084e2cfa73ab09278b7113cdfd90b89877d1f75a1068c6379a093ea3955a023857357683edce1aba8c12ee441fd195d887af4d939fc7b66cef4 |
28 |
|
29 |
diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml |
30 |
index 597c2ce92a7..df0200d2936 100644 |
31 |
--- a/media-video/mpv/metadata.xml |
32 |
+++ b/media-video/mpv/metadata.xml |
33 |
@@ -33,7 +33,6 @@ |
34 |
(Note: these outputs exist for compatibility reasons only, avoid if possible)</flag> |
35 |
<flag name="tools">Install extra tools: mpv_identify.sh, mpv_idet.sh, and umpv</flag> |
36 |
<flag name="uchardet">Enable subtitles charset discovery via <pkg>app-i18n/uchardet</pkg></flag> |
37 |
- <flag name="vf-dlopen">Install additional video filters to be used with -vf dlopen</flag> |
38 |
</use> |
39 |
<upstream> |
40 |
<remote-id type="github">mpv-player/mpv</remote-id> |
41 |
|
42 |
diff --git a/media-video/mpv/mpv-0.25.0-r2.ebuild b/media-video/mpv/mpv-0.25.0-r2.ebuild |
43 |
deleted file mode 100644 |
44 |
index 2ad5ba5f7c6..00000000000 |
45 |
--- a/media-video/mpv/mpv-0.25.0-r2.ebuild |
46 |
+++ /dev/null |
47 |
@@ -1,383 +0,0 @@ |
48 |
-# Copyright 1999-2018 Gentoo Foundation |
49 |
-# Distributed under the terms of the GNU General Public License v2 |
50 |
- |
51 |
-EAPI=6 |
52 |
- |
53 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
54 |
-PYTHON_REQ_USE='threads(+)' |
55 |
- |
56 |
-WAF_PV=1.9.8 |
57 |
- |
58 |
-inherit gnome2-utils pax-utils python-r1 toolchain-funcs versionator waf-utils xdg-utils |
59 |
- |
60 |
-DESCRIPTION="Media player based on MPlayer and mplayer2" |
61 |
-HOMEPAGE="https://mpv.io/" |
62 |
- |
63 |
-if [[ ${PV} != *9999* ]]; then |
64 |
- SRC_URI=" |
65 |
- https://github.com/mpv-player/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
66 |
- https://dev.gentoo.org/~kensington/distfiles/${P}-patches-${PR}.tar.xz |
67 |
- " |
68 |
- KEYWORDS="alpha amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux" |
69 |
- DOCS=( RELEASE_NOTES ) |
70 |
-else |
71 |
- EGIT_REPO_URI="https://github.com/mpv-player/${PN}.git" |
72 |
- inherit git-r3 |
73 |
-fi |
74 |
-SRC_URI+=" https://waf.io/waf-${WAF_PV}" |
75 |
-DOCS+=( README.md DOCS/{client-api,interface}-changes.rst ) |
76 |
- |
77 |
-# See Copyright in sources and Gentoo bug 506946. Waf is BSD, libmpv is ISC. |
78 |
-LICENSE="LGPL-2.1+ GPL-2+ BSD ISC samba? ( GPL-3+ )" |
79 |
-SLOT="0" |
80 |
-IUSE="+alsa aqua archive bluray cdda +cli coreaudio cplugins cuda doc drm dvb |
81 |
- dvd +egl encode gbm +iconv jack jpeg lcms +libass libav libcaca libmpv +lua |
82 |
- luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba sdl |
83 |
- selinux test tools +uchardet v4l vaapi vdpau vf-dlopen wayland +X +xv |
84 |
- zsh-completion" |
85 |
-IUSE+=" cpu_flags_x86_sse4_1" |
86 |
- |
87 |
-REQUIRED_USE=" |
88 |
- || ( cli libmpv ) |
89 |
- aqua? ( opengl ) |
90 |
- cuda? ( !libav opengl ) |
91 |
- egl? ( || ( gbm X wayland ) ) |
92 |
- gbm? ( drm egl opengl ) |
93 |
- lcms? ( opengl ) |
94 |
- luajit? ( lua ) |
95 |
- opengl? ( || ( aqua egl X raspberry-pi !cli ) ) |
96 |
- raspberry-pi? ( opengl ) |
97 |
- test? ( opengl ) |
98 |
- tools? ( cli ) |
99 |
- uchardet? ( iconv ) |
100 |
- v4l? ( || ( alsa oss ) ) |
101 |
- vaapi? ( || ( gbm X wayland ) ) |
102 |
- vdpau? ( X ) |
103 |
- wayland? ( egl ) |
104 |
- X? ( egl? ( opengl ) ) |
105 |
- xv? ( X ) |
106 |
- zsh-completion? ( cli ) |
107 |
- ${PYTHON_REQUIRED_USE} |
108 |
-" |
109 |
- |
110 |
-COMMON_DEPEND=" |
111 |
- !libav? ( >=media-video/ffmpeg-3.2.2:0=[encode?,threads,vaapi?,vdpau?] ) |
112 |
- libav? ( >=media-video/libav-12:0=[encode?,threads,vaapi?,vdpau?] ) |
113 |
- sys-libs/zlib |
114 |
- alsa? ( >=media-libs/alsa-lib-1.0.18 ) |
115 |
- archive? ( >=app-arch/libarchive-3.0.0:= ) |
116 |
- bluray? ( >=media-libs/libbluray-0.3.0:= ) |
117 |
- cdda? ( dev-libs/libcdio-paranoia ) |
118 |
- cuda? ( >=media-video/ffmpeg-3.3:0 ) |
119 |
- drm? ( x11-libs/libdrm ) |
120 |
- dvd? ( |
121 |
- >=media-libs/libdvdnav-4.2.0 |
122 |
- >=media-libs/libdvdread-4.1.0 |
123 |
- ) |
124 |
- egl? ( media-libs/mesa[egl,gbm(-)?,wayland(-)?] ) |
125 |
- iconv? ( |
126 |
- virtual/libiconv |
127 |
- uchardet? ( app-i18n/uchardet ) |
128 |
- ) |
129 |
- jack? ( virtual/jack ) |
130 |
- jpeg? ( virtual/jpeg:0 ) |
131 |
- lcms? ( >=media-libs/lcms-2.6:2 ) |
132 |
- libass? ( |
133 |
- >=media-libs/libass-0.12.1:=[fontconfig,harfbuzz] |
134 |
- virtual/ttf-fonts |
135 |
- ) |
136 |
- libcaca? ( >=media-libs/libcaca-0.99_beta18 ) |
137 |
- lua? ( |
138 |
- !luajit? ( <dev-lang/lua-5.3:= ) |
139 |
- luajit? ( dev-lang/luajit:2 ) |
140 |
- ) |
141 |
- openal? ( >=media-libs/openal-1.13 ) |
142 |
- pulseaudio? ( media-sound/pulseaudio ) |
143 |
- raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 ) |
144 |
- rubberband? ( >=media-libs/rubberband-1.8.0 ) |
145 |
- samba? ( net-fs/samba[smbclient(+)] ) |
146 |
- sdl? ( media-libs/libsdl2[sound,threads,video] ) |
147 |
- v4l? ( media-libs/libv4l ) |
148 |
- vaapi? ( >=x11-libs/libva-1.4.0[drm?,X?,wayland?] ) |
149 |
- vdpau? ( >=x11-libs/libvdpau-0.2 ) |
150 |
- wayland? ( |
151 |
- >=dev-libs/wayland-1.6.0 |
152 |
- >=x11-libs/libxkbcommon-0.3.0 |
153 |
- ) |
154 |
- X? ( |
155 |
- x11-libs/libX11 |
156 |
- x11-libs/libXScrnSaver |
157 |
- x11-libs/libXext |
158 |
- x11-libs/libXinerama |
159 |
- x11-libs/libXrandr |
160 |
- opengl? ( |
161 |
- x11-libs/libXdamage |
162 |
- virtual/opengl |
163 |
- ) |
164 |
- xv? ( x11-libs/libXv ) |
165 |
- ) |
166 |
-" |
167 |
-DEPEND="${COMMON_DEPEND} |
168 |
- ${PYTHON_DEPS} |
169 |
- dev-python/docutils |
170 |
- virtual/pkgconfig |
171 |
- doc? ( dev-python/rst2pdf ) |
172 |
- dvb? ( virtual/linuxtv-dvb-headers ) |
173 |
- test? ( >=dev-util/cmocka-1.0.0 ) |
174 |
- v4l? ( virtual/os-headers ) |
175 |
- zsh-completion? ( dev-lang/perl ) |
176 |
-" |
177 |
-RDEPEND="${COMMON_DEPEND} |
178 |
- cuda? ( x11-drivers/nvidia-drivers[X] ) |
179 |
- selinux? ( sec-policy/selinux-mplayer ) |
180 |
- tools? ( ${PYTHON_DEPS} ) |
181 |
-" |
182 |
- |
183 |
-PATCHES=( |
184 |
- "${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch" |
185 |
- "${FILESDIR}/${PN}-0.23.0-make-libavdevice-check-accept-libav.patch" |
186 |
- "${FILESDIR}/${PN}-0.25.0-fix-float-comparisons-in-tests.patch" |
187 |
-) |
188 |
- |
189 |
-mpv_check_compiler() { |
190 |
- if [[ ${MERGE_TYPE} != "binary" ]]; then |
191 |
- if ! tc-is-gcc && use vaapi && use cpu_flags_x86_sse4_1 && \ |
192 |
- { has_version '<media-video/ffmpeg-3.3:0' || has_version '<media-video/libav-13:0'; }; then |
193 |
- die "${PN} requires GCC for SSE4.1 intrinsics." |
194 |
- fi |
195 |
- fi |
196 |
-} |
197 |
- |
198 |
-pkg_pretend() { |
199 |
- mpv_check_compiler |
200 |
-} |
201 |
- |
202 |
-pkg_setup() { |
203 |
- mpv_check_compiler |
204 |
- [[ ${MERGE_TYPE} != "binary" ]] && python_setup |
205 |
-} |
206 |
- |
207 |
-src_prepare() { |
208 |
- cp "${DISTDIR}/waf-${WAF_PV}" "${S}"/waf || die |
209 |
- chmod +x "${S}"/waf || die |
210 |
- default_src_prepare |
211 |
- eapply "${WORKDIR}/${PV}" |
212 |
-} |
213 |
- |
214 |
-src_configure() { |
215 |
- tc-export CC PKG_CONFIG AR |
216 |
- |
217 |
- if tc-is-cross-compiler && use raspberry-pi; then |
218 |
- export EXTRA_PKG_CONFIG_LIBDIR="${SYSROOT%/}${EPREFIX}/opt/vc/lib/pkgconfig" |
219 |
- # Drop next line when Gentoo bug 607344 is fixed or if you fixed it locally. |
220 |
- die "${PN} can't be cross built with raspberry-pi USE enabled. See Gentoo bug 607344." |
221 |
- fi |
222 |
- |
223 |
- local mywafargs=( |
224 |
- --confdir="${EPREFIX}/etc/${PN}" |
225 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" |
226 |
- --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" |
227 |
- |
228 |
- $(usex cli '' '--disable-cplayer') |
229 |
- $(use_enable libmpv libmpv-shared) |
230 |
- |
231 |
- --disable-libmpv-static |
232 |
- --disable-static-build |
233 |
- # See deep down below for build-date. |
234 |
- --disable-optimize # Don't add '-O2' to CFLAGS. |
235 |
- --disable-debug-build # Don't add '-g' to CFLAGS. |
236 |
- --enable-html-build |
237 |
- |
238 |
- $(use_enable doc pdf-build) |
239 |
- $(use_enable cplugins) |
240 |
- $(use_enable vf-dlopen vf-dlopen-filters) |
241 |
- $(use_enable zsh-completion zsh-comp) |
242 |
- $(use_enable test) |
243 |
- |
244 |
- $(use_enable iconv) |
245 |
- $(use_enable samba libsmbclient) |
246 |
- $(use_enable lua) |
247 |
- $(usex luajit '--lua=luajit' '') |
248 |
- $(use_enable libass) |
249 |
- $(use_enable libass libass-osd) |
250 |
- $(use_enable encode encoding) |
251 |
- $(use_enable bluray libbluray) |
252 |
- $(use_enable dvd dvdread) |
253 |
- $(use_enable dvd dvdnav) |
254 |
- $(use_enable cdda) |
255 |
- $(use_enable uchardet) |
256 |
- $(use_enable rubberband) |
257 |
- $(use_enable lcms lcms2) |
258 |
- --disable-vapoursynth # Only available in overlays. |
259 |
- --disable-vapoursynth-lazy |
260 |
- $(use_enable archive libarchive) |
261 |
- |
262 |
- --enable-libavdevice |
263 |
- |
264 |
- # Audio outputs: |
265 |
- $(use_enable sdl sdl2) # Listed under audio, but also includes video. |
266 |
- --disable-sdl1 |
267 |
- $(use_enable oss oss-audio) |
268 |
- --disable-rsound # Only available in overlays. |
269 |
- --disable-sndio # Only available in overlays. |
270 |
- $(use_enable pulseaudio pulse) |
271 |
- $(use_enable jack) |
272 |
- $(use_enable openal) |
273 |
- --disable-opensles |
274 |
- $(use_enable alsa) |
275 |
- $(use_enable coreaudio) |
276 |
- |
277 |
- # Video outputs: |
278 |
- $(use_enable aqua cocoa) |
279 |
- $(use_enable drm) |
280 |
- $(use_enable gbm) |
281 |
- $(use_enable wayland) |
282 |
- $(use_enable X x11) |
283 |
- $(use_enable xv) |
284 |
- $(usex opengl "$(use_enable aqua gl-cocoa)" '--disable-gl-cocoa') |
285 |
- $(usex opengl "$(use_enable X gl-x11)" '--disable-gl-x11') |
286 |
- $(usex egl "$(use_enable X egl-x11)" '--disable-egl-x11') |
287 |
- $(usex egl "$(use_enable gbm egl-drm)" '--disable-egl-drm') |
288 |
- $(usex opengl "$(use_enable wayland gl-wayland)" '--disable-gl-wayland') |
289 |
- $(use_enable vdpau) |
290 |
- $(usex vdpau "$(use_enable opengl vdpau-gl-x11)" '--disable-vdpau-gl-x11') |
291 |
- $(use_enable vaapi) # See below for vaapi-glx, vaapi-x-egl. |
292 |
- $(usex vaapi "$(use_enable X vaapi-x11)" '--disable-vaapi-x11') |
293 |
- $(usex vaapi "$(use_enable wayland vaapi-wayland)" '--disable-vaapi-wayland') |
294 |
- $(usex vaapi "$(use_enable gbm vaapi-drm)" '--disable-vaapi-drm') |
295 |
- $(use_enable libcaca caca) |
296 |
- $(use_enable jpeg) |
297 |
- --disable-android |
298 |
- $(use_enable raspberry-pi rpi) |
299 |
- $(usex libmpv "$(use_enable opengl plain-gl)" '--disable-plain-gl') |
300 |
- --disable-mali-fbdev # Only available in overlays. |
301 |
- $(usex opengl '' '--disable-gl') |
302 |
- |
303 |
- # HWaccels: |
304 |
- # Automagic Video Toolbox HW acceleration. See Gentoo bug 577332. |
305 |
- $(use_enable vaapi vaapi-hwaccel) |
306 |
- $(use_enable vdpau vdpau-hwaccel) |
307 |
- $(use_enable cuda cuda-hwaccel) |
308 |
- |
309 |
- # TV features: |
310 |
- $(use_enable v4l tv) |
311 |
- $(use_enable v4l tv-v4l2) |
312 |
- $(use_enable v4l libv4l2) |
313 |
- $(use_enable v4l audio-input) |
314 |
- $(use_enable dvb dvbin) |
315 |
- |
316 |
- # Miscellaneous features: |
317 |
- --disable-apple-remote # Needs testing first. See Gentoo bug 577332. |
318 |
- ) |
319 |
- |
320 |
- if use vaapi && use X; then |
321 |
- mywafargs+=( |
322 |
- $(use_enable opengl vaapi-glx) |
323 |
- $(use_enable egl vaapi-x-egl) |
324 |
- ) |
325 |
- fi |
326 |
- |
327 |
- # Create reproducible non-live builds. |
328 |
- [[ ${PV} != *9999* ]] && mywafargs+=(--disable-build-date) |
329 |
- |
330 |
- waf-utils_src_configure "${mywafargs[@]}" |
331 |
-} |
332 |
- |
333 |
-src_install() { |
334 |
- waf-utils_src_install |
335 |
- |
336 |
- if use lua; then |
337 |
- insinto /usr/share/${PN} |
338 |
- doins -r TOOLS/lua |
339 |
- fi |
340 |
- |
341 |
- if use cli && use luajit; then |
342 |
- pax-mark -m "${ED}"usr/bin/${PN} |
343 |
- fi |
344 |
- |
345 |
- if use tools; then |
346 |
- dobin TOOLS/{mpv_identify.sh,umpv} |
347 |
- newbin TOOLS/idet.sh mpv_idet.sh |
348 |
- python_replicate_script "${ED}"usr/bin/umpv |
349 |
- fi |
350 |
-} |
351 |
- |
352 |
-pkg_preinst() { |
353 |
- gnome2_icon_savelist |
354 |
-} |
355 |
- |
356 |
-pkg_postinst() { |
357 |
- local rv softvol_0_18_1=0 osc_0_21_0=0 txtsubs_0_24_0=0 opengl_0_25_0=0 |
358 |
- |
359 |
- for rv in ${REPLACING_VERSIONS}; do |
360 |
- version_compare ${rv} 0.18.1 |
361 |
- [[ $? -eq 1 ]] && softvol_0_18_1=1 |
362 |
- version_compare ${rv} 0.21.0 |
363 |
- [[ $? -eq 1 ]] && osc_0_21_0=1 |
364 |
- version_compare ${rv} 0.24.0 |
365 |
- [[ $? -eq 1 ]] && txtsubs_0_24_0=1 |
366 |
- version_compare ${rv} 0.25.0 |
367 |
- [[ $? -eq 1 ]] && ! use opengl && opengl_0_25_0=1 |
368 |
- done |
369 |
- |
370 |
- if [[ ${softvol_0_18_1} -eq 1 ]]; then |
371 |
- elog "Since version 0.18.1 the software volume control is always enabled." |
372 |
- elog "This means that volume controls don't change the system volume," |
373 |
- elog "e.g. per-application volume with PulseAudio." |
374 |
- elog "If you want to restore the previous behaviour, please refer to" |
375 |
- elog |
376 |
- elog "https://wiki.gentoo.org/wiki/Mpv#Volume_in_0.18.1" |
377 |
- elog |
378 |
- fi |
379 |
- |
380 |
- if [[ ${osc_0_21_0} -eq 1 ]]; then |
381 |
- elog "In version 0.21.0 the default OSC layout was changed." |
382 |
- elog "If you want to restore the previous layout, please refer to" |
383 |
- elog |
384 |
- elog "https://wiki.gentoo.org/wiki/Mpv#OSC_in_0.21.0" |
385 |
- elog |
386 |
- fi |
387 |
- |
388 |
- if [[ ${txtsubs_0_24_0} -eq 1 ]]; then |
389 |
- elog "Since version 0.24.0 subtitles with .txt extension aren't autoloaded." |
390 |
- elog "If you want to restore the previous behaviour, please refer to" |
391 |
- elog |
392 |
- elog "https://wiki.gentoo.org/wiki/Mpv#Subtitles_with_.txt_extension_in_0.24.0" |
393 |
- elog |
394 |
- fi |
395 |
- |
396 |
- if [[ ${opengl_0_25_0} -eq 1 ]]; then |
397 |
- elog "Since version 0.25.0 the 'opengl' USE flag is mapped to" |
398 |
- elog "the 'opengl' video output and no longer explicitly requires" |
399 |
- elog "X11 or Mac OS Aqua. Consider enabling the 'opengl' USE flag." |
400 |
- fi |
401 |
- |
402 |
- if use cli && ! has_version 'app-shells/mpv-bash-completion'; then |
403 |
- elog "If you want to have command-line completion via bash-completion," |
404 |
- elog "please install app-shells/mpv-bash-completion." |
405 |
- fi |
406 |
- |
407 |
- if use cli && [[ -n ${REPLACING_VERSIONS} ]] && \ |
408 |
- has_version 'app-shells/mpv-bash-completion'; then |
409 |
- elog "If command-line completion doesn't work after mpv update," |
410 |
- elog "please rebuild app-shells/mpv-bash-completion." |
411 |
- fi |
412 |
- |
413 |
- gnome2_icon_cache_update |
414 |
- xdg_desktop_database_update |
415 |
-} |
416 |
- |
417 |
-pkg_postrm() { |
418 |
- gnome2_icon_cache_update |
419 |
- xdg_desktop_database_update |
420 |
-} |
421 |
- |
422 |
-src_test() { |
423 |
- cd "${S}"/build/test || die |
424 |
- local test |
425 |
- for test in *; do |
426 |
- if [[ -x ${test} ]]; then |
427 |
- ./"${test}" || die "Test suite failed" |
428 |
- fi |
429 |
- done |
430 |
-} |