#Maintainer: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=avidemux pkgver=2.4.1 pkgrel=2 zenver=52 arch=i486 source=("http://download.berlios.de/avidemux/avidemux_2.4.1.tar.gz" "icons.tar.gz" "avidemux.desktop") docs=("readme" "install" "copying" "changelog" "authors" "todo" "history") url="http://fixounet.free.fr/avidemux/" options=('norequiredbuilder') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "avidemux - a small and efficient video editor" "Avidemux is a free video editor designed for simple cutting, filtering" "and encoding tasks. It supports many file types, including AVI, DVD" "compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks" "can be automated using projects, job queue and powerful scripting" "capabilities." ) build() { cd $startdir/src/$pkgname\_$pkgver cmake . -DNO_ESD=1 -DNO_SAMPLERATE=1 -DNO_QT4=1 -DNO_ARTS=1 -DUSE_JACK_H=0 -DUSE_ESD_H=0 -DCMAKE_INSTALL_PREFIX:STRING="/usr" -DCMAKE_CXX_FLAGS:STRING="-O2 -march=i486 -mtune=i686" -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" make || return 1 make install DESTDIR=$startdir/pkg # Copy icons to the right place ICONSIZES="64 48 32 24 22 16" for i in $ICONSIZES; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps; mv $startdir/src/$pkgname-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/$pkgname.png; done; }