2018-09-02 23:29:38 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
pkgname=umockdev
|
2019-09-09 10:11:23 +00:00
|
|
|
pkgver=0.13.2
|
2018-09-02 23:29:38 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Record/mock hardware devices for bug reports and regression tests"
|
2019-09-09 10:11:23 +00:00
|
|
|
arch="all"
|
2018-09-02 23:29:38 +00:00
|
|
|
url="https://github.com/martinpitt/umockdev/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
depends_dev="eudev-dev libgudev-dev"
|
|
|
|
makedepends="$depends_dev autoconf automake libtool gtk-doc vala linux-headers bash"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/martinpitt/$pkgname/archive/$pkgver.tar.gz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2019-09-09 10:11:23 +00:00
|
|
|
options="!check" # Testbed.create_node_for_device: openpty() failed: No such file or directory
|
2018-09-02 23:29:38 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
./autogen.sh \
|
|
|
|
--build=$CBUILD \
|
|
|
|
--host=$CHOST \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-gtk-doc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-09-09 10:11:23 +00:00
|
|
|
sha512sums="58a0e2cf9c387a495a39d2094c3f5ea733b28b1dbadb0b8e4fc5bad559359d7f46c968112bc27206d4ecfa03f88562c712b62fa9dae7628181f2ff59e9a143c6 umockdev-0.13.2.tar.gz"
|