aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-31 15:42:58 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 17:41:57 +0000
commitc2bce5733160101b56f242f85cd57e2cae00ab7a (patch)
tree6f9662c04b89a7addebb452a4119214013709ed0
parentff28ceaa7791d71e8c03c76228209dbc4a222f07 (diff)
downloadaports-c2bce5733160101b56f242f85cd57e2cae00ab7a.tar.bz2
aports-c2bce5733160101b56f242f85cd57e2cae00ab7a.tar.xz
testing/kconfigwidgets: new aport
Closes GH-8328
-rw-r--r--testing/kconfigwidgets/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kconfigwidgets/APKBUILD b/testing/kconfigwidgets/APKBUILD
new file mode 100644
index 0000000000..f419871f97
--- /dev/null
+++ b/testing/kconfigwidgets/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kconfigwidgets
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Widgets for KConfig"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-only AND LGPL-2.1-or-later"
+depends_dev="kauth-dev kcoreaddons-dev kcodecs-dev kconfig-dev kguiaddons-dev ki18n-dev kwidgetsaddons-dev"
+makedepends="$depends_dev extra-cmake-modules kdoctools-dev 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="5ab2ff176df4eaffd15861bca535637bdb9e7ae1e30873aedbf39da7fdbc669672ec9f012b9e6fc3ccdfc8a9cb505b6b9dd4b799736ff0ff03c9c6071e2d58e2 kconfigwidgets-5.58.0.tar.xz"