diff options
Diffstat (limited to 'main/dbus/APKBUILD')
-rw-r--r-- | main/dbus/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD index 5dcc69d68d6..f0a3fb43a42 100644 --- a/main/dbus/APKBUILD +++ b/main/dbus/APKBUILD @@ -1,17 +1,18 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dbus pkgver=1.10.24 -pkgrel=0 +pkgrel=1 pkgdesc="Freedesktop.org message bus system" url="http://www.freedesktop.org/Software/dbus" pkggroups="messagebus" arch="all" -license="GPL custom" +options="!check" # Requires running X11 server. +license="AFL-2.1 OR GPL-2.0+" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-x11" triggers="$pkgname.trigger=/etc/dbus-1/system.d" depends= depends_dev="util-linux-dev" -makedepends="$depends_dev expat-dev libx11-dev autoconf automake libtool" +makedepends="$depends_dev expat-dev libx11-dev autoconf automake libtool xmlto" install="$pkgname.pre-install $pkgname.post-install" source="http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz fix-int64-print.patch @@ -40,26 +41,28 @@ build() { --disable-dnotify \ --disable-tests \ --disable-asserts \ - --with-x \ - || return 1 - make || return 1 + --enable-user-session \ + --enable-xml-docs \ + --with-session-socket-dir=/tmp \ + --with-x + make } package() { cd "$srcdir"/$pkgname-$pkgver - make -j1 DESTDIR="$pkgdir" install || return 1 + make -j1 DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus } libs() { - pkgdesc="Libraries for acces D-BUS" + pkgdesc="D-BUS access libraries" replaces="dbus" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/ } x11() { - pkgdesc="X11-requiring add-ons for D-BUS" + pkgdesc="X11 add-ons for D-BUS" depends="dbus=$pkgver-r$pkgrel" mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/dbus-launch "$subpkgdir"/usr/bin/ |