void-packages/srcpkgs/dbus/template
maxice8 2442046f13 dbus: update to 1.12.6.
Closes: #11500 [via git-merge-pr]
2018-03-05 19:29:32 -08:00

53 lines
1.5 KiB
Bash

# Template file for 'dbus'
pkgname=dbus
version=1.12.6
revision=1
build_style=gnu-configure
configure_args="--disable-selinux --enable-inotify --with-dbus-user=dbus
--enable-xml-docs --disable-static --disable-tests --enable-epoll --disable-asserts
--disable-systemd --with-system-socket=/run/dbus/system_bus_socket --disable-doxygen-docs
--with-system-pid-file=/run/dbus/pid --with-console-auth-dir=/run/console
--disable-user-session"
short_desc="Message bus system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://dbus.freedesktop.org/"
distfiles="https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.gz"
checksum=621b902a07badec16c9e43eda43903cd0e1e69e11b13143da71c1889b062f116
hostmakedepends="pkg-config intltool gperf xmlto"
makedepends="expat-devel libX11-devel libcap-devel"
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
# Create dbus:22 system account.
system_accounts="dbus:22"
post_install() {
vsv dbus
}
dbus-devel_package() {
depends="expat-devel dbus-libs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/dbus-*"
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/doc
vmove usr/lib/cmake
}
}
dbus-libs_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
dbus-x11_package() {
short_desc+=" - X11 support"
pkg_install() {
vmove usr/bin/dbus-launch
vmove usr/share/man/man1/dbus-launch.1
}
}