2023-07-11 10:18:06 +02:00
|
|
|
# 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
|
2024-10-03 10:14:56 +02:00
|
|
|
pkgver=r11752.7fbd8ce82
|
2017-05-17 15:44:06 +02:00
|
|
|
pkgrel=1
|
2023-07-11 10:18:06 +02:00
|
|
|
pkgdesc="Music player and music library manager"
|
|
|
|
arch=(any)
|
2017-05-17 15:44:06 +02:00
|
|
|
url="https://quodlibet.readthedocs.io"
|
2024-10-03 10:14:56 +02:00
|
|
|
license=(GPL-2.0-or-later)
|
2023-07-11 10:18:06 +02:00
|
|
|
depends=(dbus-python gtk3 libsoup3 python-cairo python-feedparser python-gobject python-mutagen)
|
2024-10-03 10:14:56 +02:00
|
|
|
makedepends=(python-build python-installer python-setuptools python-wheel gettext git python-sphinx_rtd_theme)
|
2023-07-11 10:18:06 +02:00
|
|
|
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'
|
2023-09-28 14:19:43 +02:00
|
|
|
'gtksourceview4: Undo and redo support in multiline text fields'
|
2023-07-11 10:18:06 +02:00
|
|
|
'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)
|
2023-07-11 10:18:06 +02:00
|
|
|
sha256sums=('SKIP')
|
2016-02-02 23:01:45 +01:00
|
|
|
|
2017-05-17 15:44:06 +02:00
|
|
|
pkgver() {
|
|
|
|
cd ${pkgname}
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
2023-07-11 10:18:06 +02:00
|
|
|
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() {
|
2020-04-13 15:42:26 +02:00
|
|
|
cd ${pkgname}
|
2024-10-03 10:14:56 +02:00
|
|
|
python -m build --wheel --no-isolation
|
2016-02-02 23:01:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-04-13 15:42:26 +02:00
|
|
|
cd ${pkgname}
|
2024-10-03 10:14:56 +02:00
|
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
2023-07-11 10:18:06 +02:00
|
|
|
install -vDm 644 {README,NEWS}.rst -t "${pkgdir}"/usr/share/doc/${pkgname}
|
2016-02-02 23:01:45 +01:00
|
|
|
}
|