# Template file for 'dbus-test-runner'
pkgname=dbus-test-runner
version=19.04.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="glib-devel dbus-glib-devel libglib-devel"
depends="dbus"
checkdepends="python3-dbusmock"
short_desc="Run executables under a new DBus session for testing"
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
license="GPL-3.0-only"
homepage="https://launchpad.net/dbus-test-runner"
distfiles="https://launchpad.net/dbus-test-runner/${version%.*}/${version}/+download/dbus-test-runner-${version}.tar.gz"
checksum=645a32fbd909baf2c01438f0cbda29dc9cd01a7aba5504c45610d88e8a57cb76

dbus-test-runner-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove "usr/lib/*.a"
	}
}
