#Packager: Dimitris Tzemos pkgname=exaile pkgver=4.1.3 pkgrel=2dj source=("https://github.com/exaile/exaile/releases/download/$pkgver/exaile-$pkgver.tar.gz" "0001-pipes.patch" "0002-GIRepository-3.0.patch") docs=('COPYING' 'DEPS' 'README.md') options=('noautodotnew') url="http://www.exaile.org/" # extradeps: dbus-python,gstreamer,gst-plugins-base,gst-plugins-good,gst-python,mutagen,notify-python,pycairo,pygobject,pygtk,python slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (GTK+ music player similar to Amarok)" "Exaile is a music player aiming to be similar to KDE's Amarok, but for" "GTK+ and written in Python. It incorporates many of the cool things" "from Amarok (and other media players) like automatic fetching of album" "art, handling of large libraries, lyrics fetching, artist/album" "information via Wikipedia, Last.fm submission support, and optional" "iPod support via a plugin." ) build() { cd $startdir/src/exaile-$pkgver patch -Np1 -i ../0001-pipes.patch || return 1 # https://aur.archlinux.org/packages/exaile#comment-1003707 patch -Np1 -i ../0002-GIRepository-3.0.patch || return 1 # https://aur.archlinux.org/packages/exaile#comment-1016606 PREFIX=/usr make -j $numjobs || return 1 make install \ PREFIX=${PREFIX} \ LIBINSTALLDIR=${PREFIX}/lib${LIBDIRSUFFIX} \ MANPREFIX=${PREFIX}/ \ DESTDIR=$startdir/pkg mv $startdir/pkg/etc/xdg/exaile/settings.ini $startdir/pkg/etc/xdg/exaile/settings.ini.new || return 1 mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps || return 1 cp data/images/48x48/exaile.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/exaile.png || return 1 }