diff options
author | Rhinoceros | 2017-03-14 08:23:37 +1100 |
---|---|---|
committer | Rhinoceros | 2017-03-14 08:23:37 +1100 |
commit | 292ec60073646ce66881b33afca551a78ca5600d (patch) | |
tree | 234a30611465619c0d0b1307230eac1a0806f61b | |
parent | 166013b7d6ad7edea624d1998d0fbc67e2ba9a48 (diff) | |
download | aur-292ec60073646ce66881b33afca551a78ca5600d.tar.gz |
Update to 4.1.0-2
* Fix for statusnotifier 1.0.0
* Add patch as per https://github.com/jjk-jacky/kalu/issues/51#issuecomment-286064945
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | statusnotifier.patch | 20 |
3 files changed, 36 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri May 13 00:19:30 UTC 2016 +# Mon Mar 13 21:20:12 UTC 2017 pkgbase = kalu-kde - pkgdesc = Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE's panel + pkgdesc = Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE Plasma's panel pkgver = 4.1.0 - pkgrel = 1 + pkgrel = 2 url = http://jjacky.com/kalu install = kalu.install arch = i686 @@ -23,7 +23,9 @@ pkgbase = kalu-kde provides = kalu conflicts = kalu source = http://jjacky.com/kalu/kalu-4.1.0.tar.gz + source = statusnotifier.patch sha1sums = dbcc37899302d402717653f11ff303c5dc73b86d + sha1sums = d58712ff827df6bea9c5eb5a7e3d9034f3cac506 pkgname = kalu-kde @@ -3,20 +3,27 @@ pkgname=kalu-kde pkgver=4.1.0 -pkgrel=1 -pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE's panel" +pkgrel=2 +pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE Plasma's panel" arch=('i686' 'x86_64') url="http://jjacky.com/kalu" license=('GPL3+') depends=('dbus' 'polkit' 'gtk3' 'pacman>=5.0' 'pacman<5.1' 'curl' 'libnotify' 'notification-daemon' 'statusnotifier') makedepends=('perl' 'groff') -source=(http://jjacky.com/${pkgname%-kde}/${pkgname%-kde}-$pkgver.tar.gz) +source=(http://jjacky.com/${pkgname%-kde}/${pkgname%-kde}-$pkgver.tar.gz + statusnotifier.patch) install=kalu.install -sha1sums=('dbcc37899302d402717653f11ff303c5dc73b86d') +sha1sums=('dbcc37899302d402717653f11ff303c5dc73b86d' + 'd58712ff827df6bea9c5eb5a7e3d9034f3cac506') provides=(${pkgname%-kde}) conflicts=(${pkgname%-kde}) +prepare() { + cd "${pkgname%-kde}-$pkgver" + patch -p0 -i ../statusnotifier.patch +} + build() { cd "$srcdir/${pkgname%-kde}-$pkgver" ./configure --prefix=/usr --enable-status-notifier diff --git a/statusnotifier.patch b/statusnotifier.patch new file mode 100644 index 000000000000..fde90291d4b0 --- /dev/null +++ b/statusnotifier.patch @@ -0,0 +1,20 @@ +--- src/kalu/main.c.org 2017-03-13 10:56:49.551499904 +0100 ++++ src/kalu/main.c 2017-03-13 10:57:13.304831779 +0100 +@@ -46,6 +46,7 @@ + /* statusnotifier */ + #ifdef ENABLE_STATUS_NOTIFIER + #include <statusnotifier.h> ++#include <statusnotifier-compat.h> + #endif + + /* kalu */ +--- src/kalu/gui.h.org 2017-03-13 10:56:51.774833101 +0100 ++++ src/kalu/gui.h 2017-03-13 10:57:24.928164397 +0100 +@@ -38,6 +38,7 @@ + /* statusnotifier */ + #ifdef ENABLE_STATUS_NOTIFIER + #include <statusnotifier.h> ++#include <statusnotifier-compat.h> + #endif + + #define FREE_NOTIFS_LIST(p) \ |