mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 18:52:30 +01:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-other
|
|
pkgname=libqaccessibilityclient
|
|
pkgver=0.5.0
|
|
pkgrel=0
|
|
pkgdesc="Accessibilty tools helper library, used e.g. by screen readers"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://invent.kde.org/libraries/libqaccessibilityclient"
|
|
license="LicenseRef-KDE-Accepted-LGPL AND LGPL-2.1-only AND LGPL-3.0-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
checkdepends="
|
|
dbus
|
|
xvfb-run
|
|
"
|
|
_repo_url="https://invent.kde.org/libraries/libqaccessibilityclient.git"
|
|
source="https://download.kde.org/stable/libqaccessibilityclient/libqaccessibilityclient-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # Broken
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
dbus-run-session -- xvfb-run ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
560526596e490b19263b3a6fb77b06e69611b34865a8fe18c593348fdeba22c1afd2b6ac44bee15ad94d402996e113c41dd7fa601f815559957729e18d9d9537 libqaccessibilityclient-0.5.0.tar.xz
|
|
"
|