From a9f4cb2636db1cc9ad5990c76b71c133cce5f1f9 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Mon, 2 Jan 2017 15:11:44 +0100 Subject: [PATCH] avidemux: update to 2.6.16 Also enable va, vdpau, a52, mad --- srcpkgs/avidemux/template | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/srcpkgs/avidemux/template b/srcpkgs/avidemux/template index 6898f1e1a31..8b1e7e27198 100644 --- a/srcpkgs/avidemux/template +++ b/srcpkgs/avidemux/template @@ -1,29 +1,36 @@ # Template file for 'avidemux' pkgname=avidemux -version=2.6.15 +version=2.6.16 revision=1 wrksrc="${pkgname}_${version}" -hostmakedepends="cmake pkg-config qt5-qmake yasm" -# XXX: MesaLib-devel, libva-devel, libvdpau-devel, etc. and make display output work -makedepends="faac-devel faad2-devel gettext-devel jack-devel +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 qt5-multimedia-devel qt5-script-devel qt5-tools-devel - SDL-devel x264-devel x265-devel xvidcore-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" -nocross=yes 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=b0e59b3dc75878b0c00d9a2bc9412125e42a53a8904e64746829ce8028b52257 +checksum=ec6d6ce038d2454c51ad7f0f2236117cb99d18ce394fef2784381cc4f7dd374a + +if [ -z "$CROSS_BUILD" ]; then + # x265 can not be cross compiled + makedepends+=" x265-devel" +fi do_build() { MAKEFLAGS=${makejobs} \ - bash bootStrap.bash --without-gtk + bash bootStrap.bash \ + --with-system-libass \ + --with-system-liba52 \ + --with-system-libmad } do_install() { - # Remove Windows stuff cp -aR install/usr ${DESTDIR} ln -s avidemux3_qt5 ${DESTDIR}/usr/bin/avidemux vman man/avidemux.1