diff options
author | Alexandre Demers | 2024-04-11 20:28:31 -0400 |
---|---|---|
committer | Alexandre Demers | 2024-04-11 20:28:31 -0400 |
commit | 5c62e5a659fae9105c95ba11a56761b78c33c86d (patch) | |
tree | 2ff5267cd7217386aeeb9194b7d3af58d2911098 | |
parent | 079119c2ca21c51cf884342d4d56a57f673210f3 (diff) | |
download | aur-lib32-ffmpeg.tar.gz |
Merge lib32-libffmpeg package into lib32-ffmpeg
This will simplify things.
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 34 insertions, 49 deletions
@@ -1,7 +1,7 @@ pkgbase = lib32-ffmpeg pkgdesc = Complete solution to record, convert and stream audio and video (32 bit) pkgver = 6.1.1 - pkgrel = 1 + pkgrel = 2 epoch = 2 url = http://ffmpeg.org arch = x86_64 @@ -72,19 +72,6 @@ pkgbase = lib32-ffmpeg depends = lib32-zlib optdepends = lib32-ladspa: LADSPA filters optdepends = lib32-nvidia-utils: Nvidia NVDEC/NVENC support - options = debug - source = git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=6f4048827982a8f48f71f551a6e1ed2362816eec - source = add-av_stream_get_first_dts-for-chromium.patch - validpgpkeys = DD1EC9E8DE085C629B3E1846B18E8928B3948D64 - b2sums = SKIP - b2sums = 555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de - -pkgname = lib32-ffmpeg - pkgdesc = Complete solution to record, convert and stream audio and video (32 bit) - depends = lib32-libffmpeg - -pkgname = lib32-libffmpeg - pkgdesc = Complete solution to record, convert and stream audio and video - library (32 bit) provides = libavcodec.so provides = libavdevice.so provides = libavfilter.so @@ -93,4 +80,12 @@ pkgname = lib32-libffmpeg provides = libpostproc.so provides = libswresample.so provides = libswscale.so - provides = lib32-ffmpeg + conflicts = lib32-libffmpeg + replaces = lib32-libffmpeg + source = git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=6f4048827982a8f48f71f551a6e1ed2362816eec + source = add-av_stream_get_first_dts-for-chromium.patch + validpgpkeys = DD1EC9E8DE085C629B3E1846B18E8928B3948D64 + b2sums = SKIP + b2sums = 555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de + +pkgname = lib32-ffmpeg @@ -5,14 +5,16 @@ # Contributor: Paul Mattal <paul@archlinux.org> _pkgbasename=ffmpeg -pkgname=("lib32-$_pkgbasename" "lib32-lib$_pkgbasename") +pkgname=("lib32-$_pkgbasename") pkgver=6.1.1 -pkgrel=1 +pkgrel=2 epoch=2 pkgdesc="Complete solution to record, convert and stream audio and video (32 bit)" arch=('x86_64') url="http://ffmpeg.org" license=('GPL-3.0-only') +replaces=("lib32-lib$_pkgbasename") +conflicts=("lib32-lib$_pkgbasename") depends=( # "$_pkgbasename" "$_pkgbasename>=${epoch}:${pkgver}" @@ -105,8 +107,18 @@ optdepends=( # 'onevpl-intel-gpu: Intel QuickSync support' # 'vapoursynth: VapourSynth support' ) +provides=( + 'libavcodec.so' + 'libavdevice.so' + 'libavfilter.so' + 'libavformat.so' + 'libavutil.so' + 'libpostproc.so' + 'libswresample.so' + 'libswscale.so' +) options=( - debug +# debug ) _tag=6f4048827982a8f48f71f551a6e1ed2362816eec source=( @@ -145,6 +157,12 @@ prepare() { # Fix build with latest vulkan headers git cherry-pick -n fef22c87ada4517441701e6e61e062c9f4399c8e + + # avcodec/nvenc: stop using long deprecated format specifiers + git cherry-pick -n 43b417d516b0fabbec1f02120d948f636b8a018e + + # avcodec/nvenc: support SDK 12.2 bit depth API + git cherry-pick -n 06c2a2c425f22e7dba5cad909737a631cc676e3f } pkgver() { @@ -238,36 +256,8 @@ build() { make } -package_lib32-libffmpeg() { - pkgdesc="Complete solution to record, convert and stream audio and video - library (32 bit)" - provides=( - 'libavcodec.so' - 'libavdevice.so' - 'libavfilter.so' - 'libavformat.so' - 'libavutil.so' - 'libpostproc.so' - 'libswresample.so' - 'libswscale.so' - 'lib32-ffmpeg' - ) - - cd ${_pkgbasename} - - make DESTDIR="${pkgdir}" install - - rm -r "${pkgdir}"/usr/{include,bin,share} -} - package_lib32-ffmpeg() { - pkgdesc="Complete solution to record, convert and stream audio and video (32 bit)" - depends=( - "lib32-libffmpeg" - ) - - cd ${_pkgbasename} - - make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" -C ffmpeg install # Keep files in bin since this is not a library only package. # Use the same naming scheme as proposed in Arch's wiki: https://wiki.archlinux.org/index.php/32-bit_package_guidelines @@ -276,5 +266,5 @@ package_lib32-ffmpeg() { mv "$i" "$i"-32 done - rm -r "${pkgdir}"/usr/{include,lib32,share} -} + rm -r "${pkgdir}"/usr/{include,share} +}
\ No newline at end of file |