void-packages/srcpkgs/plasma-nm/template

23 lines
938 B
Bash

# Template file for 'plasma-nm'
pkgname=plasma-nm
version=5.15.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules mobile-broadband-provider-info pkg-config
qt5-qmake qt5-host-tools kcoreaddons"
makedepends="plasma-workspace-devel networkmanager-qt5-devel kdelibs4support-devel
kdesignerplugin-devel qca-qt5-devel modemmanager-qt5-devel kdoctools-devel openconnect-devel"
depends="mobile-broadband-provider-info"
short_desc="NetworkManager Plasma applet"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/plasma-nm"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=d66ad2f4811ae0238cb6c26e48f2495ce4164cca2e1b6c872001c666344601a8
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi