parent
75c9939eed
commit
ccf9b7903e
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'sonnet'
|
||||
pkgname=sonnet
|
||||
version=5.76.0
|
||||
version=5.77.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTING=OFF"
|
||||
configure_args="-DBUILD_TESTING=ON"
|
||||
hostmakedepends="kcoreaddons extra-cmake-modules"
|
||||
makedepends="qt5-devel qt5-tools-devel aspell-devel hunspell-devel"
|
||||
short_desc="KDE Multi-language spell checker"
|
||||
|
@ -11,13 +11,17 @@ maintainer="John <me@johnnynator.dev>"
|
|||
license="LGPL-2.1-or-later"
|
||||
homepage="https://invent.kde.org/frameworks/sonnet"
|
||||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=cb6bacae27cfa3f8b3ce300b18efe16730783f143c4a7fccfa634f528262ef9b
|
||||
checksum=d092461a6a86811ab749459cc2079903616d4f839e73762b60019b5454db9068
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools qt5-tools-devel sonnet"
|
||||
configure_args+=" -DPARSETRIGRAMS_EXECUTABLE=/usr/bin/parsetrigrams"
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
sonnet-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in New Issue