index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-04-07 19:21:30 +0300 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-04-07 19:21:30 +0300 |
commit | 0de96c1124886c5c4473d9ad48797d07780e7d3b (patch) | |
tree | 30db42d604de4bbb3f43d9c9176c76ed869c9815 /extra/ffmpeg | |
parent | 350febd666d73ca65eb7f838a305984f4cc8fc78 (diff) |
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 35 |
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index 53170066..7035be65 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -1,24 +1,37 @@ -# disable LTO (breaks with too few registers in error: 'asm' operand has impossible constraints +Disable mfx - libmfx does not compile +depends=(${depends[@]//libmfx/}) eval "$( -declare -f build | \ - sed ' - s/--enable-lto/--disable-lto/ - ' + declare -f build | \ + sed ' + s/--enable-libmfx/--disable-libmfx/ + ' )" -# also disable mfx - libmfx does not compile -depends=(${depends[@]//libmfx/}) +# also disable onevpl, it does not compile +depends=(${depends[@]//onevpl/}) eval "$( declare -f build | \ sed ' - s/--enable-libmfx/--disable-libmfx/ + s/--enable-libvpl/--disable-libvpl/ ' )" +# Disable cuda llvm and nvenc. No idea why the latter fails. +eval "$( + declare -f build | \ + sed ' + s/--enable-cuda-llvm/--disable-cuda-llvm/;s/--enable-nvenc/--disable-nvenc/ + ' +)" + +# Remove above dependencies +makedepends=(${makedepends[@]//onevpl/}) +makedepends=(${makedepends[@]//clang/}) + # no vamf for non-pentium4 if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then depends=(${depends[@]//vmaf/}) - + eval "$( declare -f prepare | \ sed ' @@ -29,14 +42,14 @@ if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then eval "$( declare -f build | \ sed ' - s/--enable-libvmaf/--disable-libvmaf/ + s/--enable-libvmaf// ' )" fi # force picking of a modern libvpx and not libvpx1.3 needed for steam -makedepends+=('libvpx>=1.8.2') +#makedepends+=('libvpx>=1.8.2') # no AviSynthPlus on i486 (uses Intel intrinsics and cmake support for # disabling it is broken) |