[arch-commits] Commit in (5 files)
Ray Rashif
schiv at archlinux.org
Wed Sep 19 19:12:05 UTC 2012
Date: Wednesday, September 19, 2012 @ 15:12:05
Author: schiv
Revision: 166830
add new dep dbus-c++ for libffado brought in from aur
Added:
dbus-c++/
dbus-c++/repos/
dbus-c++/trunk/
dbus-c++/trunk/PKGBUILD
dbus-c++/trunk/gcc47.patch
-------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
gcc47.patch | 10 ++++++++++
2 files changed, 48 insertions(+)
Added: dbus-c++/trunk/PKGBUILD
===================================================================
--- dbus-c++/trunk/PKGBUILD (rev 0)
+++ dbus-c++/trunk/PKGBUILD 2012-09-19 19:12:05 UTC (rev 166830)
@@ -0,0 +1,38 @@
+# 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=4
+pkgdesc="dbus-c++ attempts to provide 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')
+options=('!libtool')
+source=("http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%2B/$pkgver/libdbus-c%2B%2B-$pkgver.tar.gz"
+ 'gcc47.patch')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ patch -Np0 -i "$srcdir/gcc47.patch"
+ export LDFLAGS+=" -lexpat"
+
+ ./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:
Added: dbus-c++/trunk/gcc47.patch
===================================================================
--- dbus-c++/trunk/gcc47.patch (rev 0)
+++ dbus-c++/trunk/gcc47.patch 2012-09-19 19:12:05 UTC (rev 166830)
@@ -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