~xdavidwu/systemd-apkbuilds

5e486c32f0fe8331b91fe644a357a88324bc93fe — xdavidwu 1 year, 3 months ago 11a640b
dbus: provide dummy openrc scripts
2 files changed, 19 insertions(+), 2 deletions(-)

M dbus/APKBUILD
A dbus/dbus.initd
M dbus/APKBUILD => dbus/APKBUILD +6 -2
@@ 2,7 2,7 @@
# Maintainer: xdavidwu <xdavidwuph@gmail.com>
pkgname=dbus
pkgver=1.15.0
pkgrel=2
pkgrel=3
pkgdesc="Freedesktop.org message bus system"
url="https://www.freedesktop.org/Software/dbus"
arch="all"


@@ 21,8 21,9 @@ makedepends="
pkggroups="messagebus"
install="$pkgname.pre-install $pkgname.post-install"
triggers="$pkgname.trigger=/usr/share/dbus-1/system.d"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-x11"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-x11 $pkgname-openrc"
source="https://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.xz
	$pkgname.initd
	hack-systemd-activation-must-only.patch"
options="!check" # Introduces circular dependency with xorg-server (xvfb-run -> xvfb)



@@ 50,6 51,8 @@ check() {

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output

	install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus
}

libs() {


@@ 69,5 72,6 @@ x11() {

sha512sums="
6f7e1d4ff525ce13c5f671f1b045a089c379cbfb777662ce7a55ffe4893a8ab2aaf38877a7b8f261823067a20f3b336437449eb353a97d30699496375e00bf1a  dbus-1.15.0.tar.xz
958942c3d0ca19454a67b9749ab52ed792949b08985bd2d35901e705b95b1aec82b2583049255c4cd61b52a7e048fd5bf410cdde09d9384a4044ff4a47fa5ece  dbus.initd
5b7d3fc1d0ea62e48a882fa7eb940c9c19d71a74b4a6aff776f34f56219a385f6aaf255f9f1ec92757eb61159b28519fd30a6e2b54ea6b610f1bc6236ddd2af9  hack-systemd-activation-must-only.patch
"

A dbus/dbus.initd => dbus/dbus.initd +13 -0
@@ 0,0 1,13 @@
#!/sbin/openrc-run

description="Fake dbus dep"

depend()
{
	:
}

start()
{
	:
}