diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-04-12 20:49:14 +0200 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-04-12 23:39:53 +0000 |
commit | 998473db343dad30b5373d469c29eb418744cd03 (patch) | |
tree | 2824b820708b66a683c67c1826e9b19425818ee5 /community/kpimtextedit/APKBUILD | |
parent | 509451a276f0f2641ad0f7193283710b9d0a1076 (diff) | |
download | aports-998473db343dad30b5373d469c29eb418744cd03.tar.bz2 aports-998473db343dad30b5373d469c29eb418744cd03.tar.xz |
community/kpimtextedit: move from testing
Diffstat (limited to 'community/kpimtextedit/APKBUILD')
-rw-r--r-- | community/kpimtextedit/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/kpimtextedit/APKBUILD b/community/kpimtextedit/APKBUILD new file mode 100644 index 0000000000..4c7c287cd0 --- /dev/null +++ b/community/kpimtextedit/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kpimtextedit +pkgver=19.12.3 +pkgrel=0 +pkgdesc="Advanced text editor which provide advanced html feature" +arch="all !armhf" +url="https://api.kde.org/kdepim/kpimtextedit/html" +license="LGPL-2.0-or-later AND GPL-2.0-or-later" +depends_dev="qt5-qtbase-dev qt5-qtspeech-dev grantlee-dev kcodecs-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kemoticons-dev ki18n-dev kiconthemes-dev kio-dev sonnet-dev syntax-highlighting-dev kwidgetsaddons-dev kxmlgui-dev" +makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/release-service/$pkgver/src/kpimtextedit-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_DESIGNERPLUGIN=ON + make -C build +} + +check() { + cd build + + # kpimtextedit-plaintext-textgotolinewidgettest requires OpenGL + # kpimtextedit-texttospeech-texttospeechwidgettest requires texttospeech + # kpimtextedit-texttospeech-texttospeechactionstest is broken + # kpimtextedit-composerng-richtextcomposertest requires OpenGL + # kpimtextedit-composerng-richtextcomposercontrolertest requires OpenGL + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kpimtextedit-(plaintext-textgotolinewidget|texttospeech-texttospeechwidget|texttospeech-texttospeechactions|composerng-richtextcomposer|composerng-richtextcomposercontroler)test" +} + +package() { + DESTDIR="$pkgdir" make -C build install +} +sha512sums="116d54e99f89e064acd6a699155b395327a4e64b8e63087f83cad8e652cbc8f7fa6a892f607f21bc7d6a998e5e7ba8e472a95ddfc490534602198930bac30a6a kpimtextedit-19.12.3.tar.xz" |