package dbus {
	description = "a message bus system"
	website = "https://www.freedesktop.org/wiki/Software/dbus"
	anitya = 5356

	version := "1.16.2"
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org"
		suffix = "dbus/dbus"
		ref = "dbus-${version}"
		checksum = "INwOuNdrDG7XW5ilW_vn8JSxEa444rRNc5ho97i84I1CNF09OmcFcV-gzbF4uCyg"
	}

	// OSError: [Errno 30] Read-only file system: '/usr/src/dbus/subprojects/packagecache'
	writable

	// PermissionError: [Errno 13] Permission denied: '/usr/src/dbus/subprojects/packagecache'
	chmod

	exec = meson {
		setup = endi [
			"Depoll": true
			"Dinotify": true
			"Dx11_autolaunch": false
		]
	}

	inputs = [
		glib
		libexpat
	]

	runtime = [
		glib
		libexpat
	]
}

package xdg-dbus-proxy {
	description = "a filtering proxy for D-Bus connections"
	website = "https://github.com/flatpak/xdg-dbus-proxy"
	anitya = 58434

	version := "0.1.7"
	source = remoteGitHub {
		suffix = "flatpak/xdg-dbus-proxy"
		tag = version
		checksum = "UW5Pe-TP-XAaN-kTbxrkOQ7eYdmlAQlr2pdreLtPT0uwdAz-7rzDP8V_8PWuZBup"
	}

	exec = meson {
		setup = endi [
			"Dman": false
		]
	}

	inputs = [
		dbus
		glib
	]

	runtime = [ glib ]
}
