archlinux-pkgbuilds/PKGBUILD

50 lines
1.6 KiB
Text
Raw Normal View History

2016-02-02 23:01:45 +01:00
# Maintainer: Olivier Churlaud <olivier@churlaud.com>
pkgname=quodlibet-git
_srcname=quodlibet
pkgver=093e5f4
pkgrel=1
pkgdesc="An audio library tagger, manager and player"
arch=('any')
license=('GPL2')
url="https://github.com/quodlibet/quodlibet"
depends=('gtk3' 'python2-gobject' 'python2-dbus' 'python2-cairo' 'mutagen'
'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly'
'desktop-file-utils')
makedepends=('intltool')
optdepends=('gst-libav: for ffmpeg (ASF/WMA) support'
'gst-plugins-bad: for Musepack support'
'libgpod: for ipod support'
'python2-feedparser: for audio feeds (podcast) support'
'libkeybinder3: for the multimedia keys support'
'media-player-info: for media devices support'
'cddb-py: for "CDDB Lookup" plugin'
'python2-musicbrainz2: for "MusicBrainz Lookup" plugin'
'python2-pyinotify: for "Automatic library update" plugin'
'kakasi: for "Kana/Kanji Simple Inverter" plugin'
'zeitgeist: for "Event Logging" plugin'
'gst-plugins-bad: for "Audio Pitch/Speed" plugin')
provides=('quodlibet-plugins' 'quodlibet')
conflicts=('quodlibet-plugins' 'quodlibet')
replaces=('quodlibet-plugins')
options=('!makeflags')
install=${pkgname}.install
source=(${pkgname}::git+https://github.com/quodlibet/quodlibet.git)
sha1sums=('SKIP')
build() {
cd ${pkgname}/quodlibet
python2 setup.py build
}
package() {
cd ${pkgname}/quodlibet
python2 setup.py install --root="${pkgdir}"
}
pkgver() {
cd ${pkgname}
2016-02-05 16:17:06 +01:00
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
2016-02-02 23:01:45 +01:00
}