mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
|
pkgname=lomiri-action-api
|
|
pkgver=1.1.3
|
|
pkgrel=1
|
|
pkgdesc="Lomiri Action Qt API"
|
|
url="https://gitlab.com/ubports/development/core/lomiri-action-api"
|
|
arch="all"
|
|
license="LGPL-3.0-only"
|
|
depends_dev="qt5-qtdeclarative-dev"
|
|
makedepends="
|
|
$depends_dev
|
|
cmake
|
|
samurai
|
|
"
|
|
checkdepends="dbus-test-runner"
|
|
subpackages="$pkgname-dev"
|
|
source="https://gitlab.com/ubports/development/core/lomiri-action-api/-/archive/$pkgver/lomiri-action-api-$pkgver.tar.gz
|
|
0002-Use-qmltestrunner-qt5.patch
|
|
"
|
|
options="!check" # tests hang
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-Duse_libhud2=OFF
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
425b88cc97a0de10378dd003daaf3749d856ed469b468350de22fc428dd614e36361e1297b3e0b801999c13d8c7647fe0bcf732333e8a7af10dc65f8b9a53aa9 lomiri-action-api-1.1.3.tar.gz
|
|
3c6c8b12579ee0a9ad5bc28afa6dcfee132cb9a90b44314f9c10e044fd468f8004b8b460aa624714f672b35a500b1ae755494d112c3a9185a2670b8aec5d2e3b 0002-Use-qmltestrunner-qt5.patch
|
|
"
|