59 lines
1.6 KiB
Bash
59 lines
1.6 KiB
Bash
# Template file for 'dbus'
|
|
# NOTE: keep this pkg synchronized with dbus-elogind
|
|
pkgname=dbus
|
|
version=1.14.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-selinux --enable-inotify --with-dbus-user=dbus
|
|
--enable-xml-docs --enable-epoll
|
|
--disable-asserts --disable-systemd --disable-user-session
|
|
--with-system-socket=/run/dbus/system_bus_socket --disable-doxygen-docs
|
|
--with-system-pid-file=/run/dbus/pid --with-console-auth-dir=/run/console"
|
|
hostmakedepends="gperf intltool pkg-config xmlto"
|
|
makedepends="expat-devel libX11-devel libcap-devel"
|
|
short_desc="Message bus system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://dbus.freedesktop.org/"
|
|
changelog="https://raw.githubusercontent.com/freedesktop/dbus/dbus-1.14/NEWS"
|
|
distfiles="https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.xz"
|
|
checksum=7c0f9b8e5ec0ff2479383e62c0084a3a29af99edf1514e9f659b81b30d4e353e
|
|
python_version=3
|
|
conf_files="/etc/dbus-1/*.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/*.a"
|
|
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
|
|
}
|
|
}
|