63 lines
1.9 KiB
Bash
63 lines
1.9 KiB
Bash
# Template file for 'dbus-elogind'
|
|
pkgname=dbus-elogind
|
|
version=1.12.12
|
|
revision=1
|
|
wrksrc="dbus-${version}"
|
|
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 --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
|
|
--enable-elogind"
|
|
hostmakedepends="gperf intltool pkg-config xmlto
|
|
automake libtool autoconf autoconf-archive"
|
|
makedepends="expat-devel libX11-devel libcap-devel elogind-devel"
|
|
short_desc="Message bus system"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://dbus.freedesktop.org/"
|
|
changelog="https://raw.githubusercontent.com/freedesktop/dbus/dbus-1.12/NEWS"
|
|
distfiles="https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.gz"
|
|
checksum=9546f226011a1e5d9d77245fe5549ef25af4694053189d624d0d6ac127ecf5f8
|
|
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
|
|
replaces="dbus>=0"
|
|
provides="dbus-${version}_${revision}"
|
|
patch_args="-Np1"
|
|
|
|
# Create dbus:22 system account.
|
|
system_accounts="dbus:22"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vsv dbus
|
|
rm -r "${DESTDIR}/usr/include"
|
|
rm -r "${DESTDIR}"/usr/lib/dbus-*
|
|
rm -r "${DESTDIR}/usr/lib/pkgconfig"
|
|
rm "${DESTDIR}"/usr/lib/*.so
|
|
rm -r "${DESTDIR}/usr/share/doc"
|
|
rm -r "${DESTDIR}/usr/lib/cmake"
|
|
}
|
|
|
|
dbus-elogind-libs_package() {
|
|
short_desc+=" - shared libraries"
|
|
provides="dbus-libs-${version}_${revision}"
|
|
replaces="dbus-libs>=0"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
dbus-elogind-x11_package() {
|
|
short_desc+=" - X11 support"
|
|
provides="dbus-x11-${version}_${revision}"
|
|
replaces="dbus-x11>=0"
|
|
pkg_install() {
|
|
vmove usr/bin/dbus-launch
|
|
vmove usr/share/man/man1/dbus-launch.1
|
|
}
|
|
}
|