From 291d2562e6b5d5795e33a4abf82774ee804ecbba Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 27 Feb 2015 21:29:28 +0100 Subject: [PATCH] New package: dbus-c++-0.9.0 --- common/shlibs | 2 ++ srcpkgs/dbus-c++-devel | 1 + srcpkgs/dbus-c++/patches/gcc47.patch | 10 ++++++++++ srcpkgs/dbus-c++/template | 26 ++++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 120000 srcpkgs/dbus-c++-devel create mode 100644 srcpkgs/dbus-c++/patches/gcc47.patch create mode 100644 srcpkgs/dbus-c++/template diff --git a/common/shlibs b/common/shlibs index 76f87c5c154..8e0ce5ad0c2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1930,3 +1930,5 @@ libmosquittopp.so.1 libmosquittopp-1.4_1 libmpv.so.1 mpv-0.8.0_2 libmbedtls.so.8 mbedtls-1.3.10_1 libdmtx.so.0 libdmtx-0.7.4_1 +libdbus-c++-1.so.0 dbus-c++-0.9.0_1 +libdbus-c++-glib-1.so.0 dbus-c++-0.9.0_1 diff --git a/srcpkgs/dbus-c++-devel b/srcpkgs/dbus-c++-devel new file mode 120000 index 00000000000..632760d7cc2 --- /dev/null +++ b/srcpkgs/dbus-c++-devel @@ -0,0 +1 @@ +dbus-c++ \ No newline at end of file diff --git a/srcpkgs/dbus-c++/patches/gcc47.patch b/srcpkgs/dbus-c++/patches/gcc47.patch new file mode 100644 index 00000000000..6a827730069 --- /dev/null +++ b/srcpkgs/dbus-c++/patches/gcc47.patch @@ -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 + #include + #include ++#include + + using namespace DBus; + using namespace std; diff --git a/srcpkgs/dbus-c++/template b/srcpkgs/dbus-c++/template new file mode 100644 index 00000000000..d77dca87c93 --- /dev/null +++ b/srcpkgs/dbus-c++/template @@ -0,0 +1,26 @@ +# Template file for 'dbus-c++' +pkgname=dbus-c++ +version=0.9.0 +revision=1 +wrksrc=lib$pkgname-$version +build_style=gnu-configure +configure_args="--disable-static --enable-glib --disable-ecore" +hostmakedepends="autoconf automake pkg-config" +makedepends="dbus-devel glib-devel" +short_desc="A C++ API for D-BUS" +maintainer="Duncaen " +license="LGPL-2" +homepage="http://dbus-cplusplus.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/dbus-cplusplus/$pkgname/$version/lib$pkgname-$version.tar.gz" +checksum=bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61 +LDFLAGS+="-lexpat -lpthread" + +dbus-c++-devel_package() { + short_desc+=" - development files" + depends="dbus-c++-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}