summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-06 18:09:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-06 18:09:49 -0300
commitcf120585d38c6507901293a874995f826d2e040d (patch)
treead637bf39ed2443686988f1d48f3d31157d2d1bc /pcr
parent019ef3d88f1226ed8ef5c724161a705f0df3191f (diff)
parent2a96914890c8e562f895094e0677c0353fa33d9c (diff)
downloadabslibre-cf120585d38c6507901293a874995f826d2e040d.tar.gz
abslibre-cf120585d38c6507901293a874995f826d2e040d.tar.bz2
abslibre-cf120585d38c6507901293a874995f826d2e040d.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-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
+}