38 lines
1.4 KiB
Bash
38 lines
1.4 KiB
Bash
# Template file for 'avidemux'
|
|
pkgname=avidemux
|
|
version=2.7.2
|
|
revision=1
|
|
wrksrc="${pkgname}_${version}"
|
|
# Can't be compiled for aarch64, arm* or mips*
|
|
archs="x86_64* i686*"
|
|
hostmakedepends="cmake pkg-config qt5-host-tools qt5-devel yasm"
|
|
makedepends="alsa-lib-devel faac-devel faad2-devel gettext-devel jack-devel glu-devel
|
|
lame-devel libass-devel libdca-devel libvorbis-devel libXv-devel
|
|
vapoursynth-devel libmp4v2-devel sqlite-devel libva-devel libvdpau-devel
|
|
qt5-multimedia-devel qt5-script-devel qt5-tools-devel ffmpeg-devel
|
|
liba52-devel libmad-devel x264-devel x265-devel xvidcore-devel"
|
|
depends="python"
|
|
short_desc="Video editing and processing application"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://avidemux.sourceforge.net/"
|
|
changelog="http://avidemux.sourceforge.net/news.html"
|
|
distfiles="${SOURCEFORGE_SITE}/avidemux/avidemux/${version}/${pkgname}_${version}.tar.gz"
|
|
checksum=6804b48b7d76b6cf7b67360c0dff474edc8d9b4952b6197f64c7d248fcf8cd1d
|
|
|
|
do_build() {
|
|
MAKEFLAGS=${makejobs} \
|
|
bash bootStrap.bash \
|
|
--with-system-libass \
|
|
--with-system-liba52 \
|
|
--with-system-libmad \
|
|
--with-system-libmp4v2
|
|
}
|
|
do_install() {
|
|
cp -aR install/usr ${DESTDIR}
|
|
ln -s avidemux3_qt5 ${DESTDIR}/usr/bin/avidemux
|
|
vman man/avidemux.1
|
|
vinstall avidemux_icon.png 644 usr/share/pixmaps avidemux.png
|
|
vinstall appImage/avidemux.desktop 644 usr/share/applications
|
|
}
|