umockdev: use gir build helper instead of depending on qemu-user

This commit is contained in:
classabbyamp 2024-09-18 00:07:45 -04:00 committed by classabbyamp
parent 2c15fd3df7
commit c5ba72e4ee
1 changed files with 1 additions and 4 deletions

View File

@ -3,6 +3,7 @@ pkgname=umockdev
version=0.17.13 version=0.17.13
revision=1 revision=1
build_style=meson build_style=meson
build_helper="gir"
hostmakedepends="pkg-config vala" hostmakedepends="pkg-config vala"
makedepends="vala-devel eudev-libudev-devel libpcap-devel gobject-introspection" makedepends="vala-devel eudev-libudev-devel libpcap-devel gobject-introspection"
checkdepends="eudev which gphoto2 libgudev-devel python3-gobject usbutils xz" checkdepends="eudev which gphoto2 libgudev-devel python3-gobject usbutils xz"
@ -13,10 +14,6 @@ homepage="https://github.com/martinpitt/umockdev"
distfiles="https://github.com/martinpitt/umockdev/releases/download/${version}/umockdev-${version}.tar.xz" distfiles="https://github.com/martinpitt/umockdev/releases/download/${version}/umockdev-${version}.tar.xz"
checksum=6c6ebf6e6209b6a49746e0d91a448d027b54271bab82ed70a132ecf294ca13cf checksum=6c6ebf6e6209b6a49746e0d91a448d027b54271bab82ed70a132ecf294ca13cf
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection qemu-user"
fi
umockdev-devel_package() { umockdev-devel_package() {
depends="umockdev>=${version}_${revision}" depends="umockdev>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"