2009-03-20 05:38:35 +00:00
|
|
|
# Template file for 'dbus-glib'
|
|
|
|
pkgname=dbus-glib
|
2015-02-10 08:47:48 +00:00
|
|
|
version=0.104
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-06-25 09:56:35 +00:00
|
|
|
configure_args="--disable-static --disable-bash-completion"
|
2013-04-03 09:48:46 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-05-07 09:40:05 +00:00
|
|
|
makedepends="libglib-devel dbus-devel"
|
2014-10-14 14:35:05 +00:00
|
|
|
depends="dbus"
|
2009-03-20 05:38:35 +00:00
|
|
|
short_desc="GLib bindings for D-Bus"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-03 18:16:48 +00:00
|
|
|
license="GPL-2"
|
2012-06-27 08:18:46 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
|
|
|
|
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
|
2015-02-10 08:47:48 +00:00
|
|
|
checksum=bfc1f1a82bfc3ec3ecafe04d0e87bab7e999f50dce4f4a34d0b89caf6bd821f6
|
2013-04-12 07:46:44 +00:00
|
|
|
|
2013-05-07 09:40:05 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
configure_args+=" --with-dbus-binding-tool=dbus-binding-tool"
|
|
|
|
hostmakedepends+=" dbus-glib-devel"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
# Disable examples.
|
|
|
|
sed -e 's,SUBDIRS = . examples, SUBDIRS = .,' -i dbus/Makefile.in
|
|
|
|
}
|
|
|
|
|
2013-04-12 07:46:44 +00:00
|
|
|
dbus-glib-devel_package() {
|
2014-10-13 08:08:12 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-05-07 09:40:05 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 07:46:44 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-17 10:59:47 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 07:46:44 +00:00
|
|
|
}
|
|
|
|
}
|