# Maintainer: X0rg # Contributor: Tom Kwok # Contributor: Jorge Barroso # Contributor: Roman Kyrylych # Contributor: Benjamin Wild # Contributor: Daniel J Griffiths # Contributor: Joshua Stiefer pkgname=exaile _pkgver=4.1.0-beta1 pkgver=${_pkgver//-/} pkgrel=1 pkgdesc="A full-featured Amarok-style media player for GTK+" arch=('any') url="https://www.exaile.org/" license=('GPL2') depends=('python>=3.6' 'python-bsddb' 'gtk3>=3.22.0' 'gst-python>=1.14.0' 'gst-plugins-base>=1.14.0' 'gst-plugins-good>=1.14.0' 'python-mutagen>=1.38.0' 'python-dbus' 'python-cairo' 'python-gobject') makedepends=('pygobject-devel>=3.22.0' 'help2man') checkdepends=('python-mox3' 'python-pytest') optdepends=('udisks2: device detection' 'cddb-py: CD info' 'python-zeroconf: DAAP plugins (daapserver and daapclient)' 'ipython: ipconsole plugin' 'python-pylast: Last.FM integration' 'python-lxml: lyrics from lyricsmania.com (lyricsmania)' 'python-beautifulsoup4: lyrics from lyrics.wikia.com (lyricwiki)' 'python-musicbrainzngs: Musicbrainz covers' 'python-feedparser: podcast plugin' 'webkit2gtk: Wikipedia info' 'libkeybinder3: Xlib-based hotkeys' 'librsvg: scalable icons' 'libnotify: recording streams' 'moodbar: moodbar plugin' 'gst-plugins-bad: BPM Counter plugin') source=("$pkgname-$_pkgver.tar.gz::https://github.com/exaile/exaile/archive/$_pkgver.tar.gz") sha512sums=('df3998e512a9cda4383bc7f47deaf67f12bbfb64561726e7682013193a6d71ae18a067ae1db1d6affab6eb3311b4d158d56897f92a5c639808539412113f7ef9') build() { cd "$srcdir/$pkgname-$_pkgver" make PREFIX="/usr" } check() { cd "$srcdir/$pkgname-$_pkgver" make PYTEST=py.test test } package() { cd "$srcdir/$pkgname-$_pkgver" make PREFIX="/usr" DESTDIR="$pkgdir" install }