void-packages/srcpkgs/plasma-nm/template

31 lines
1.2 KiB
Bash

# Template file for 'plasma-nm'
pkgname=plasma-nm
version=6.1.1
revision=1
build_style=cmake
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 libplasma-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=36a2f708aac51af907b88664f9641fac5540b1f55f326b9f2162ee0cb57dfb50
build_options="openconnect"
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
[ "$XBPS_WORDSIZE" != 32 ] &&
[ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
build_options_default="openconnect"
fi