From 21b6c8e69fdef9457923a1f7d9f8c2c094b0a56d Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 25 Jan 2024 14:11:54 +0000 Subject: [PATCH] extra/avidemux to 2.8.1-3 --- extra/avidemux/.SRCINFO | 85 +++++++++++++++++++++++++++++++++++++++++ extra/avidemux/PKGBUILD | 12 ++++-- 2 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 extra/avidemux/.SRCINFO diff --git a/extra/avidemux/.SRCINFO b/extra/avidemux/.SRCINFO new file mode 100644 index 000000000..f1eb6bd52 --- /dev/null +++ b/extra/avidemux/.SRCINFO @@ -0,0 +1,85 @@ +pkgbase = avidemux + pkgdesc = Graphical tool to edit video (filter/re-encode/split) + pkgver = 2.8.1 + pkgrel = 3 + url = http://fixounet.free.fr/avidemux/ + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = libxslt + makedepends = qt5-base + makedepends = jack + makedepends = libvorbis + makedepends = libxv + makedepends = opus + makedepends = desktop-file-utils + makedepends = alsa-lib + makedepends = lame + makedepends = xvidcore + makedepends = faad2 + makedepends = faac + makedepends = x264 + makedepends = x265 + makedepends = libsamplerate + makedepends = opencore-amr + makedepends = yasm + makedepends = mesa + makedepends = libvpx + makedepends = libpulse + makedepends = libva + makedepends = intltool + makedepends = sqlite + makedepends = libvdpau + makedepends = libdca + makedepends = fribidi + makedepends = glu + makedepends = qt5-tools + makedepends = twolame + makedepends = libfdk-aac + makedepends = libass + options = !emptydirs + source = https://downloads.sourceforge.net/avidemux/avidemux_2.8.1.tar.gz + source = log.diff + source = https://github.com/FFmpeg/FFmpeg/commit/effadce6.patch + sha256sums = 77d9bdca8683ce57c192b69d207cfab7cf92a7759ce0f63fa37b5c8e42ad3da2 + sha256sums = 8b751d137037f22fd4ae6750709014bcf61269a18f1c32e1a91f481285c807aa + sha256sums = 8fad5f253bcda7a17523dbfcbfcfd60b3db23783dcdb65998005cddc7c7776c3 + sha512sums = c8df5c0d7f20fd9003560dee7cc0964ba810fc2786cefd525c09fd9f740339dd92a42989938ca48c16aca778ed5bd93a56572b0c6397fe04e47225cc109e7d75 + sha512sums = bbae5b4a549113b12e728c4c0ac8c1c92a0b7500be8dcecc791c16c9a913406feaa9f7bc477985970a920d2df391cc9392457512d84b9c4b829981cc072f2b2e + sha512sums = 243553763c688f7d7c3d662061659fc650e2460c98128426a8e279c78dad412279a45340042b6db9a230564fe5c8e18915331077f9792fada936564835ca7d8f + +pkgname = avidemux-cli + depends = libxml2 + depends = fontconfig + depends = sqlite + depends = libvpx + depends = libva + depends = libvdpau + optdepends = lame: for the corresponding audio encoder plugin + optdepends = faac: for the corresponding audio encoder plugin + optdepends = faad2: for the corresponding audio decoder plugin + optdepends = opus: for the corresponding audio decoder plugin + optdepends = opencore-amr: for the corresponding audio decoder plugin + optdepends = jack: for the corresponding audio device plugin + optdepends = libpulse: for the corresponding audio device plugin + optdepends = x264: for the corresponding video encoder plugin + optdepends = libx264: for the corresponding video encoder plugin + optdepends = x265: for the corresponding video encoder plugin + optdepends = xvidcore: for the corresponding video encoder plugin + optdepends = qt5-base: for the QtScript scripting support + optdepends = libdca: for the corresponding audio decoder plugin + optdepends = libfdk-aac: for the corresponding audio decoder plugin + optdepends = twolame: for the corresponding audio decoder plugin + optdepends = libass: for the corresponding video filter plugin + optdepends = fribidi: for the corresponding video filter plugin + +pkgname = avidemux-qt + pkgdesc = Graphical tool to edit video (filter/re-encode/split) - Qt GUI + depends = avidemux-cli=2.8.1 + depends = qt5-base + depends = x264 + depends = x265 + depends = glu + depends = libxv + depends = desktop-file-utils + replaces = avidemux-gtk diff --git a/extra/avidemux/PKGBUILD b/extra/avidemux/PKGBUILD index 92baf0a97..fc79ab9ea 100644 --- a/extra/avidemux/PKGBUILD +++ b/extra/avidemux/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=avidemux pkgname=('avidemux-cli' 'avidemux-qt') pkgver=2.8.1 -pkgrel=2 +pkgrel=3 pkgdesc='Graphical tool to edit video (filter/re-encode/split)' url='http://fixounet.free.fr/avidemux/' arch=('x86_64') @@ -18,17 +18,21 @@ makedepends=('cmake' 'libxslt' 'qt5-base' 'jack' 'libvorbis' 'libxv' 'opus' 'des 'libvdpau' 'libdca' 'fribidi' 'glu' 'qt5-tools' 'twolame' 'libfdk-aac' 'libass') options=('!emptydirs') source=(https://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz - log.diff) + log.diff + https://github.com/FFmpeg/FFmpeg/commit/effadce6.patch) sha256sums=('77d9bdca8683ce57c192b69d207cfab7cf92a7759ce0f63fa37b5c8e42ad3da2' - '8b751d137037f22fd4ae6750709014bcf61269a18f1c32e1a91f481285c807aa') + '8b751d137037f22fd4ae6750709014bcf61269a18f1c32e1a91f481285c807aa' + '8fad5f253bcda7a17523dbfcbfcfd60b3db23783dcdb65998005cddc7c7776c3') sha512sums=('c8df5c0d7f20fd9003560dee7cc0964ba810fc2786cefd525c09fd9f740339dd92a42989938ca48c16aca778ed5bd93a56572b0c6397fe04e47225cc109e7d75' - 'bbae5b4a549113b12e728c4c0ac8c1c92a0b7500be8dcecc791c16c9a913406feaa9f7bc477985970a920d2df391cc9392457512d84b9c4b829981cc072f2b2e') + 'bbae5b4a549113b12e728c4c0ac8c1c92a0b7500be8dcecc791c16c9a913406feaa9f7bc477985970a920d2df391cc9392457512d84b9c4b829981cc072f2b2e' + '243553763c688f7d7c3d662061659fc650e2460c98128426a8e279c78dad412279a45340042b6db9a230564fe5c8e18915331077f9792fada936564835ca7d8f') prepare() { cd ${pkgbase}_${pkgver} patch -Np1 -i ../log.diff # don't hide the build output sed -i 's|../avidemux/qt4|../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt5|' bootStrap.bash sed -e 's|0.19|1.0|' -i avidemux_plugins/ADM_videoFilters6/ass/CMakeLists.txt + mv "$srcdir"/effadce6.patch avidemux_core/ffmpeg_package/patches/upstream # Fix build with binutils 2.41 sed -i '/--enable-lto/d' cmake/admFFmpegBuild_native.cmake }