#Maintainer: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=audacious pkgver=1.5.0 pkgrel=2 zenver=52 arch=i486 source=("http://distfiles.atheme.org/audacious-$pkgver.tbz2" "http://distfiles.atheme.org/audacious-plugins-1.5.0.tbz2" "http://users.zenwalk.org/user-accounts/gapan/audacious/Zenwalk-theme.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls" "mercurial-access") url="http://audacious-media-player.org/index.php?title=Main_Page" options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "audacious - a powerfull GTK2 audio player" "Audacious is used to play audio and other kinds of media files. By" "default Audacious can play MPEG audio, Ogg Vorbis, RIFF wav, most" "module formats, and many others ..." "" "This package has built in support for audacious-plugins" ) build() { # Main package cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var/lib --sysconfdir=/etc --mandir=/usr/man --enable-ipv6 --enable-chardet --disable-sse2 make || return 1 make install DESTDIR=$startdir/pkg # Install a temporary audacious base package for the plugins to build on cd $startdir/pkg makepkg -l y -c n $startdir/src/audacious-temp-$pkgver-i486-temp.tgz installpkg $startdir/src/audacious-temp-$pkgver-i486-temp.tgz # Plugins cd $startdir/src/$pkgname-plugins-1.5.0 ./configure --prefix=/usr --localstatedir=/var/lib --sysconfdir=/etc --enable-ipv6 --enable-chardet --disable-esd --disable-oss --disable-arts --disable-pulse --disable-sse2 --disable-jack --disable-timidity --enable-amidiplug --enable-neon --enable-vorbis make || return 1 make install DESTDIR=$startdir/pkg # Remove all themes, install Zenwalk theme rm -rf $startdir/pkg/usr/share/audacious/Skins/* cp -a $startdir/src/Default $startdir/pkg/usr/share/audacious/Skins chown -R root:root $startdir/pkg/usr/share/audacious/Skins # Remove the temporary package removepkg audacious-temp }