mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-13 17:52:37 +02:00
46 lines
1.4 KiB
Plaintext
46 lines
1.4 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.6.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
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
checkdepends="
|
|
dbus
|
|
xvfb-run
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
_repo_url="https://invent.kde.org/libraries/libqaccessibilityclient.git"
|
|
source="https://download.kde.org/stable/libqaccessibilityclient/libqaccessibilityclient-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -DBUILD_WITH_QT6=ON -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 -E "libkdeaccessibilityclient-tst_accessibilityclient"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
d8752b020e0f7c85dd885d2c313b2dc5a97892c9913eb430aa405b6e391e84b827abc7fcc1f9e36fee2216713cab1be41fc148ce612ed9ae3e164c5d52e2419a libqaccessibilityclient-0.6.0.tar.xz
|
|
"
|