Update to 9.0
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
# Contributor: Iacopo Isimbaldi <isiachi@rhye.it>
|
||||
|
||||
pkgname=ffmpeg-full
|
||||
pkgver=8.1.2
|
||||
pkgrel=1.1
|
||||
_whispercpp_ver='1.9.1'
|
||||
pkgver=9.0
|
||||
pkgrel=2.1
|
||||
_whispercpp_ver='1.9.2'
|
||||
pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)'
|
||||
arch=('x86_64')
|
||||
url='https://ffmpeg.org/'
|
||||
@@ -22,7 +22,6 @@ depends=(
|
||||
'fribidi'
|
||||
'glib2'
|
||||
'glibc'
|
||||
'glslang'
|
||||
'gnutls'
|
||||
'harfbuzz'
|
||||
'jack'
|
||||
@@ -100,11 +99,13 @@ makedepends=(
|
||||
'cuda'
|
||||
'ffnvcodec-headers'
|
||||
'git'
|
||||
'glslang'
|
||||
'gmp'
|
||||
'libgl'
|
||||
'lv2'
|
||||
'nasm'
|
||||
'opencl-headers'
|
||||
'spirv-headers'
|
||||
'vulkan-headers')
|
||||
provides=(
|
||||
'ffmpeg'
|
||||
@@ -123,12 +124,12 @@ source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc}
|
||||
'050-ffmpeg-fix-cuda-nvcc-with-gcc14.patch'
|
||||
'060-ffmpeg-whisper.cpp-fix-pkgconfig.patch'
|
||||
'LICENSE')
|
||||
sha256sums=('464beb5e7bf0c311e68b45ae2f04e9cc2af88851abb4082231742a74d97b524c'
|
||||
sha256sums=('7f607a00dd0d28a729d5a4811205812eef01cf6ef6155025febb6f36a9062d52'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'147267177eef7b22ec3d2476dd514d1b12e160e176230b740e3d1bd600118447'
|
||||
'95223dda645c15b3daf79cd4d55df5d4ac46207f749973396bb761b743586ed6'
|
||||
'1bbd783da8483e2cffe99715125dddbd88c81ae36f28eee5ae7df5705c448077'
|
||||
'a6abd064fcca8b85e794d205abf328c522e9451db43a3eadc178b883b7d0e9cd'
|
||||
'cd1aa93e78800247b4516a01ef391106acb362957bd1e56f85d64906343cddac'
|
||||
'4a9a672f67cc0e5dd63bd7659f5a5198cd981e60bbbc1b9a63277758be6a7fdf'
|
||||
'8d834668c277071dabe91db2a38bf2c02cd73cc5be0ceeb0ed1e176ab9525c68'
|
||||
'04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36')
|
||||
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
|
||||
@@ -150,7 +151,7 @@ build() {
|
||||
'-DCMAKE_BUILD_TYPE:STRING=None'
|
||||
"-DCMAKE_INSTALL_PREFIX:PATH=${_stagingdir}"
|
||||
'-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON'
|
||||
'-Wno-dev')
|
||||
'-Wno-author')
|
||||
|
||||
# ffmpeg requires lensfun git master, but lensfun-git package wrongly installs its files to non-standard locations:
|
||||
# https://aur.archlinux.org/cgit/aur.git/commit/?h=lensfun-git&id=7b7a2d4890df59cde62c7dbfde3cefd7868a2707
|
||||
@@ -166,8 +167,8 @@ build() {
|
||||
-e 's/\(-llensfun\)/\1 -lglib-2.0 -lstdc++/' \
|
||||
-e '/Cflags: /s/$/ -DCONF_LENSFUN_STATIC/' "${_pkgconfigdir}/lensfun.pc"
|
||||
|
||||
# whisper.cpp AUR package conflicts with imagemagick at the time of writing
|
||||
# building it locally as a static library for the time being, as imagemagick is a commonly used package (high usage in pkgstats)
|
||||
# using whisper-cpp package from the official repositories will cause a circular dependency with ffmpeg,
|
||||
# building it locally as a static library for the time being
|
||||
cmake -B build/whisper.cpp -S "whisper.cpp-${_whispercpp_ver}" \
|
||||
"${_cmake_opts[@]}" \
|
||||
-DWHISPER_BUILD_EXAMPLES:BOOL='OFF' \
|
||||
@@ -218,7 +219,6 @@ build() {
|
||||
--enable-libfontconfig \
|
||||
--enable-libfreetype \
|
||||
--enable-libfribidi \
|
||||
--enable-libglslang \
|
||||
--enable-libharfbuzz \
|
||||
--enable-libjack \
|
||||
--enable-libjxl \
|
||||
@@ -237,7 +237,6 @@ build() {
|
||||
--enable-librsvg \
|
||||
--enable-librubberband \
|
||||
--enable-librtmp \
|
||||
--disable-libshaderc \
|
||||
--enable-libsnappy \
|
||||
--enable-sndio \
|
||||
--enable-libsoxr \
|
||||
|
||||
Reference in New Issue
Block a user