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

Jan de Groot jgc at archlinux.org
Mon Feb 23 16:00:20 UTC 2015


    Date: Monday, February 23, 2015 @ 17:00:20
  Author: jgc
Revision: 128133

upgpkg: notify-sharp 0.4.1-2

Added:
  notify-sharp/trunk/use_dbussharp_2.pc
Modified:
  notify-sharp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-23 15:48:41 UTC (rev 128132)
+++ PKGBUILD	2015-02-23 16:00:20 UTC (rev 128133)
@@ -5,7 +5,7 @@
 
 pkgname=notify-sharp
 pkgver=0.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="C Sharp D-Bus client library for desktop notifications"
 arch=('any')
 url="https://www.meebey.net/projects/notify-sharp/"
@@ -13,11 +13,19 @@
 depends=('gtk-sharp-2' 'dbus-sharp-glib') 
 provides=('notify-sharp-svn')
 replaces=('notify-sharp-svn')
-source=(https://www.meebey.net/projects/notify-sharp/downloads/$pkgname-$pkgver.tar.gz)
-md5sums=('46fcb7a6b9b1cd0241366b8234e31e37')
+source=(https://www.meebey.net/projects/notify-sharp/downloads/$pkgname-$pkgver.tar.gz
+        use_dbussharp_2.pc)
+md5sums=('46fcb7a6b9b1cd0241366b8234e31e37'
+         '2018c4612d301c84b6cc8f6f7dd38155')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../use_dbussharp_2.pc
+}
+
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  autoreconf -fi
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
   make
 }

Added: use_dbussharp_2.pc
===================================================================
--- use_dbussharp_2.pc	                        (rev 0)
+++ use_dbussharp_2.pc	2015-02-23 16:00:20 UTC (rev 128133)
@@ -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