From 83c98c3226d1f8008db57e7c41b24b09ba4b2417 Mon Sep 17 00:00:00 2001 From: Olivier CHURLAUD Date: Tue, 2 Feb 2016 23:01:45 +0100 Subject: [PATCH] Initial import --- .SRCINFO | 43 +++++++++++++++++++++++++++++++++++++ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++ quodlibet-git.install | 12 +++++++++++ 3 files changed, 104 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 quodlibet-git.install diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..7fa5a0d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,43 @@ +# Generated by mksrcinfo v8 +# Tue Feb 2 22:00:47 UTC 2016 +pkgbase = quodlibet-git + pkgdesc = An audio library tagger, manager and player + pkgver = 093e5f4 + pkgrel = 1 + url = https://github.com/quodlibet/quodlibet + install = quodlibet-git.install + arch = any + license = GPL2 + makedepends = intltool + depends = gtk3 + depends = python2-gobject + depends = python2-dbus + depends = python2-cairo + depends = mutagen + depends = gst-plugins-base + depends = gst-plugins-good + depends = gst-plugins-ugly + depends = desktop-file-utils + optdepends = gst-libav: for ffmpeg (ASF/WMA) support + optdepends = gst-plugins-bad: for Musepack support + optdepends = libgpod: for ipod support + optdepends = python2-feedparser: for audio feeds (podcast) support + optdepends = libkeybinder3: for the multimedia keys support + optdepends = media-player-info: for media devices support + optdepends = cddb-py: for "CDDB Lookup" plugin + optdepends = python2-musicbrainz2: for "MusicBrainz Lookup" plugin + optdepends = python2-pyinotify: for "Automatic library update" plugin + optdepends = kakasi: for "Kana/Kanji Simple Inverter" plugin + optdepends = zeitgeist: for "Event Logging" plugin + optdepends = gst-plugins-bad: for "Audio Pitch/Speed" plugin + provides = quodlibet-plugins + provides = quodlibet + conflicts = quodlibet-plugins + conflicts = quodlibet + replaces = quodlibet-plugins + options = !makeflags + source = quodlibet-git::git+https://github.com/quodlibet/quodlibet.git + sha1sums = SKIP + +pkgname = quodlibet-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..61dd9fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Olivier Churlaud + +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} + git log -1 --pretty=format:%h +} + diff --git a/quodlibet-git.install b/quodlibet-git.install new file mode 100644 index 0000000..701dd39 --- /dev/null +++ b/quodlibet-git.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} \ No newline at end of file