void-packages/srcpkgs/breeze/template

30 lines
1017 B
Bash

# Template file for 'breeze'
pkgname=breeze
version=5.23.5
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=2ca2a05b786ccd051e8cb1b0ac665d9443790cfaf15054359fa9adf9613edcdf
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
}
}