summaryrefslogtreecommitdiff
path: root/extra/quodlibet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/quodlibet/PKGBUILD')
-rw-r--r--extra/quodlibet/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/quodlibet/PKGBUILD b/extra/quodlibet/PKGBUILD
new file mode 100644
index 000000000..b55269622
--- /dev/null
+++ b/extra/quodlibet/PKGBUILD
@@ -0,0 +1,38 @@
+#$Id: PKGBUILD 117459 2011-04-02 23:31:59Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=quodlibet
+pkgver=2.3
+pkgrel=1
+pkgdesc="An audio player written in pygtk"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://code.google.com/p/quodlibet/"
+depends=('gstreamer0.10-python' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins'
+ 'gstreamer0.10-ugly-plugins' 'mutagen' 'pygtk')
+makedepends=('intltool')
+optdepends=('gstreamer0.10-ffmpeg: for ffmpeg (ASF/WMA) support '
+ 'gstreamer0.10-bad-plugins: for MPEG-4 (AAC) and Musepack support'
+ 'dbus-python: for dbus support'
+ 'notification-daemon: for notification support'
+ 'libgpod: for ipod support'
+ 'python-feedparser: for audio feeds (podcast) support'
+ 'hal: for media devices support'
+ 'media-player-info: for media devices support')
+options=('!makeflags')
+source=(http://quodlibet.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e6bdb97decba40c33bd57e039d82c217')
+sha1sums=('dae756e8224139989f6b253ef2afe18eca55ef9f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's#env python#env python2#' *.py
+ ./setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./setup.py install --prefix="${pkgdir}/usr"
+ install -D -m644 quodlibet/images/exfalso.png "${pkgdir}/usr/share/pixmaps/exfalso.png"
+ install -D -m644 quodlibet/images/quodlibet.png "${pkgdir}/usr/share/pixmaps/quodlibet.png"
+}