2015-09-28 08:43:23 +02:00
|
|
|
# Template file for 'avidemux'
|
|
|
|
pkgname=avidemux
|
2016-03-08 03:22:58 +01:00
|
|
|
version=2.6.12
|
2016-04-01 09:59:05 +02:00
|
|
|
revision=2
|
2016-03-08 03:22:58 +01:00
|
|
|
wrksrc="${pkgname}_${version}"
|
2015-12-29 19:12:11 +01:00
|
|
|
hostmakedepends="cmake pkg-config qt5-qmake yasm"
|
2015-09-28 08:43:23 +02:00
|
|
|
# XXX: MesaLib-devel, libva-devel, libvdpau-devel, etc. and make display output work
|
|
|
|
makedepends="faac-devel faad2-devel gettext-devel jack-devel
|
2015-12-29 19:01:13 +01:00
|
|
|
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"
|
2015-09-28 08:43:23 +02:00
|
|
|
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/"
|
2016-03-08 03:22:58 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/avidemux/avidemux/${version}/${pkgname}_${version}.tar.gz"
|
|
|
|
checksum=769a8bc1bc8ca64038971d2d02f5973d95a3561370366be328ce6904a317e55b
|
2015-09-28 08:43:23 +02:00
|
|
|
|
|
|
|
do_build() {
|
2015-12-29 19:01:13 +01:00
|
|
|
bash bootStrap.bash --without-gtk --enable-qt5
|
2015-09-28 08:43:23 +02:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|