void-packages/srcpkgs/breeze/template

30 lines
1017 B
Bash

# Template file for 'breeze'
pkgname=breeze
version=5.25.3
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=1c5fdf94cf7cfba0a396b6945639eee28d230213d4bf8e05ccbd31f7262b477d
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
}
}