From 2a96914890c8e562f895094e0677c0353fa33d9c Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 6 May 2013 09:50:14 -0300 Subject: gmusicbrowser with shimmer --- pcr/gmusicbrowser/PKGBUILD | 45 +++++++++++++++++++++++++++++++++ pcr/gmusicbrowser/gmusicbrowser.install | 18 +++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 pcr/gmusicbrowser/PKGBUILD create mode 100644 pcr/gmusicbrowser/gmusicbrowser.install 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 +# Contributor: jsteel +# Contributor: Corrado Primier + +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 +} -- cgit v1.2.3-54-g00ecf