mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 02:16:39 +02:00
43 lines
933 B
Text
43 lines
933 B
Text
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
|
pkgname=libqtdbustest
|
|
pkgver=0.3.3
|
|
pkgrel=1
|
|
pkgdesc='Library for testing DBus interactions using Qt'
|
|
url='https://gitlab.com/ubports/development/core/libqtdbustest'
|
|
arch="all"
|
|
license="LGPL-3.0-only"
|
|
makedepends="
|
|
cmake
|
|
cmake-extras
|
|
gmock
|
|
gtest-dev
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
checkdepends="
|
|
dbus-x11
|
|
procps
|
|
py3-dbusmock
|
|
"
|
|
source="https://gitlab.com/ubports/development/core/libqtdbustest/-/archive/$pkgver/libqtdbustest-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DCMAKE_BUILD_TYPE=None
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
d867d519df29a0f9a7a88e33acc388e905b033b3594a738729ece1299c4e6091e6cf61fb3d7900f00c66179dd16f2307c342ac8d29ec6887eff8d32444025fed libqtdbustest-0.3.3.tar.gz
|
|
"
|