diff options
Diffstat (limited to 'community/ario')
-rw-r--r-- | community/ario/PKGBUILD | 29 | ||||
-rw-r--r-- | community/ario/ario-1.5-libnotify-0.7.patch | 27 | ||||
-rw-r--r-- | community/ario/ario.changelog | 30 | ||||
-rw-r--r-- | community/ario/ario.install | 11 |
4 files changed, 97 insertions, 0 deletions
diff --git a/community/ario/PKGBUILD b/community/ario/PKGBUILD new file mode 100644 index 000000000..d1a739a4c --- /dev/null +++ b/community/ario/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 41557 2011-03-07 20:04:50Z icelaya $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + +pkgname=ario +pkgver=1.5 +pkgrel=2 +pkgdesc="A GTK client for MPD (Music player daemon) inspired by Rhythmbox but much lighter and faster" +arch=('i686' 'x86_64') +url="http://ario-player.sourceforge.net/" +license=('GPL') +depends=('avahi' 'curl' 'dbus-glib' 'gnutls' 'hicolor-icon-theme' 'libglade' 'libmpdclient' 'libnotify' 'libsoup>=2.4' 'libunique' 'taglib' 'xdg-utils') +makedepends=('intltool' 'perlxml') +options=('!libtool') +install=$pkgname.install +changelog=$pkgname.changelog +source=("http://downloads.sourceforge.net/sourceforge/$pkgname-player/$pkgname-$pkgver.tar.gz" + 'ario-1.5-libnotify-0.7.patch') +md5sums=('5dac6cc8b8f12b0acc132d5ff7fc779f' + 'e5ac8d29f39365f5da86934ac03e0bca') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + patch -p0 -i $srcdir/ario-1.5-libnotify-0.7.patch + + ./configure --prefix=/usr --sysconfdir=/etc + make || return 1 + make DESTDIR=${pkgdir} install +} diff --git a/community/ario/ario-1.5-libnotify-0.7.patch b/community/ario/ario-1.5-libnotify-0.7.patch new file mode 100644 index 000000000..75749b6d1 --- /dev/null +++ b/community/ario/ario-1.5-libnotify-0.7.patch @@ -0,0 +1,27 @@ +--- plugins/libnotify/ario-notifier-libnotify.c ++++ plugins/libnotify/ario-notifier-libnotify.c +@@ -30,6 +30,10 @@ + #include "lib/ario-conf.h" + #include "ario-debug.h" + ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif ++ + struct ArioNotifierLibnotifyPrivate + { + NotifyNotification *notification; +@@ -122,9 +126,13 @@ + ARIO_LOG_FUNCTION_START; + notifier_libnotify->priv = ARIO_NOTIFIER_LIBNOTIFY_GET_PRIVATE (notifier_libnotify); + ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ notifier_libnotify->priv->notification = notify_notification_new ("Ario", NULL, NULL); ++#else + notifier_libnotify->priv->notification = notify_notification_new ("Ario", NULL, NULL, NULL); + notify_notification_attach_to_status_icon (notifier_libnotify->priv->notification, + GTK_STATUS_ICON (ario_tray_icon_get_instance ())); ++#endif + } + + static void diff --git a/community/ario/ario.changelog b/community/ario/ario.changelog new file mode 100644 index 000000000..8f906a6a3 --- /dev/null +++ b/community/ario/ario.changelog @@ -0,0 +1,30 @@ +2010-08-11 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.5 + +2010-02-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.4.4 + +2010-01-23 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.4.3 + +2009-12-22 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * updated to major version 1.4.2 + +2009-12-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * updated to major version 1.4.1 + +2009-12-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * updated to major version 1.4 + +2009-05-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * 'taglib' dependency added - version 1.3-2 + +2009-05-24 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * updated to major version 1.3 + +2009-03-17 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * updated to major version 1.2.2 + +2009-01-22 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * adopted in [community] + * updated to major version 1.2.1 diff --git a/community/ario/ario.install b/community/ario/ario.install new file mode 100644 index 000000000..b711352cb --- /dev/null +++ b/community/ario/ario.install @@ -0,0 +1,11 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |