mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 18:42:58 +02:00
kf6-sonnet: always build designer plugins
This commit is contained in:
parent
d1449f16d1
commit
1132dca411
1 changed files with 4 additions and 17 deletions
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'kf6-sonnet'
|
||||
pkgname=kf6-sonnet
|
||||
version=6.14.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="$(vopt_bool designerplugin BUILD_DESIGNERPLUGIN)
|
||||
configure_args="-DBUILD_DESIGNERPLUGIN=ON
|
||||
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
||||
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
||||
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
||||
qt6-declarative-host-tools"
|
||||
makedepends="qt6-declarative-devel aspell-devel hunspell-devel"
|
||||
makedepends="qt6-declarative-devel aspell-devel hunspell-devel qt6-tools-devel"
|
||||
short_desc="Spelling framework for Qt"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="LGPL-2.1-or-later"
|
||||
|
@ -16,17 +16,6 @@ homepage="https://invent.kde.org/frameworks/sonnet"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
||||
checksum=a0de64c132c08d4986b00de9ee8e299615ad50008b14e26910fcefcad734afd3
|
||||
|
||||
build_options="designerplugin"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="designerplugin"
|
||||
fi
|
||||
|
||||
if [ "$build_option_designerplugin" ]; then
|
||||
makedepends+=" qt6-tools-devel"
|
||||
nocross="yes"
|
||||
fi
|
||||
|
||||
kf6-sonnet-devel_package() {
|
||||
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
@ -34,8 +23,6 @@ kf6-sonnet-devel_package() {
|
|||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_designerplugin" ]; then
|
||||
vmove usr/lib/qt6/plugins/designer
|
||||
fi
|
||||
vmove usr/lib/qt6/plugins/designer
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue