2015-09-28 06:43:23 +00:00
|
|
|
# Template file for 'avidemux'
|
|
|
|
pkgname=avidemux
|
|
|
|
version=2.6.10
|
2015-10-09 06:43:39 +00:00
|
|
|
revision=2
|
2015-09-28 06:43:23 +00:00
|
|
|
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
|
|
|
|
lame-devel libvorbis-devel libXv-devel sqlite-devel
|
|
|
|
qt5-multimedia-devel qt5-script-devel qt5-tools-devel SDL-devel
|
|
|
|
x264-devel x265-devel xvidcore-devel"
|
|
|
|
depends="python"
|
|
|
|
nocross=yes
|
|
|
|
short_desc="Video editing and processing application"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://avidemux.sourceforge.net/"
|
|
|
|
distfiles="http://download.oldfoss.com/Avidemux/avidemux_${version}.tar.gz"
|
|
|
|
checksum=176c2482a0656f81e307f1505e6dfcdab086ee73e7de363617b884c5d7205aed
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
bash bootStrap.bash --enable-qt5
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
# Remove Windows stuff
|
|
|
|
rm -r install/usr/share/ADM6_addons/avsfilter
|
|
|
|
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
|
|
|
|
}
|