diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-09 00:06:19 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:55 +0000 |
commit | 92a0109f4f0432996458a097fe526ceb245a7989 (patch) | |
tree | 27c200dbe23524fe3e0115716a34b781912c0d23 /user | |
parent | 0993f8b3716041df49fc313a3232892496608216 (diff) | |
download | packages-92a0109f4f0432996458a097fe526ceb245a7989.tar.gz packages-92a0109f4f0432996458a097fe526ceb245a7989.tar.bz2 packages-92a0109f4f0432996458a097fe526ceb245a7989.tar.xz packages-92a0109f4f0432996458a097fe526ceb245a7989.zip |
user/libqaccessibilityclient: New package
Diffstat (limited to 'user')
-rw-r--r-- | user/libqaccessibilityclient/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libqaccessibilityclient/APKBUILD b/user/libqaccessibilityclient/APKBUILD new file mode 100644 index 000000000..b046cbaa5 --- /dev/null +++ b/user/libqaccessibilityclient/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libqaccessibilityclient +pkgver=0.4.1 +pkgrel=0 +pkgdesc="KDE client-side accessibility library" +url="https://www.kde.org/" +arch="all" +options="!check" # Requires running X11 session. +license="LGPL-2.1+" +depends="at-spi2-core" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev" +subpackages="$pkgname-dev" +source="https://download.kde.org/stable/libqaccessibilityclient/libqaccessibilityclient-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DBUILD_TESTING:BOOL=OFF \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="d5c168ff39f4bb67f18120eea50f8e02a85d464a5bb6479c48dfdb02ea9bf0cc379cbed4da7d882b718a1e1723d3a00528fcb26903b617b43029fde25e82cb3c libqaccessibilityclient-0.4.1.tar.xz" |