#Maintainer: George Vlahavas pkgname=libffado pkgver=2.4.4 pkgrel=1gv source=("http://www.ffado.org/files/$pkgname-$pkgver.tgz" "ffado.desktop" "ffado.png") docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') url="http://www.ffado.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libffado (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 \ WILL_DEAL_WITH_XDG_MYSELF="True" \ COMPILE_FLAGS="$CFLAGS -std=gnu++11" \ install || return 1 mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/ffado.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/ffado.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }