void-packages/srcpkgs/dbus-glib/template
Jami Kettunen 4c470f9225 dbus-glib: update to 0.112.
Additionally fix xlint and tests.
2022-03-13 12:08:42 +01:00

38 lines
1.1 KiB
Bash

# Template file for 'dbus-glib'
pkgname=dbus-glib
version=0.112
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-bash-completion"
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel"
depends="dbus"
checkdepends="dbus glib-devel"
short_desc="GLib bindings for D-Bus"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
checksum=7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a
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
}
dbus-glib-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}