7bc8d09013
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.
32 lines
979 B
Text
32 lines
979 B
Text
# 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"
|