31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'plasma-nm'
|
|
pkgname=plasma-nm
|
|
version=6.1.4
|
|
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=14af47108cf32af68c00d0ce6fb3627f3b4a91e2e057a6ef5ba8fcfcb6f505e1
|
|
|
|
build_options="openconnect"
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
|
|
[ "$XBPS_WORDSIZE" != 32 ] &&
|
|
[ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
|
|
build_options_default="openconnect"
|
|
fi
|