Commit 7bc8d090 authored by Oliver Smith's avatar Oliver Smith

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.
parent cd94b3ef
Pipeline #65747096 passed with stages
in 7 minutes and 52 seconds
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment