# Template file for 'avidemux' pkgname=avidemux version=2.6.20 revision=2 wrksrc="${pkgname}_${version}" 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 libvpx-devel libXv-devel sqlite-devel libva-devel libvdpau-devel qt5-multimedia-devel qt5-script-devel qt5-tools-devel liba52-devel libmad-devel x264-devel x265-devel xvidcore-devel" # Can't be compiled for aarch64, arm* or mips* only_for_archs="x86_64 x86_64-musl i686 i686-musl" depends="python" short_desc="Video editing and processing application" maintainer="Jürgen Buchmüller " license="GPL-2" homepage="http://avidemux.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/avidemux/avidemux/${version}/${pkgname}_${version}.tar.gz" checksum=03c6cb7fc9eb74688b4fcd5eb654ed7b9c4ffc717a72cc09b08a2d10cdc7ef9f do_build() { MAKEFLAGS=${makejobs} \ bash bootStrap.bash \ --with-system-libass \ --with-system-liba52 \ --with-system-libmad } 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 sed avidemux2.desktop \ -e "s;avidemux2;avidemux3;g" \ -e "s;_gtk;_qt5;g" \ > avidemux.desktop vinstall avidemux.desktop 644 usr/share/applications }