diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-09 00:06:19 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | 44d7d2b2882e270cebf8385ac60827955e1e0987 (patch) | |
tree | 6d13ed5804a318e56e9367048f9ae44d7175d01f /user/libqaccessibilityclient | |
parent | 2443da99b4a066cd9319223d3f83ada7fdce485e (diff) | |
download | packages-44d7d2b2882e270cebf8385ac60827955e1e0987.tar.gz packages-44d7d2b2882e270cebf8385ac60827955e1e0987.tar.bz2 packages-44d7d2b2882e270cebf8385ac60827955e1e0987.tar.xz packages-44d7d2b2882e270cebf8385ac60827955e1e0987.zip |
user/libqaccessibilityclient: New package
Diffstat (limited to 'user/libqaccessibilityclient')
-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" |