diff options
Diffstat (limited to 'community/kxmlgui/APKBUILD')
-rw-r--r-- | community/kxmlgui/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/kxmlgui/APKBUILD b/community/kxmlgui/APKBUILD new file mode 100644 index 0000000000..9d4cacdd03 --- /dev/null +++ b/community/kxmlgui/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kxmlgui +pkgver=5.60.0 +pkgrel=0 +pkgdesc="User configurable main windows" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only AND LGPL-2.1-or-later" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kitemviews-dev kconfig-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev attica-dev kglobalaccel-dev" +makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" +checkdepends="xvfb-run mesa-dri-swrast" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + # 2 out of 5 tests fail + LC_ALL=C CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E '(kxmlgui_unittest|ktoolbar_unittest)' +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="89238c3f58ce39f79aefbf89b7a7336c6bf71cbbc29fbd2fbe98a9c9c2dcd47135a61c50459b90c81c043bd40063b124b57e66cc74347fb491b62ff96992b92b kxmlgui-5.60.0.tar.xz" |