aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-28 22:24:44 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-29 18:58:33 +0000
commit0a49b64e29d8e9811b30772e501258392c2d3bbb (patch)
tree65e98e63bdc8133bc1fc79630fefdcc436cc4661 /testing
parente716d4530f9dad8e14ae3ac92e412f8be0636c11 (diff)
downloadaports-0a49b64e29d8e9811b30772e501258392c2d3bbb.tar.bz2
aports-0a49b64e29d8e9811b30772e501258392c2d3bbb.tar.xz
testing/kpty: new aport
Closes GH-8204
Diffstat (limited to 'testing')
-rw-r--r--testing/kpty/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kpty/APKBUILD b/testing/kpty/APKBUILD
new file mode 100644
index 0000000000..092e7debb1
--- /dev/null
+++ b/testing/kpty/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kpty
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Pty abstraction"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-or-later"
+depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev libutempter-dev"
+makedepends="$depends_dev 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" # The one test it has fails: "Can't open a pseudo teletype"
+
+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="426d3941dbe9ea5ea23c6a8601976460ca7c847363edf2650e2c921b0916ca08bdf882aa328e7a5d7d89adf6d25f1620c74df7a09139e4b595d772cb73daf084 kpty-5.58.0.tar.xz"