archlinux-pkgbuilds/PKGBUILD

44 lines
1.5 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=r9120.37e477f1e
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"
2016-02-02 23:01:45 +01:00
depends=('gtk3' 'python2-gobject' 'python2-dbus' 'python2-cairo' 'mutagen'
'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly'
2017-03-19 13:02:34 +01:00
'desktop-file-utils' 'python2-futures' 'python2-feedparser'
'python2-faulthandler')
2016-02-02 23:01:45 +01:00
makedepends=('intltool')
optdepends=('gst-libav: for ffmpeg (ASF/WMA) support'
'gst-plugins-bad: for Musepack support'
'libkeybinder3: for the multimedia keys support'
'media-player-info: for media devices support'
2017-03-05 16:22:37 +01:00
'python2-musicbrainzngs: for "MusicBrainz Lookup" plugin'
2016-02-02 23:01:45 +01:00
'python2-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')
provides=('quodlibet-plugins' 'quodlibet')
conflicts=('quodlibet-plugins' 'quodlibet')
replaces=('quodlibet-plugins')
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}/quodlibet
python2 setup.py build
}
package() {
cd ${pkgname}/quodlibet
python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
2016-02-02 23:01:45 +01:00
}