void-packages/srcpkgs/breeze/template

30 lines
1017 B
Bash

# Template file for 'breeze'
pkgname=breeze
version=5.20.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kcoreaddons
gettext kpackage"
makedepends="frameworkintegration-devel kcmutils-devel kdecoration-devel
fftw-devel plasma-framework-devel"
depends="breeze-icons frameworkintegration breeze-snow-cursor-theme"
short_desc="Breeze visual style for the Plasma Desktop"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/breeze"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=f360c5803c434b8ce771232b030779d8c92b3bcb5b7c940f3524d6e9afb05db1
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi
breeze-snow-cursor-theme_package() {
short_desc="Breeze Snow cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Snow
}
}