diff options
Diffstat (limited to 'community/lxmusic')
-rw-r--r-- | community/lxmusic/PKGBUILD | 30 | ||||
-rw-r--r-- | community/lxmusic/libnotify-0.7.patch | 27 |
2 files changed, 0 insertions, 57 deletions
diff --git a/community/lxmusic/PKGBUILD b/community/lxmusic/PKGBUILD deleted file mode 100644 index 197adf4ec..000000000 --- a/community/lxmusic/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 71871 2012-06-02 14:59:08Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor: Marcus Schulderinsky <mmaacceess at gmail dot com> - -pkgname=lxmusic -pkgver=0.4.5 -pkgrel=1 -pkgdesc='Lightweight XMMS2 client' -arch=('i686' 'x86_64') -url="http://lxde.org/" -license=('GPL') -groups=('lxde') -depends=('gtk2' 'xmms2') -makedepends=('pkgconfig' 'intltool') -source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz - libnotify-0.7.patch) -md5sums=('9c3e5eb636f05e8c190d359cd0c8b679' - '770c63254a7369613daeb6d1260d123f') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -Np1 -i $srcdir/libnotify-0.7.patch - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install -} diff --git a/community/lxmusic/libnotify-0.7.patch b/community/lxmusic/libnotify-0.7.patch deleted file mode 100644 index 01f513de4..000000000 --- a/community/lxmusic/libnotify-0.7.patch +++ /dev/null @@ -1,27 +0,0 @@ -Upstream: -https://sourceforge.net/tracker/?func=detail&aid=3529198&group_id=180858&atid=894869 -Index: lxmusic-0.4.5/src/lxmusic-notify.c -=================================================================== ---- lxmusic-0.4.5.orig/src/lxmusic-notify.c -+++ lxmusic-0.4.5/src/lxmusic-notify.c -@@ -84,9 +84,20 @@ LXMusicNotification lxmusic_do_notify_pr - else - g_string_append( message, title ); - struct _LXMusicNotification *lxn = g_new ( struct _LXMusicNotification, 1); -+#ifdef NOTIFY_CHECK_VERSION -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ lxn->notify = notify_notification_new (summary, message->str, NULL); -+#else - lxn->notify = notify_notification_new (summary, message->str, NULL, NULL); -+#endif -+#else -+ lxn->notify = notify_notification_new (summary, message->str, NULL, NULL); -+#endif - notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL); -+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7) -+ notify_notification_attach_to_status_icon(notify, priv->statusIcon); - notify_notification_attach_to_status_icon( lxn->notify, status_icon ); -+#endif - notify_notification_set_timeout (lxn->notify, NOTIFY_EXPIRES_DEFAULT); - g_string_free( message, TRUE ); - return lxn; |