archlinux-pkgbuilds/PKGBUILD

41 lines
1.3 KiB
Text
Raw Normal View History

2017-03-05 16:22:22 +01:00
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
2016-02-02 23:01:45 +01:00
pkgname=quodlibet-git
pkgver=r10393.ed4d84575
pkgrel=1
2016-02-02 23:01:45 +01:00
pkgdesc="An audio library tagger, manager and player"
arch=('any')
license=('GPL2')
url="https://quodlibet.readthedocs.io"
2017-11-02 16:03:29 +01:00
depends=('gtk3' 'python-gobject' 'python-dbus' 'python-cairo' 'python-mutagen'
'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly'
'desktop-file-utils' 'python-feedparser')
makedepends=('gettext')
2016-02-02 23:01:45 +01:00
optdepends=('gst-libav: for ffmpeg (ASF/WMA) support'
'gst-plugins-bad: for Musepack support'
'libkeybinder3: for the multimedia keys support'
2017-11-02 16:03:29 +01:00
'python-musicbrainzngs: for "MusicBrainz Lookup" plugin'
'python-pyinotify: for "Automatic library update" plugin'
2017-03-19 13:02:34 +01:00
'kakasi: for "Kana/Kanji Simple Inverter" plugin'
2016-02-02 23:01:45 +01:00
'gst-plugins-bad: for "Audio Pitch/Speed" plugin')
2017-11-02 16:03:29 +01:00
provides=('quodlibet')
conflicts=('quodlibet')
2016-02-02 23:01:45 +01:00
options=('!makeflags')
source=(${pkgname}::git+https://github.com/quodlibet/quodlibet.git)
sha1sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
2016-02-02 23:01:45 +01:00
build() {
cd ${pkgname}
2017-11-02 16:03:29 +01:00
python3 setup.py build
2016-02-02 23:01:45 +01:00
}
package() {
cd ${pkgname}
2017-11-02 16:03:29 +01:00
python3 setup.py install --root="${pkgdir}" --skip-build --optimize=1
2016-02-02 23:01:45 +01:00
}