diff options
author | root <root@rshg054.dnsready.net> | 2012-04-16 00:01:18 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-16 00:01:18 +0000 |
commit | ea3d877b99c32e3a9e00ab220440d4518430e5bc (patch) | |
tree | 8cf0d286f935fd9e00eb3854d971c165c749d7bf /community/goobox | |
parent | f06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (diff) |
Mon Apr 16 00:01:18 UTC 2012
Diffstat (limited to 'community/goobox')
-rw-r--r-- | community/goobox/PKGBUILD | 35 | ||||
-rw-r--r-- | community/goobox/fix-notifications.patch | 25 | ||||
-rw-r--r-- | community/goobox/goobox.install | 13 |
3 files changed, 73 insertions, 0 deletions
diff --git a/community/goobox/PKGBUILD b/community/goobox/PKGBUILD new file mode 100644 index 000000000..6a5d3a949 --- /dev/null +++ b/community/goobox/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 69379 2012-04-15 01:54:25Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=goobox +pkgver=3.0.1 +pkgrel=1 +pkgdesc="CD player and ripper for GNOME" +arch=('i686' 'x86_64') +url="http://people.gnome.org/~paobac/goobox/" +license=('GPL') +depends=('brasero' 'libmusicbrainz3' 'libnotify' 'xdg-utils') +makedepends=('gconf' 'intltool' 'gnome-doc-utils') +optdepends=('gstreamer0.10-good-plugins: rip CDs into flac and wav format') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz + fix-notifications.patch) +sha256sums=('344351ab8a9aee9e1c7f490e84c972a0df57eec5b44d31247c7ef268bf4cb60e' + '41f1307c271ee003d2e7435d6e9a7c5f72d3668ce0cc50842769c34f97c7fe99') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # https://bugzilla.gnome.org/show_bug.cgi?id=674121 + patch -Np1 -i "$srcdir/fix-notifications.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-scrollkeeper --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community/goobox/fix-notifications.patch b/community/goobox/fix-notifications.patch new file mode 100644 index 000000000..6ca9c65cb --- /dev/null +++ b/community/goobox/fix-notifications.patch @@ -0,0 +1,25 @@ +diff -Naur goobox-3.0.1.orig/src/main.c goobox-3.0.1/src/main.c +--- goobox-3.0.1.orig/src/main.c 2011-08-22 19:55:45.000000000 +0200 ++++ goobox-3.0.1/src/main.c 2012-04-15 02:59:34.476683867 +0200 +@@ -729,15 +729,15 @@ + window, + NULL); + +- notify_notification_set_hint_byte (notification, +- "action-icons", +- TRUE); ++ notify_notification_set_hint (notification, ++ "action-icons", ++ g_variant_new_boolean (TRUE)); + } + + if (notification_supports_persistence) +- notify_notification_set_hint_byte (notification, +- "resident" /* "transient" */, +- TRUE); ++ notify_notification_set_hint (notification, ++ "resident" /* "transient" */, ++ g_variant_new_boolean (TRUE)); + + notify_notification_show (notification, NULL); + diff --git a/community/goobox/goobox.install b/community/goobox/goobox.install new file mode 100644 index 000000000..aa4c3e059 --- /dev/null +++ b/community/goobox/goobox.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |