void-packages/srcpkgs/breeze/template
2022-02-15 20:36:37 +01:00

29 lines
1,017 B
Bash

# Template file for 'breeze'
pkgname=breeze
version=5.24.1
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=5d6728b8de2a8177012d6f8d84f66c10d6a7da37b6d95abcd79f3bc1fbf8976d
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
}
}