summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/avidemux/PKGBUILD26
1 files changed, 18 insertions, 8 deletions
diff --git a/libre/avidemux/PKGBUILD b/libre/avidemux/PKGBUILD
index b90818fbd..68bb802bd 100644
--- a/libre/avidemux/PKGBUILD
+++ b/libre/avidemux/PKGBUILD
@@ -9,15 +9,18 @@
pkgbase=avidemux
pkgname=('avidemux-cli' 'avidemux-qt')
pkgver=2.7.1
-pkgrel=1.parabola1
-pkgdesc='Graphical tool to edit video (filter/re-encode/split), without nonfree faac support'
+pkgrel=6
+pkgrel+=.parabola1
+pkgdesc='Graphical tool to edit video (filter/re-encode/split)'
+pkgdesc+=', without nonfree faac support'
url='http://fixounet.free.fr/avidemux/'
-arch=('x86_64' 'i686' 'armv7h')
+arch=('x86_64')
+arch+=('i686' 'armv7h')
license=('GPL2')
makedepends=('cmake' 'libxslt' 'qt5-base' 'jack' 'libvorbis' 'libxv' 'opus' 'desktop-file-utils'
- 'alsa-lib' 'lame' 'xvidcore' 'faad2' 'x264' 'libx264' 'x265' 'libsamplerate'
+ 'alsa-lib' 'lame' 'xvidcore' 'faad2' 'x264' 'x265' 'libsamplerate'
'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse' 'libva' 'intltool' 'sqlite'
- 'libvdpau' 'libdca' 'fribidi' 'glu' 'qt5-tools')
+ 'libvdpau' 'libdca' 'fribidi' 'glu' 'qt5-tools' 'twolame' 'libfdk-aac' 'libass')
options=('!emptydirs')
source=(https://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz)
sha256sums=('3ccd784a329c8957c6741923549fdfb70f3b96d087aeb514f3d52e1cd281e995')
@@ -26,9 +29,13 @@ sha512sums=('85a690a36cad827f176818d6f566d897b4e46b2a272c8fb18bd64672d92f106d270
prepare() {
cd ${pkgbase}_${pkgver}
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
cp avidemux2.desktop avidemux-qt.desktop
sed -ri 's|(Name=).*|\1avidemux (Qt)|' avidemux-qt.desktop
sed -ri 's|(Exec=).*|\1avidemux3_qt5|' avidemux-qt.desktop
+
+ # https://sourceforge.net/p/avidemux/bugs/77/
+ sed -e 's|pow10f|exp10f|g' -i avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp
}
build() {
@@ -37,7 +44,7 @@ build() {
}
package_avidemux-cli() {
- depends=('libxml2' 'fontconfig' 'libvpx' 'libva' 'sqlite')
+ depends=('libxml2' 'fontconfig' 'sqlite' 'libvpx' 'libva' 'libvdpau')
optdepends=('lame: for the corresponding audio encoder plugin'
'faad2: for the corresponding audio decoder plugin'
'opus: for the corresponding audio decoder plugin'
@@ -50,6 +57,8 @@ package_avidemux-cli() {
'xvidcore: for the corresponding video encoder plugin'
'qt5-base: for the QtScript scripting support'
'libdca: for the corresponding audio decoder plugin'
+ 'twolame: for the corresponding audio decoder plugin'
+ 'libass: for the corresponding video filter plugin'
'fribidi: for the corresponding video filter plugin')
cd ${pkgbase}_${pkgver}
@@ -63,8 +72,9 @@ package_avidemux-cli() {
}
package_avidemux-qt() {
- pkgdesc='Graphical tool to edit video (filter/re-encode/split) - Qt GUI, without nonfree faac support'
- depends=("avidemux-cli=${pkgver}" 'qt5-base' 'x264' 'x265' 'libx264' 'glu' 'libxv' 'desktop-file-utils')
+ pkgdesc='Graphical tool to edit video (filter/re-encode/split) - Qt GUI'
+ pkgdesc+=', without nonfree faac support'
+ depends=("avidemux-cli=${pkgver}" 'qt5-base' 'x264' 'x265' 'glu' 'libxv' 'desktop-file-utils')
replaces=('avidemux-gtk')
cd ${pkgbase}_${pkgver}