summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-05-06 09:50:14 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-05-06 09:50:14 -0300
commit2a96914890c8e562f895094e0677c0353fa33d9c (patch)
tree26f2b1832f1298fe3282c96c1f6a59d9c8a78359
parent0c3ad6bfc6bbe8f6f94873fcbe3e8f3514690ff4 (diff)
gmusicbrowser with shimmer
-rw-r--r--pcr/gmusicbrowser/PKGBUILD45
-rw-r--r--pcr/gmusicbrowser/gmusicbrowser.install18
2 files changed, 63 insertions, 0 deletions
diff --git a/pcr/gmusicbrowser/PKGBUILD b/pcr/gmusicbrowser/PKGBUILD
new file mode 100644
index 000000000..e8cec3c76
--- /dev/null
+++ b/pcr/gmusicbrowser/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Spike29 <leguen.yannick@gmail.com>
+# Contributor: jsteel <mail at jsteel dot org>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+
+pkgname=gmusicbrowser
+pkgver=1.1.10
+pkgrel=3
+pkgdesc="A jukebox for large collections of mp3/ogg/flac files, written in perl"
+arch=('any')
+url="http://gmusicbrowser.org"
+license=('GPL3')
+depends=('gtk2-perl' 'hicolor-icon-theme')
+optdepends=('alsa-utils: enables the ALSA backend'
+ 'flac123: flac support for the ALSA backend'
+ 'mpg321: mp3 support for the ALSA backend'
+ 'vorbis-tools: vorbis support for the ALSA backend'
+ 'mplayer: enables the mplayer backend'
+ 'perl-gstreamer: enables the gstreamer backend'
+ 'gstreamer0.10-base: vorbis support for the gstreamer backend'
+ 'gstreamer0.10-good-plugins: flac support for the gstreamer backend'
+ 'gstreamer0.10-bad-plugins: mpc support for the gstreamer backend'
+ 'gstreamer0.10-ugly-plugins: mp3 support for the gstreamer backend'
+ 'perl-gtk2-mozembed: web-based plugins support'
+ 'perl-gtk2-webkit: alternative web-based plugin support'
+ 'perl-html-parser: support for accented characters in lyrics plugin'
+ 'perl-locale-gettext: localization support'
+ 'perl-net-dbus: control gmusicbrowser through dbus and gnome hotkeys'
+ 'perl-gtk2-notify: show notifications using libnotify' )
+conflicts=('gmusicbrowser-devel' 'gmusicbrowser-development' 'gmusicbrowser-git' 'gmusicbrowser-shimmer-git')
+options=('!libtool')
+install=$pkgname.install
+source=(https://github.com/shimmerproject/${pkgname}/archive/v${pkgver}.tar.gz)
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir/" DOCS="AUTHORS COPYING README NEWS INSTALL" install
+
+ # put some images in sane locations
+ install -Dm644 pix/trayicon.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/gmusicbrowser.png
+ install -Dm644 pix/gmusicbrowser32x32.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/gmusicbrowser.png
+ install -Dm644 pix/gmusicbrowser.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/gmusicbrowser.png
+ install -Dm644 pix/gmusicbrowser.png "$pkgdir"/usr/share/pixmaps/gmusicbrowser.png
+}
+md5sums=('25cbef3bd7c6666a036dcc337adcb387')
diff --git a/pcr/gmusicbrowser/gmusicbrowser.install b/pcr/gmusicbrowser/gmusicbrowser.install
new file mode 100644
index 000000000..f917ebdff
--- /dev/null
+++ b/pcr/gmusicbrowser/gmusicbrowser.install
@@ -0,0 +1,18 @@
+post_install() {
+ cat << _EOF
+
+==> In order to play your music with gmusicbrowser, you need to install
+ gstreamer and its perl bindings OR mpg321/vorbis-tools/flac123/alsa-utils OR mplayer
+ (look at optdepends for details)
+
+_EOF
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}