mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
sonnet: fix cross
This commit is contained in:
parent
b41e41a68f
commit
6b99c114e5
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'sonnet'
|
||||
pkgname=sonnet
|
||||
version=5.26.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTING=OFF"
|
||||
hostmakedepends="extra-cmake-modules"
|
||||
|
@ -13,6 +13,11 @@ homepage="https://projects.kde.org/projects/frameworks/sonnet"
|
|||
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=e20f641628f561b8571874fc67441a0a7721026492d52c02f4cb82b956a67b2a
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools qt5-tools-devel sonnet"
|
||||
configure_args+=" -DPARSETRIGRAMS_EXECUTABLE=/usr/bin/parsetrigrams"
|
||||
fi
|
||||
|
||||
sonnet-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Add table
Reference in a new issue