void-packages/srcpkgs/plasma-nm/template

32 lines
1.3 KiB
Bash

# Template file for 'plasma-nm'
pkgname=plasma-nm
version=6.0.4
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
$(vopt_bool openconnect BUILD_OPENCONNECT)"
hostmakedepends="extra-cmake-modules mobile-broadband-provider-info pkg-config
gettext qt6-declarative-host-tools qt6-base qt6-tools
kf6-kdoctools kf6-kpackage kf6-kcmutils"
makedepends="plasma-workspace-devel kf6-networkmanager-qt-devel
qca-qt6-devel kf6-modemmanager-qt-devel kf6-solid-devel kf6-kdoctools-devel
kf6-kpackage-devel kf6-kcmutils-devel
qcoro-qt6-devel $(vopt_if openconnect 'openconnect-devel qt6-webengine-devel')"
depends="mobile-broadband-provider-info"
short_desc="NetworkManager Plasma applet"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/plasma-nm"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=64519d9d05fcb4f85c7b9c4708cc6f510e28fdc272b6d0e2a7a1efc03888c6df
build_options="openconnect"
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
[ "$XBPS_WORDSIZE" != 32 ] &&
[ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
build_options_default="openconnect"
fi