diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-22 00:48:33 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-28 17:14:48 +0000 |
commit | f7a76f05ea5d57e43a107375c39c230aa5ebc80a (patch) | |
tree | 3476e16c8decd9338b1e4eaa466f37fbe01fd418 /testing/kitemviews | |
parent | 280054d8f0843bdba8f957b91c88ac8e765ac182 (diff) | |
download | aports-f7a76f05ea5d57e43a107375c39c230aa5ebc80a.tar.bz2 aports-f7a76f05ea5d57e43a107375c39c230aa5ebc80a.tar.xz |
testing/kitemviews: new aport
Closes GH-7992
Diffstat (limited to 'testing/kitemviews')
-rw-r--r-- | testing/kitemviews/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kitemviews/APKBUILD b/testing/kitemviews/APKBUILD new file mode 100644 index 0000000000..f984f7830e --- /dev/null +++ b/testing/kitemviews/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kitemviews +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Widget addons for Qt Model/View" +arch="all" +url="https://community.kde.org/Frameworks" +license="GPL-2.0-only AND LGPL-2.1-only" +depends_dev="qt5-qtbase-dev" +makedepends="extra-cmake-modules qt5-qttools-dev doxygen" +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="fe08b97c3b698ee4cad96cfff6907b88f6c77841619abff4caf2f949d4e9379860a0e5c0be6ace4b573b0efd9dfab2dda10ee4856b5ea99e8a8be836444f048f kitemviews-5.58.0.tar.xz" |