Сравнение vlc-3.0.23 с vlc-3.0.9999

/usr/portage/media-video/vlc/vlc-3.0.9999.ebuild 2026-05-20 19:17:03.657579452 +0300
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
inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg
32
inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg-utils
33 33

  
34 34
DESCRIPTION="Media player and framework with support for most multimedia files and streaming"
35 35
HOMEPAGE="https://www.videolan.org/vlc/"
......
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
42
	fontconfig +gcrypt gme keyring gstreamer +gui ieee1394 jack jpeg kate
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
46
	sftp shout sid skins soxr speex srt ssl svg taglib theora tremor truetype twolame
47
	udev upnp vaapi v4l vdpau vnc vpx wayland +X x264 x265 xml zeroconf zvbi
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
	fontconfig +gcrypt gme keyring gstreamer ieee1394 jack jpeg kate libass
43
	libcaca libnotify +libsamplerate libtiger linsys lirc live lua mad matroska
44
	modplug mp3 mtp musepack ncurses nfs ogg omxil optimisememory opus png
45
	projectm pulseaudio run-as-root samba sftp shout sid soxr speex srt ssl svg
46
	taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vpx
47
	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
49 49
"
50 50
REQUIRED_USE="
......
54 54
	libcaca? ( X )
55 55
	libtiger? ( kate )
56 56
	lua? ( ${LUA_REQUIRED_USE} )
57
	skins? ( archive gui truetype X xml )
58 57
	ssl? ( gcrypt )
59 58
	vaapi? ( ffmpeg X )
60 59
	vdpau? ( ffmpeg X )
......
77 76
	virtual/zlib:=
78 77
	virtual/libintl
79 78
	virtual/opengl
80
	a52? ( media-libs/a52dec )
81 79
	alsa? ( media-libs/alsa-lib )
82 80
	aom? ( media-libs/libaom:= )
83 81
	archive? ( app-arch/libarchive:= )
......
89 87
		virtual/ttf-fonts
90 88
	)
91 89
	bluray? ( >=media-libs/libbluray-1.3.0:= )
92
	cddb? ( media-libs/libcddb )
93 90
	chromaprint? ( media-libs/chromaprint:= )
94 91
	chromecast? (
95 92
		dev-cpp/abseil-cpp:=
......
102 99
		media-libs/libdc1394:2
103 100
		sys-libs/libraw1394
104 101
	)
105
	dts? ( media-libs/libdca )
106 102
	dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:= )
107 103
	dvd? (
108 104
		>=media-libs/libdvdnav-6.1.1:=
......
124 120
	gme? ( media-libs/game-music-emu )
125 121
	keyring? ( app-crypt/libsecret )
126 122
	gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 )
127
	gui? (
128
		dev-qt/qtcore:5
129
		dev-qt/qtgui:5
130
		dev-qt/qtsvg:5
131
		dev-qt/qtwidgets:5
132
		X? (
133
			dev-qt/qtx11extras:5
134
			x11-libs/libX11
135
		)
136
	)
137 123
	ieee1394? (
138 124
		sys-libs/libavc1394
139 125
		sys-libs/libraw1394
......
165 151
	)
166 152
	modplug? ( >=media-libs/libmodplug-0.8.9.0 )
167 153
	mp3? ( media-sound/mpg123-base )
168
	mpeg? ( media-libs/libmpeg2 )
169 154
	mtp? ( media-libs/libmtp:= )
170 155
	musepack? ( media-sound/musepack-tools )
171 156
	ncurses? ( sys-libs/ncurses:=[unicode(+)] )
......
179 164
	)
180 165
	pulseaudio? ( media-libs/libpulse )
181 166
	samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] )
182
	sdl-image? ( media-libs/sdl-image )
183 167
	sftp? ( net-libs/libssh2 )
184 168
	shout? ( media-libs/libshout )
185 169
	sid? ( media-libs/libsidplay:2 )
186
	skins? (
187
		x11-libs/libXext
188
		x11-libs/libXinerama
189
		x11-libs/libXpm
190
	)
191 170
	soxr? ( >=media-libs/soxr-0.1.2 )
