mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 10:33:06 +02:00
kf6-kwidgetsaddons: always build designer plugins
This commit is contained in:
parent
29fedb4204
commit
90a29cec14
1 changed files with 4 additions and 17 deletions
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'kf6-kwidgetsaddons'
|
||||
pkgname=kf6-kwidgetsaddons
|
||||
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_QTPLUGINDIR=lib/qt6/plugins"
|
||||
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
|
||||
makedepends="qt6-base-devel"
|
||||
makedepends="qt6-base-devel qt6-tools-devel"
|
||||
short_desc="KWidgetsAddons"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="LGPL-2.1-or-later"
|
||||
|
@ -13,17 +13,6 @@ homepage="https://invent.kde.org/frameworks/kwidgetsaddons"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
||||
checksum=602720bc3e86cba2384f0f45e16c8524a1974796a3d5b7c5c1ed90e768cf121f
|
||||
|
||||
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
|
||||
|
||||
do_check() {
|
||||
cd build
|
||||
# disable failing tests
|
||||
|
@ -37,8 +26,6 @@ kf6-kwidgetsaddons-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