aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdeclarative
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-31 17:43:15 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 17:41:58 +0000
commit74ae8c7f3e7db89022379308e2c800d71c87cc75 (patch)
tree78121d0951cb0b301ef4b2f3ddb06e6a452a3ec3 /testing/kdeclarative
parent1e558bafe8d83805ee7a020c05b3fe8322505d01 (diff)
downloadaports-74ae8c7f3e7db89022379308e2c800d71c87cc75.tar.bz2
aports-74ae8c7f3e7db89022379308e2c800d71c87cc75.tar.xz
testing/kdeclarative: new aport
Closes GH-8328
Diffstat (limited to 'testing/kdeclarative')
-rw-r--r--testing/kdeclarative/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kdeclarative/APKBUILD b/testing/kdeclarative/APKBUILD
new file mode 100644
index 0000000000..792b27804b
--- /dev/null
+++ b/testing/kdeclarative/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kdeclarative
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Provides integration of QML and KDE Frameworks"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-or-later"
+depends_dev="qt5-qtdeclarative-dev kconfig-dev ki18n-dev kiconthemes-dev kio-dev kwidgetsaddons-dev kwindowsystem-dev kglobalaccel-dev kguiaddons-dev kpackage-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="fffcb319a15cf89cc7179f0c543376eec83c0de8a49f533ab3c0488e13788b246b051a36249e0212517260fe24db647190e055a72cfa472dc168f0ae776cda41 kdeclarative-5.58.0.tar.xz"