| 27 |
27 |
fi
|
| 28 |
28 |
S="${WORKDIR}/${MY_P}"
|
| 29 |
29 |
fi
|
| 30 |
|
KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv -sparc x86"
|
|
30 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv -sparc ~x86"
|
| 31 |
31 |
fi
|
| 32 |
32 |
inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg
|
| 33 |
33 |
|
| ... | ... | |
| 37 |
37 |
LICENSE="LGPL-2.1 GPL-2"
|
| 38 |
38 |
SLOT="0/5-9" # vlc - vlccore
|
| 39 |
39 |
|
| 40 |
|
IUSE="a52 alsa aom archive aribsub bidi bluray cddb chromaprint chromecast dav1d dbus
|
| 41 |
|
dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth
|
|
40 |
IUSE="alsa aom archive aribsub bidi bluray chromaprint chromecast dav1d dbus
|
|
41 |
dc1394 debug directx +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth
|
| 42 |
42 |
fontconfig +gcrypt gme keyring gstreamer +gui ieee1394 jack jpeg kate
|
| 43 |
43 |
libass libcaca libnotify +libsamplerate libtiger linsys lirc live lua
|
| 44 |
|
macosx-notifications mad matroska modplug mp3 mpeg mtp musepack ncurses nfs ogg
|
| 45 |
|
omxil optimisememory opus png projectm pulseaudio run-as-root samba sdl-image
|
|
44 |
macosx-notifications mad matroska modplug mp3 mtp musepack ncurses nfs ogg
|
|
45 |
omxil optimisememory opus png projectm pulseaudio run-as-root samba
|
| 46 |
46 |
sftp shout sid skins soxr speex srt ssl svg taglib theora tremor truetype twolame
|
| 47 |
47 |
udev upnp vaapi v4l vdpau vnc vpx wayland +X x264 x265 xml zeroconf zvbi
|
| 48 |
48 |
cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse
|
| ... | ... | |
| 77 |
77 |
virtual/zlib:=
|
| 78 |
78 |
virtual/libintl
|
| 79 |
79 |
virtual/opengl
|
| 80 |
|
a52? ( media-libs/a52dec )
|
| 81 |
80 |
alsa? ( media-libs/alsa-lib )
|
| 82 |
81 |
aom? ( media-libs/libaom:= )
|
| 83 |
82 |
archive? ( app-arch/libarchive:= )
|
| ... | ... | |
| 89 |
88 |
virtual/ttf-fonts
|
| 90 |
89 |
)
|
| 91 |
90 |
bluray? ( >=media-libs/libbluray-1.3.0:= )
|
| 92 |
|
cddb? ( media-libs/libcddb )
|
| 93 |
91 |
chromaprint? ( media-libs/chromaprint:= )
|
| 94 |
92 |
chromecast? (
|
| 95 |
93 |
dev-cpp/abseil-cpp:=
|
| ... | ... | |
| 102 |
100 |
media-libs/libdc1394:2
|
| 103 |
101 |
sys-libs/libraw1394
|
| 104 |
102 |
)
|
| 105 |
|
dts? ( media-libs/libdca )
|
| 106 |
103 |
dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:= )
|
| 107 |
104 |
dvd? (
|
| 108 |
105 |
>=media-libs/libdvdnav-6.1.1:=
|
| ... | ... | |
| 165 |
162 |
)
|
| 166 |
163 |
modplug? ( >=media-libs/libmodplug-0.8.9.0 )
|
| 167 |
164 |
mp3? ( media-sound/mpg123-base )
|
| 168 |
|
mpeg? ( media-libs/libmpeg2 )
|
| 169 |
165 |
mtp? ( media-libs/libmtp:= )
|
| 170 |
166 |
musepack? ( media-sound/musepack-tools )
|
| 171 |
167 |
ncurses? ( sys-libs/ncurses:=[unicode(+)] )
|
| ... | ... | |
| 179 |
175 |
)
|
| 180 |
176 |
pulseaudio? ( media-libs/libpulse )
|
| 181 |
177 |
samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] )
|
| 182 |
|
sdl-image? ( media-libs/sdl-image )
|
| 183 |
178 |
sftp? ( net-libs/libssh2 )
|
| 184 |
179 |
shout? ( media-libs/libshout )
|
| 185 |
180 |
sid? ( media-libs/libsidplay:2 )
|
| ... | ... | |
| 296 |
291 |
--enable-vcd
|
| 297 |
292 |
--enable-vlc
|
| 298 |
293 |
--enable-vorbis
|
| 299 |
|
$(use_enable a52) # not officially supported anymore (avcodec takes priority)
|
| 300 |
294 |
$(use_enable alsa)
|
| 301 |
295 |
$(use_enable aom)
|
| 302 |
296 |
$(use_enable archive)
|
| ... | ... | |
| 304 |
298 |
$(use_enable bidi fribidi)
|
| 305 |
299 |
$(use_enable bidi harfbuzz)
|
| 306 |
300 |
$(use_enable bluray)
|
| 307 |
|
$(use_enable cddb libcddb)
|
| 308 |
301 |
$(use_enable chromaprint)
|
| 309 |
302 |
$(use_enable chromecast)
|
| 310 |
303 |
$(use_enable chromecast microdns)
|
| ... | ... | |
| 320 |
313 |
$(use_enable directx)
|
| 321 |
314 |
$(use_enable directx d3d11va)
|
| 322 |
315 |
$(use_enable directx dxva2)
|
| 323 |
|
$(use_enable dts dca) # not officially supported anymore (avcodec takes priority)
|
| 324 |
316 |
$(use_enable dvbpsi)
|
| 325 |
317 |
$(use_enable dvd dvdnav)
|
| 326 |
318 |
$(use_enable dvd dvdread)
|
| ... | ... | |
| 357 |
349 |
$(use_enable matroska)
|
| 358 |
350 |
$(use_enable modplug mod)
|
| 359 |
351 |
$(use_enable mp3 mpg123)
|
| 360 |
|
$(use_enable mpeg libmpeg2) # not officially supported anymore (avcodec takes priority)
|
| 361 |
352 |
$(use_enable mtp)
|
| 362 |
353 |
$(use_enable musepack mpc)
|
| 363 |
354 |
$(use_enable ncurses)
|
| ... | ... | |
| 372 |
363 |
$(use_enable pulseaudio pulse)
|
| 373 |
364 |
$(use_enable run-as-root)
|
| 374 |
365 |
$(use_enable samba smbclient)
|
| 375 |
|
$(use_enable sdl-image)
|
| 376 |
366 |
$(use_enable sftp)
|
| 377 |
367 |
$(use_enable shout)
|
| 378 |
368 |
$(use_enable sid)
|
| ... | ... | |
| 406 |
396 |
$(use_enable zvbi)
|
| 407 |
397 |
$(use_enable !zvbi telx)
|
| 408 |
398 |
--with-kde-solid="${EPREFIX}"/usr/share/solid/actions
|
|
399 |
--disable-a52 # not officially supported anymore (avcodec takes priority)
|
| 409 |
400 |
--disable-asdcp
|
| 410 |
401 |
--disable-coverage
|
| 411 |
402 |
--disable-cprof
|
| 412 |
403 |
--disable-crystalhd
|
| 413 |
404 |
--disable-decklink
|
|
405 |
--disable-dca # not officially supported anymore (avcodec takes priority)
|
| 414 |
406 |
--disable-gles2
|
| 415 |
407 |
--disable-goom
|
| 416 |
408 |
--disable-kai
|
| 417 |
409 |
--disable-kva
|
|
410 |
--disable-libcddb # not officially supported anymore
|
|
411 |
--disable-libmpeg2 # not officially supported anymore (avcodec takes priority)
|
| 418 |
412 |
--disable-libplacebo
|
| 419 |
413 |
--disable-maintainer-mode
|
| 420 |
414 |
--disable-merge-ffmpeg
|
| ... | ... | |
| 425 |
419 |
--disable-oss
|
| 426 |
420 |
--disable-rpi-omxil
|
| 427 |
421 |
--disable-schroedinger
|
|
422 |
--disable-sdl-image # not officially supported anymore
|
| 428 |
423 |
--disable-shine
|
| 429 |
424 |
--disable-sndio
|
| 430 |
425 |
--disable-spatialaudio
|
| ... | ... | |
| 487 |
482 |
src_install() {
|
| 488 |
483 |
default
|
| 489 |
484 |
find "${ED}" -name '*.la' -delete || die
|
|
485 |
|
|
486 |
if ! use gui; then
|
|
487 |
rm "${ED}"/usr/share/applications/*desktop || die
|
|
488 |
fi
|
| 490 |
489 |
}
|
| 491 |
490 |
|
| 492 |
491 |
pkg_postinst() {
|
| ... | ... | |
| 499 |
498 |
ewarn "If you do not do it, vlc will take a long time to load."
|
| 500 |
499 |
fi
|
| 501 |
500 |
|
| 502 |
|
xdg_pkg_postinst
|
|
501 |
use gui && xdg_pkg_postinst
|
| 503 |
502 |
}
|
| 504 |
503 |
|
| 505 |
504 |
pkg_postrm() {
|
| ... | ... | |
| 507 |
506 |
rm "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
|
| 508 |
507 |
fi
|
| 509 |
508 |
|
| 510 |
|
xdg_pkg_postrm
|
|
509 |
use gui && xdg_pkg_postrm
|
| 511 |
510 |
}
|