diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-19 12:55:27 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-20 08:27:44 -0300 |
commit | 8d6ac6130080e76e9e39b5e9ac0fad82cd49e435 (patch) | |
tree | d99ff643a83cf9ce16a6179742446169c77e3bd5 | |
parent | f0651aa110480bb13d6d13a3acea6eb1f7e4d5fa (diff) | |
download | aports-8d6ac6130080e76e9e39b5e9ac0fad82cd49e435.tar.bz2 aports-8d6ac6130080e76e9e39b5e9ac0fad82cd49e435.tar.xz |
testing/kpimtextedit: new aport
-rw-r--r-- | testing/kpimtextedit/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/kpimtextedit/APKBUILD b/testing/kpimtextedit/APKBUILD new file mode 100644 index 0000000000..41e88064e7 --- /dev/null +++ b/testing/kpimtextedit/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kpimtextedit +pkgver=19.04.2 +pkgrel=0 +pkgdesc="Advanced text editor which provide advanced html feature" +arch="all" +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 kdesignerplugin-dev kdesignerplugin qt5-qttools-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + # 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 install +} +sha512sums="c928d3cc1690d04cd0c7b8d3fe963c479bd00cef4e0fdcdd28a98d22bb193195e8831ba71779a6017c3de8e10ab828335e1b5b20922b3d97bbf01b178ed61065 kpimtextedit-19.04.2.tar.xz" |