[arch-commits] Commit in dbus-c++/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Jun 12 18:53:00 UTC 2017


    Date: Monday, June 12, 2017 @ 18:52:59
  Author: bpiotrowski
Revision: 236556

archrelease: copy trunk to community-i686, community-x86_64

Added:
  dbus-c++/repos/community-i686/
  dbus-c++/repos/community-i686/PKGBUILD
    (from rev 236555, dbus-c++/trunk/PKGBUILD)
  dbus-c++/repos/community-i686/gcc47.patch
    (from rev 236555, dbus-c++/trunk/gcc47.patch)
  dbus-c++/repos/community-x86_64/
  dbus-c++/repos/community-x86_64/PKGBUILD
    (from rev 236555, dbus-c++/trunk/PKGBUILD)
  dbus-c++/repos/community-x86_64/gcc47.patch
    (from rev 236555, dbus-c++/trunk/gcc47.patch)

------------------------------+
 community-i686/PKGBUILD      |   39 +++++++++++++++++++++++++++++++++++++++
 community-i686/gcc47.patch   |   10 ++++++++++
 community-x86_64/PKGBUILD    |   39 +++++++++++++++++++++++++++++++++++++++
 community-x86_64/gcc47.patch |   10 ++++++++++
 4 files changed, 98 insertions(+)

Copied: dbus-c++/repos/community-i686/PKGBUILD (from rev 236555, dbus-c++/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-06-12 18:52:59 UTC (rev 236556)
@@ -0,0 +1,39 @@
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Xavier D. <magicrhesus at ouranos.be>
+# Contributor: Zarra <zarraxx at gmail.com>
+
+pkgname=dbus-c++
+_pkgname=lib$pkgname
+pkgver=0.9.0
+pkgrel=6
+pkgdesc="A C++ API for D-BUS"
+url="http://sourceforge.net/projects/dbus-cplusplus/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dbus>=1.2.0' 'glib2')
+makedepends=('autoconf' 'automake' 'libtool')
+source=("http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%2B/$pkgver/libdbus-c%2B%2B-$pkgver.tar.gz"
+	      'gcc47.patch')
+md5sums=('e752116f523fa88ef041e63d3dee4de2'
+         '9319b402b15f37d881b51bc758368900')
+
+build() {
+    cd "$srcdir/$_pkgname-$pkgver"
+
+    patch -Np0 -i "$srcdir/gcc47.patch"
+    export LDFLAGS+=" -lexpat -lpthread" # -lpthread needed for i686
+
+    ./autogen.sh --prefix=/usr \
+                 --disable-static \
+                 --enable-glib \
+                 --disable-ecore
+    make
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: dbus-c++/repos/community-i686/gcc47.patch (from rev 236555, dbus-c++/trunk/gcc47.patch)
===================================================================
--- community-i686/gcc47.patch	                        (rev 0)
+++ community-i686/gcc47.patch	2017-06-12 18:52:59 UTC (rev 236556)
@@ -0,0 +1,10 @@
+--- src/eventloop-integration.cpp.orig	2012-05-09 11:22:09.683290763 +0200
++++ src/eventloop-integration.cpp	2012-05-09 11:22:44.313288912 +0200
+@@ -38,6 +38,7 @@
+ #include <cassert>
+ #include <sys/poll.h>
+ #include <fcntl.h>
++#include <unistd.h>
+ 
+ using namespace DBus;
+ using namespace std;

Copied: dbus-c++/repos/community-x86_64/PKGBUILD (from rev 236555, dbus-c++/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-12 18:52:59 UTC (rev 236556)
@@ -0,0 +1,39 @@
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Xavier D. <magicrhesus at ouranos.be>
+# Contributor: Zarra <zarraxx at gmail.com>
+
+pkgname=dbus-c++
+_pkgname=lib$pkgname
+pkgver=0.9.0
+pkgrel=6
+pkgdesc="A C++ API for D-BUS"
+url="http://sourceforge.net/projects/dbus-cplusplus/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dbus>=1.2.0' 'glib2')
+makedepends=('autoconf' 'automake' 'libtool')
+source=("http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%2B/$pkgver/libdbus-c%2B%2B-$pkgver.tar.gz"
+	      'gcc47.patch')
+md5sums=('e752116f523fa88ef041e63d3dee4de2'
+         '9319b402b15f37d881b51bc758368900')
+
+build() {
+    cd "$srcdir/$_pkgname-$pkgver"
+
+    patch -Np0 -i "$srcdir/gcc47.patch"
+    export LDFLAGS+=" -lexpat -lpthread" # -lpthread needed for i686
+
+    ./autogen.sh --prefix=/usr \
+                 --disable-static \
+                 --enable-glib \
+                 --disable-ecore
+    make
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: dbus-c++/repos/community-x86_64/gcc47.patch (from rev 236555, dbus-c++/trunk/gcc47.patch)
===================================================================
--- community-x86_64/gcc47.patch	                        (rev 0)
+++ community-x86_64/gcc47.patch	2017-06-12 18:52:59 UTC (rev 236556)
@@ -0,0 +1,10 @@
+--- src/eventloop-integration.cpp.orig	2012-05-09 11:22:09.683290763 +0200
++++ src/eventloop-integration.cpp	2012-05-09 11:22:44.313288912 +0200
+@@ -38,6 +38,7 @@
+ #include <cassert>
+ #include <sys/poll.h>
+ #include <fcntl.h>
++#include <unistd.h>
+ 
+ using namespace DBus;
+ using namespace std;



More information about the arch-commits mailing list