2008-10-25 01:07:58 +02:00
|
|
|
# Template file for 'dbus'
|
|
|
|
pkgname=dbus
|
2015-10-27 08:34:23 +01:00
|
|
|
version=1.10.2
|
2015-08-29 11:10:00 +02:00
|
|
|
revision=1
|
2015-07-22 10:07:37 +02:00
|
|
|
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
|
2015-10-27 08:34:23 +01:00
|
|
|
--enable-abstract-sockets --disable-user-session ac_cv_have_abstract_sockets=yes"
|
2008-10-25 01:07:58 +02:00
|
|
|
short_desc="Message bus system"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-06-04 22:20:44 +02:00
|
|
|
license="GPL-2"
|
2012-07-09 18:34:25 +02:00
|
|
|
homepage="http://dbus.freedesktop.org/"
|
2014-09-16 20:00:46 +02:00
|
|
|
distfiles="${homepage}/releases/dbus/dbus-${version}.tar.gz"
|
2015-10-27 08:34:23 +01:00
|
|
|
checksum=aef3f49595df09b0824433ee993cda748ede93693a719a831562ae1616b6bb9e
|
2013-02-12 13:44:37 +01:00
|
|
|
|
2015-03-18 16:05:07 +01:00
|
|
|
build_pie=yes
|
2014-01-21 07:58:11 +01:00
|
|
|
hostmakedepends="pkg-config intltool gperf xmlto"
|
2013-03-24 10:21:58 +01:00
|
|
|
makedepends="expat-devel libX11-devel libcap-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
|
2013-02-12 13:44:37 +01:00
|
|
|
|
2014-07-30 10:45:53 +02:00
|
|
|
# Create dbus:22 system account.
|
|
|
|
system_accounts="dbus:22"
|
|
|
|
|
2015-07-22 10:07:37 +02:00
|
|
|
post_install() {
|
2014-10-13 13:43:12 +02:00
|
|
|
vsv dbus
|
2013-02-12 13:44:37 +01:00
|
|
|
}
|
2013-04-12 09:46:44 +02:00
|
|
|
|
|
|
|
dbus-devel_package() {
|
2014-01-21 07:58:11 +01:00
|
|
|
depends="expat-devel dbus-libs>=${version}_${revision}"
|
2013-06-13 16:27:55 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:46:44 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/dbus-*"
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-13 12:41:07 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:46:44 +02:00
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dbus-libs_package() {
|
2013-06-13 16:27:55 +02:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-12 09:46:44 +02:00
|
|
|
pkg_install() {
|
2013-09-13 12:41:07 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 09:46:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
dbus-x11_package() {
|
2013-06-13 16:27:55 +02:00
|
|
|
short_desc+=" - X11 support"
|
2013-04-12 09:46:44 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/dbus-launch
|
|
|
|
vmove usr/share/man/man1/dbus-launch.1
|
|
|
|
}
|
|
|
|
}
|