Сравнение ffmpeg-chromium-102 с ffmpeg-chromium-106

/usr/portage/media-video/ffmpeg-chromium/ffmpeg-chromium-106.ebuild 2023-10-09 14:52:31.820368409 +0300
5 5

  
6 6
inherit flag-o-matic toolchain-funcs
7 7

  
8
COMMIT="5cd95cdf972ad92c38a4ea2d059ac9d6167302ca"
8
COMMIT="42601c274d7a39f5ded391024c52ff444f144f75"
9 9
DESCRIPTION="FFmpeg built specifically for codec support in Chromium-based browsers"
10 10
HOMEPAGE="https://ffmpeg.org/"
11
SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${P}.tar.gz"
11
SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${P}.tar.xz"
12 12

  
13 13
SLOT="${PV}"
14 14
LICENSE="
......
28 28
		vaapi vdpau vulkan
29 29
		# decoders
30 30
		mmal +opus:libopus
31
		video_cards_nvidia:ffnvcodec
31
		nvenc:ffnvcodec
32 32
		# Threads; we only support pthread for now but ffmpeg supports more
33 33
		+threads:pthreads
34 34
)
......
92 92
	mmal? ( media-libs/raspberrypi-userland )
93 93
	opus? ( >=media-libs/opus-1.0.2-r2 )
94 94
	vaapi? ( >=media-libs/libva-1.2.1-r1:0= )
95
	video_cards_nvidia? ( >=media-libs/nv-codec-headers-9.1.23.1 )
95
	nvenc? ( >=media-libs/nv-codec-headers-9.1.23.1 )
96 96
	vdpau? ( >=x11-libs/libvdpau-0.7 )
97 97
	vulkan? ( >=media-libs/vulkan-loader-1.2.189:= )
98 98
"
......
111 111
	test
112 112
"
113 113

  
114
S="${WORKDIR}"
115

  
116 114
PATCHES=(
117 115
	"${FILESDIR}"/${PN}-100.patch
118 116
	"${FILESDIR}"/${PN}-vk-headers.patch
......
165 163
		break
166 164
	done
167 165

  
168
	# LTO support, bug #566282, bug #754654
166
	# LTO support, bug #566282, bug #754654, bug #772854
169 167
	is-flagq "-flto*" && myconf+=( "--enable-lto" )
170 168
	filter-lto
171 169

  
......
193 191
		esac
194 192
	fi
195 193

  
196
	local extra_libs
197
	if use arm || use ppc || use mips || [[ ${CHOST} == *i486* ]] ; then
198
		# bug #782811
199
		# bug #790590
200
		extra_libs+="$(test-flags-CCLD -latomic) "
201
	fi
202

  
194
	# Use --extra-libs if needed for LIBS
203 195
	set -- "${S}/configure" \
204 196
		--prefix="${EPREFIX}/usr" \
205 197
		--libdir="${EPREFIX}/usr/$(get_libdir)" \
......
212 204
		--ranlib="$(tc-getRANLIB)" \
213 205
		--pkg-config="$(tc-getPKG_CONFIG)" \
214 206
		--optflags="${CFLAGS}" \
215
		--extra-libs="${extra_libs}" \
216 207
		--disable-all \
217 208
		--disable-autodetect \
218 209
		--disable-error-resilience \
Спасибо!