#Maintainer: Dimitris Tzemos #Former Maintainer: Thorsten Muehlfelder pkgname=lash pkgver=0.6.0rc2 pkgrel=1dj source=("http://mirrors.zerg.biz/nongnu/lash/lash-0.6.0~rc2.tar.bz2" "lash.png" "makefile.patch") docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') url="http://savannah.nongnu.org/projects/lash" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - LASH Audio Session Handler " "LASH is a session management system for JACK and ALSA audio" "applications on GNU/Linux. Its aim is to allow you to have" "many different audio programs running at once, to save their" "setup, close them down and then easily reload the setup at" "some other time. LASH doesn't deal with any kind of audio data" "itself; it just runs programs, deals with saving/loading" "(arbitrary) data and connects different kinds of virtual audio" "ports together (currently JACK and ALSA sequencer ports)." ) build() { cd $SRC/$pkgname-0.6.0.594 patch -p0 < "$SRC/makefile.patch" # Python2 fixes export PYTHON="python2" sed -i "s#env python#&2#" clients/lash_control ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make -j $numjobs || return 1 make DESTDIR=$PKG install # icon mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps cp $startdir/lash.png $PKG/usr/share/icons/hicolor/48x48/apps/ # desktop file mkdir -p $PKG/usr/share/applications cat << "EOF" > $PKG/usr/share/applications/lash.desktop [Desktop Entry] Encoding=UTF-8 Type=Application Exec=lash_panel Icon=lash Comment=Session management system for JACK and ALSA Terminal=false Name=LASH GenericName=LASH Audio Session Handler Categories=Audio;AudioVideo;MIDI;JACK;ALSA;Qt; EOF }