#Maintainer: Dimitris Tzemos pkgname=libffado pkgver=2.1.0 pkgrel=1dj source=("http://www.ffado.org/files/$pkgname-$pkgver.tgz" "ffado.png") docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') url="http://www.ffado.org/" # extradepends=('PyQt' 'sip') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Free Firewire Audio Drivers" "The FFADO project aims to provide a generic, open-source" "solution for the support of FireWire based audio devices for" "the Linux platform. It is the successor of the FreeBoB project." ) build() { cd $startdir/src/$pkgname-$pkgver sed -i "s/-O2 -DNDEBUG/$SLKCFLAGS -DNDEBUG/" SConstruct scons \ --implicit-deps-unchanged \ PREFIX=/usr \ LIBDIR=/usr/lib${LIBDIRSUFFIX} \ DEBUG="False" \ DESTDIR=$PKG \ install || return 1 # icon mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/ffado.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ # desktop file mkdir -p $startdir/pkg/usr/share/applications cat << "EOF" > $startdir/pkg/usr/share/applications/ffado.desktop [Desktop Entry] Name=FFADO Mixer Comment=A mixer for FireWire cards supported by FFADO Icon=ffado Exec=ffado-mixer Terminal=false Type=Application Encoding=UTF-8 Categories=Qt;Audio;AudioVideo;AudioVideoEditing;Multimedia EOF }