From 4edcf8e96a6f570f13076b1b1120c07444a42021 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 18 Jan 2010 11:11:48 +0000 Subject: [PATCH] dbus-glib: Added header at source instead of building it. --- dbus-glib/.md5sum | 1 + dbus-glib/Pkgfile | 17 ++++------------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/dbus-glib/.md5sum b/dbus-glib/.md5sum index 5817ee0..fd34013 100644 --- a/dbus-glib/.md5sum +++ b/dbus-glib/.md5sum @@ -1 +1,2 @@ 86ea60ba2118a1b9deafe8257f6a6a1a dbus-glib-0.80.tar.gz +8a6aca3fba2b013ed55e80ad864ded46 dbus-glib-bindings.h diff --git a/dbus-glib/Pkgfile b/dbus-glib/Pkgfile index 48570ee..fcca1d0 100644 --- a/dbus-glib/Pkgfile +++ b/dbus-glib/Pkgfile @@ -7,8 +7,9 @@ name=dbus-glib version=0.80 -release=1 -source=(http://dbus.freedesktop.org/releases/$name/$name-$version.tar.gz) +release=2 +source=(http://dbus.freedesktop.org/releases/$name/$name-$version.tar.gz \ + dbus-glib-bindings.h) build() { cd $name-$version @@ -41,17 +42,7 @@ EOF make distclean - unset CC CFLAGS CXX CXXFLAGS AR RANLIB DBUS_LIBS DBUS_CFLAGS DBUS_GLIB_LIBS \ -DBUS_GLIB_CFLAGS DBUS_GLIB_THREADS_LIBS DBUS_GLIB_THREADS_CFLAGS - - ./configure --prefix=/usr \ - --disable-static \ - --with-xml=expat - make - - cd tools - ../dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml - cp dbus-glib-bindings.h $PKG/usr/include/dbus-1.0/dbus/ + install -D -m 0644 $SRC/dbus-glib-bindings.h $PKG/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h rm -rf $PKG/usr/{etc,libexec,share} } -- 2.26.2