[arch-commits] Commit in notify-sharp-3/trunk (PKGBUILD use_dbussharp_2.pc)

Jan de Groot jgc at archlinux.org
Mon Feb 23 16:04:44 UTC 2015


    Date: Monday, February 23, 2015 @ 17:04:43
  Author: jgc
Revision: 128135

upgpkg: notify-sharp-3 3.0.3-2

Added:
  notify-sharp-3/trunk/use_dbussharp_2.pc
    (from rev 128133, notify-sharp/trunk/use_dbussharp_2.pc)
Modified:
  notify-sharp-3/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   15 ++++++++++++---
 use_dbussharp_2.pc |   15 +++++++++++++++
 2 files changed, 27 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-23 16:00:24 UTC (rev 128134)
+++ PKGBUILD	2015-02-23 16:04:43 UTC (rev 128135)
@@ -6,17 +6,26 @@
 pkgname=notify-sharp-3
 _pkgname=notify-sharp
 pkgver=3.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="C# D-Bus client library for desktop notifications (GTK+ 3 version)"
 arch=('any')
 url="https://www.meebey.net/projects/notify-sharp/"
 license=('MIT')
 depends=('gtk-sharp-3' 'dbus-sharp-glib') 
-source=(https://www.meebey.net/projects/$_pkgname/downloads/$_pkgname-$pkgver.tar.gz)
-sha256sums=('a62ed07850a122e2bb7f2b88b32cf2fa675b60b912c0aeefb23f554ebfb1e56d')
+source=(https://www.meebey.net/projects/$_pkgname/downloads/$_pkgname-$pkgver.tar.gz
+        use_dbussharp_2.pc)
+sha256sums=('a62ed07850a122e2bb7f2b88b32cf2fa675b60b912c0aeefb23f554ebfb1e56d'
+            '6a6b13725d2b5161271f3d350e568abc2ba80130d9553089c46c4cad3bea66f9')
 
+prepare() {
+  cd $_pkgname-$pkgver
+  patch -Np1 -i ../use_dbussharp_2.pc
+}
+
 build() {
   cd $_pkgname-$pkgver
+  autoreconf -fi
+
   ./configure --prefix=/usr
   make
 }

Copied: notify-sharp-3/trunk/use_dbussharp_2.pc (from rev 128133, notify-sharp/trunk/use_dbussharp_2.pc)
===================================================================
--- use_dbussharp_2.pc	                        (rev 0)
+++ use_dbussharp_2.pc	2015-02-23 16:04:43 UTC (rev 128135)
@@ -0,0 +1,15 @@
+Index: notify-sharp/configure.ac
+===================================================================
+--- notify-sharp.orig/configure.ac	2013-10-30 17:08:11.823924561 +0000
++++ notify-sharp/configure.ac	2013-10-30 17:08:39.132039728 +0000
+@@ -68,8 +68,8 @@
+ 
+ DBUS_SHARP_REQ_VERSION=0.7
+ DBUS_SHARP_GLIB_REQ_VERSION=0.5
+-PKG_CHECK_MODULES(DBUS_SHARP, dbus-sharp-1.0 >= $DBUS_SHARP_REQ_VERSION \
+-                              dbus-sharp-glib-1.0 >= $DBUS_SHARP_GLIB_REQ_VERSION)
++PKG_CHECK_MODULES(DBUS_SHARP, dbus-sharp-2.0 >= $DBUS_SHARP_REQ_VERSION \
++                              dbus-sharp-glib-2.0 >= $DBUS_SHARP_GLIB_REQ_VERSION)
+ AC_SUBST(DBUS_SHARP_LIBS)
+ 
+ required_assemblies="Mono.Posix"



More information about the arch-commits mailing list