[arch-commits] Commit in quodlibet/repos (3 files)
Eric Bélanger
eric at nymeria.archlinux.org
Sun Jun 16 23:43:13 UTC 2013
Date: Monday, June 17, 2013 @ 01:43:13
Author: eric
Revision: 188607
archrelease: copy trunk to testing-any
Added:
quodlibet/repos/testing-any/
quodlibet/repos/testing-any/PKGBUILD
(from rev 188606, quodlibet/trunk/PKGBUILD)
quodlibet/repos/testing-any/quodlibet.install
(from rev 188606, quodlibet/trunk/quodlibet.install)
-------------------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
quodlibet.install | 11 +++++++++
2 files changed, 71 insertions(+)
Copied: quodlibet/repos/testing-any/PKGBUILD (from rev 188606, quodlibet/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2013-06-16 23:43:13 UTC (rev 188607)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=quodlibet
+pkgname=('quodlibet' 'quodlibet-plugins')
+pkgver=3.0.0
+pkgrel=1
+arch=('any')
+license=('GPL2')
+url="http://code.google.com/p/quodlibet/"
+makedepends=('python2' 'intltool')
+options=('!makeflags')
+source=(https://quodlibet.googlecode.com/files/$pkgbase-$pkgver.tar.gz
+ https://quodlibet.googlecode.com/files/$pkgbase-plugins-$pkgver.tar.gz)
+sha1sums=('4fc3e33d3c0bf09ef464415e30f50a7ec33ca5c4'
+ '220487004357a4a70b9fcdfd08c6315319b59554')
+
+prepare() {
+ cd ${pkgbase}-${pkgver}
+ sed -i 's/env python/env python2/' exfalso.py quodlibet.py \
+ ../${pkgbase}-plugins-${pkgver}/songsmenu/replaygain.py
+ sed -i 's|/usr/bin/python|/usr/bin/python2|' operon.py
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ python2 setup.py build
+}
+
+package_quodlibet() {
+ pkgdesc="An audio library tagger, manager and player"
+ depends=('gtk3' 'python2-gobject' 'python2-dbus' 'mutagen'
+ 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly'
+ 'gnome-icon-theme')
+ 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')
+ install=quodlibet.install
+
+ cd ${pkgbase}-${pkgver}
+ python2 setup.py install --prefix="${pkgdir}/usr"
+}
+
+package_quodlibet-plugins() {
+ pkgdesc="Various plugins for QuodLibet"
+ depends=('quodlibet')
+ optdepends=('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')
+
+ cd ${pkgbase}-plugins-${pkgver}
+ install -d "${pkgdir}/usr/lib/python2.7/site-packages/quodlibet/plugins"
+ cp -r editing events gstreamer playorder songsmenu "${pkgdir}/usr/lib/python2.7/site-packages/quodlibet/plugins"
+}
Copied: quodlibet/repos/testing-any/quodlibet.install (from rev 188606, quodlibet/trunk/quodlibet.install)
===================================================================
--- testing-any/quodlibet.install (rev 0)
+++ testing-any/quodlibet.install 2013-06-16 23:43:13 UTC (rev 188607)
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list