From 7bc8d0901379eb7ef659f2251f0df7b974ac3626 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 11 Jun 2019 21:36:05 +0200 Subject: [PATCH] temp/sonnet: fork from Alpine for armv7 Alpine's build bot is stuck on another package, but this needs to be rebuilt against the recently updated libhunspell. Otherwise Plasma Mobile cannot be installed, as pmbootstrap fails with: ERROR: Could not find dependency 'so:libhunspell-1.6.so.0' in any aports folder or APKINDEX. I've tested that this builds properly. --- temp/sonnet/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 temp/sonnet/APKBUILD diff --git a/temp/sonnet/APKBUILD b/temp/sonnet/APKBUILD new file mode 100644 index 000000000..519da7ef5 --- /dev/null +++ b/temp/sonnet/APKBUILD @@ -0,0 +1,32 @@ +# Forked from Alpine, because the armv7 buildbot is currently stuck and +# couldn't rebuild sonnet against the new libhunspell yet. +pkgname=sonnet +pkgver=5.58.0 +pkgrel=1 +pkgdesc="Spelling framework for Qt5" +arch="armv7" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only" +depends_dev="qt5-qtbase" +makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen hunspell-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="c98d5d8fb19e0995b38ff414c54ea38e4d8303963b36fe140fddb53378c790adfbac3289045b147a6baa283d0a2db8112106808e09c068b180689a8f055719d0 sonnet-5.58.0.tar.xz"