avidemux: update to 2.7.8.

This commit is contained in:
Johannes Heimansberg 2021-10-27 10:34:40 +02:00 committed by Érico Nogueira Rolim
parent b46562977e
commit 4b56d6e9a2

View file

@ -1,7 +1,7 @@
# Template file for 'avidemux'
pkgname=avidemux
version=2.7.6
revision=2
version=2.7.8
revision=1
# Can't be compiled for aarch64, arm* or mips*
archs="x86_64* i686*"
wrksrc="${pkgname}_${version}"
@ -11,14 +11,20 @@ makedepends="alsa-lib-devel faac-devel faad2-devel gettext-devel jack-devel glu-
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="Orphaned <orphan@voidlinux.org>"
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=9a88741f3535443d4bde35d4207ca2ff96d3b136db2e7232cb50dd6b4eb293cf
checksum=628a404f521ff2812760700ae3e2aa78e5816b0ff3fb6fd05ac3e75248d97401
# On i686 the build fails with "error: 'asm' operand has impossible constraints"
# due to not enough available CPU registers. Using the -fno-PIC flag frees up
# one additional register for the compiler/assembler to use.
case "${XBPS_TARGET_MACHINE}" in
i686*) CFLAGS="-fno-PIC";;
esac
do_configure() {
MAKEFLAGS=${makejobs} \
@ -29,6 +35,7 @@ do_configure() {
--with-system-libmp4v2 \
${cross_compile}
}
do_install() {
mv install/usr/lib{${XBPS_TARGET_WORDSIZE},}
cp -aR install/usr ${DESTDIR}