archlinux-pkgbuilds/quodlibet-git/PKGBUILD

58 lines
2.4 KiB
Text
Raw Permalink Normal View History

# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: Bruno Pagani <archange@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
# Contributor: Christoph Reiter <reiter.christoph@gmail.com>
2016-02-02 23:01:45 +01:00
pkgname=quodlibet-git
pkgver=r11752.7fbd8ce82
pkgrel=1
pkgdesc="Music player and music library manager"
arch=(any)
url="https://quodlibet.readthedocs.io"
license=(GPL-2.0-or-later)
depends=(dbus-python gtk3 libsoup3 python-cairo python-feedparser python-gobject python-mutagen)
makedepends=(python-build python-installer python-setuptools python-wheel gettext git python-sphinx_rtd_theme)
optdepends=('gst-libav: Extra media codecs for the GStreamer backend'
'gst-plugins-bad: Extra media codecs for the GStreamer backend; Audio Pitch / Speed, Crossfeed, Submit Acoustic Fingerprints plugins'
'gst-plugins-base: Default audio backend'
'gst-plugins-good: Extra media codecs, PulseAudio support for the GStreamer backend; Audio Compressor, Karaoke, Replay Gain plugins'
'gst-plugins-ugly: Extra media codecs for the GStreamer backend'
'gtksourceview4: Undo and redo support in multiline text fields'
'kakasi: Kana/Kanji Simple Inverter plugin'
'libappindicator-gtk3: Appindicator support in the Tray Icon plugin'
'libkeybinder3: Multimedia key support under non Gnome setups'
'libmodplug: MOD support'
'python-musicbrainzngs: MusicBrainz Lookup, MusicBrainz Sync plugins'
'python-paho-mqtt: MQTT Publisher plugin'
'python-pyinotify: Automatic Library Update plugin'
'rygel: UPnP AV Media Server plugin'
'webkit2gtk: Web Lyrics plugin'
'xine-lib: Alternative audio backend')
2017-11-02 16:03:29 +01:00
provides=('quodlibet')
conflicts=('quodlibet')
2016-02-02 23:01:45 +01:00
source=(${pkgname}::git+https://github.com/quodlibet/quodlibet.git)
sha256sums=('SKIP')
2016-02-02 23:01:45 +01:00
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd ${pkgname}
# Fix zsh completions dir
sed -e 's|vendor-completions|site-functions|' -i gdist/zsh_completions.py
}
2016-02-02 23:01:45 +01:00
build() {
cd ${pkgname}
python -m build --wheel --no-isolation
2016-02-02 23:01:45 +01:00
}
package() {
cd ${pkgname}
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm 644 {README,NEWS}.rst -t "${pkgdir}"/usr/share/doc/${pkgname}
2016-02-02 23:01:45 +01:00
}