diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-31 16:22:18 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-01 17:41:58 +0000 |
commit | f73012217af9b15a047dce85a5717308ae3e541f (patch) | |
tree | 995088ef75a9f215bee27677e111395de825e85c /testing/kxmlgui | |
parent | 9d9cc15722cbc09cdd6c463e30816bcb937b20b5 (diff) | |
download | aports-f73012217af9b15a047dce85a5717308ae3e541f.tar.bz2 aports-f73012217af9b15a047dce85a5717308ae3e541f.tar.xz |
testing/kxmlgui: new aport
Closes GH-8328
Diffstat (limited to 'testing/kxmlgui')
-rw-r--r-- | testing/kxmlgui/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kxmlgui/APKBUILD b/testing/kxmlgui/APKBUILD new file mode 100644 index 0000000000..2b8a74bb62 --- /dev/null +++ b/testing/kxmlgui/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kxmlgui +pkgver=5.58.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" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Fails due to requiring running X11 + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="22d718f49b5d9b4caca4fc38be4fac42c21d2ff481d0fa0d821df0223b255a79ac27dfd83773a8c0d24b9db79bbc0d486ada7c73d44ce1aeae35792ab4551be6 kxmlgui-5.58.0.tar.xz" |