diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-31 16:01:01 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-01 17:41:58 +0000 |
commit | 472f77dec4d9fea2c365007218a1d89fef9613c1 (patch) | |
tree | d7a93a7e725b8f4ff17b12313cede0621167cc83 /testing/ktextwidgets | |
parent | cdd1d58dbeacb99250e885d929dc742b5316ae5b (diff) | |
download | aports-472f77dec4d9fea2c365007218a1d89fef9613c1.tar.bz2 aports-472f77dec4d9fea2c365007218a1d89fef9613c1.tar.xz |
testing/ktextwidgets: new aport
Closes GH-8328
Diffstat (limited to 'testing/ktextwidgets')
-rw-r--r-- | testing/ktextwidgets/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/ktextwidgets/APKBUILD b/testing/ktextwidgets/APKBUILD new file mode 100644 index 0000000000..d502eabefb --- /dev/null +++ b/testing/ktextwidgets/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=ktextwidgets +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Advanced text editing widgets" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-or-later" +depends_dev="qt5-qtspeech-dev kcompletion-dev kconfig-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev kservice-dev kwidgetsaddons-dev kwindowsystem-dev sonnet-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="d3c33fb32fcf7611e06fcfa25c3450ed10076e96c19a4aaa327b0fc005003ee8cd910c9b0519eaefd3ef730da95d40effafe8b008bb9d767b55344ec4805a3cc ktextwidgets-5.58.0.tar.xz" |