mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
testing/umockdev: new aport
This commit is contained in:
parent
0875bb9821
commit
55213772a0
33
testing/umockdev/APKBUILD
Normal file
33
testing/umockdev/APKBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||||
pkgname=umockdev
|
||||
pkgver=0.15.4
|
||||
pkgrel=0
|
||||
pkgdesc="Mock hardware devices for creating unit tests and bug reporting"
|
||||
arch="all !x86 !armv7" # time64 issue https://github.com/martinpitt/umockdev/issues/120
|
||||
url="https://github.com/martinpitt/umockdev"
|
||||
license="LGPL-2.1-or-later"
|
||||
makedepends="eudev-dev gtk-doc meson vala"
|
||||
checkdepends="gobject-introspection-dev gphoto2 libgudev-dev py3-gobject3 usbutils xz"
|
||||
if [ "$CARCH" != "ppc64le" ]; then
|
||||
checkdepends="$checkdepends evtest"
|
||||
fi
|
||||
source="https://github.com/martinpitt/umockdev/archive/$pkgver/umockdev-$pkgver.tar.gz"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
options="!check" # Tests fail spuriously on several arches
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Dgtk_doc=true \
|
||||
. output
|
||||
meson compile ${JOBS:+-j ${JOBS}} -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --no-rebuild -v -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="dc04a14cdce8caba180c53e3403e312f05b946968161dfc02ba3edfb52e5ff45b7a4923e0ccb16abff32754965fce581eabdb32d139ce2af12ca6bef2e39d9bd umockdev-0.15.4.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user