192 171
	speex? (
193 172
		>=media-libs/speex-1.2.0
......
250 229
	if use lua; then
251 230
		lua-single_pkg_setup
252 231
	fi
232

  
233
	if has_version "<=media-video/vlc-3.0.9999[gui]"; then
234
		ewarn "Warning: User interface no longer available in VLC 3.x (Qt5 is dead)."
235
		ewarn "media-video/vlc-4 is available in ~arch with Qt6-based GUI instead."
236
	fi
253 237
}
254 238

  
255 239
src_prepare() {
......
296 280
		--enable-vcd
297 281
		--enable-vlc
298 282
		--enable-vorbis
299
		$(use_enable a52) # not officially supported anymore (avcodec takes priority)
300 283
		$(use_enable alsa)
301 284
		$(use_enable aom)
302 285
		$(use_enable archive)
......
304 287
		$(use_enable bidi fribidi)
305 288
		$(use_enable bidi harfbuzz)
306 289
		$(use_enable bluray)
307
		$(use_enable cddb libcddb)
308 290
		$(use_enable chromaprint)
309 291
		$(use_enable chromecast)
310 292
		$(use_enable chromecast microdns)
......
320 302
		$(use_enable directx)
321 303
		$(use_enable directx d3d11va)
322 304
		$(use_enable directx dxva2)
323
		$(use_enable dts dca) # not officially supported anymore (avcodec takes priority)
324 305
		$(use_enable dvbpsi)
325 306
		$(use_enable dvd dvdnav)
326 307
		$(use_enable dvd dvdread)
......
338 319
		$(use_enable gme)
339 320
		$(use_enable keyring secret)
340 321
		$(use_enable gstreamer gst-decode)
341
		$(use_enable gui qt)
342 322
		$(use_enable ieee1394 dv1394)
343 323
		$(use_enable jack)
344 324
		$(use_enable jpeg)
......
352 332
		$(use_enable lirc)
353 333
		$(use_enable live live555)
354 334
		$(use_enable lua)
355
		$(use_enable macosx-notifications osx-notifications)
356 335
		$(use_enable mad)
357 336
		$(use_enable matroska)
358 337
		$(use_enable modplug mod)
359 338
		$(use_enable mp3 mpg123)
360
		$(use_enable mpeg libmpeg2) # not officially supported anymore (avcodec takes priority)
361 339
		$(use_enable mtp)
362 340
		$(use_enable musepack mpc)
363 341
		$(use_enable ncurses)
......
372 350
		$(use_enable pulseaudio pulse)
373 351
		$(use_enable run-as-root)
374 352
		$(use_enable samba smbclient)
375
		$(use_enable sdl-image)
376 353
		$(use_enable sftp)
377 354
		$(use_enable shout)
378 355
		$(use_enable sid)
379
		$(use_enable skins skins2)
380 356
		$(use_enable soxr)
381 357
		$(use_enable speex)
382 358
		$(use_enable srt)
......
406 382
		$(use_enable zvbi)
407 383
		$(use_enable !zvbi telx)
408 384
		--with-kde-solid="${EPREFIX}"/usr/share/solid/actions
385
		--disable-a52 # not officially supported anymore (avcodec takes priority)
409 386
		--disable-asdcp
410 387
		--disable-coverage
411 388
		--disable-cprof
412 389
		--disable-crystalhd
413 390
		--disable-decklink
391
		--disable-dca # not officially supported anymore (avcodec takes priority)
414 392
		--disable-gles2
415 393
		--disable-goom
416 394
		--disable-kai
417 395
		--disable-kva
396
		--disable-libcddb # not officially supported anymore
397
		--disable-libmpeg2 # not officially supported anymore (avcodec takes priority)
418 398
		--disable-libplacebo
419 399
		--disable-maintainer-mode
420 400
		--disable-merge-ffmpeg
......
423 403
		--disable-opencv
424 404
		--disable-opensles
425 405
		--disable-oss
406
		--disable-osx-notifications # MacOS only
407
		--disable-qt # Qt5-based; bug #954006
426 408
		--disable-rpi-omxil
427 409
		--disable-schroedinger
410
		--disable-sdl-image # not officially supported anymore
428 411
		--disable-shine
412
		--disable-skins2 # requires Qt5-based IUSE gui
429 413
		--disable-sndio
430 414
		--disable-spatialaudio
431 415
		--disable-vsxu
432 416
		--disable-wasapi
433 417
		--disable-wma-fixed
434 418
	)
435
	# ^ We don't have these disabled libraries in the Portage tree yet.
419
	# ^ We don't have these disabled libraries in the Portage tree yet/anymore.
436 420

  
437 421
	# https://code.videolan.org/videolan/vlc/-/issues/17626 (bug #861143)
438 422
	append-flags -fno-strict-aliasing
......
487 471
src_install() {
488 472
	default
489 473
	find "${ED}" -name '*.la' -delete || die
474
	rm "${ED}"/usr/share/applications/*desktop || die
490 475
}
491 476

  
492 477
pkg_postinst() {
......
498 483
		ewarn "Please run ${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen manually"
499 484
		ewarn "If you do not do it, vlc will take a long time to load."
500 485
	fi
501

  
502
	xdg_pkg_postinst
503 486
}
504 487

  
505 488
pkg_postrm() {
506 489
	if [[ -e "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
507 490
		rm "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
508 491
	fi
509

  
510
	xdg_pkg_postrm
511 492
}
Спасибо!