# Template file for 'cinnamon-desktop'
pkgname=cinnamon-desktop
version=6.4.1
revision=2
build_style=meson
build_helper="gir"
configure_args="-Dalsa=true"
hostmakedepends="glib-devel gobject-introspection intltool pkg-config"
makedepends="accountsservice-devel gtk+3-devel libxkbfile-devel pam-devel
 pulseaudio-devel alsa-lib-devel"
depends="xkeyboard-config"
short_desc="Library with common API for various Cinnamon modules"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://github.com/linuxmint/cinnamon-desktop"
distfiles="https://github.com/linuxmint/cinnamon-desktop/archive/${version}.tar.gz"
checksum=0e9af48b97910302a1130424a05c63b2e7aacb4ce6ae7a1d53c71bcd157a3a8f

cinnamon-desktop-devel_package() {
	depends="gtk+3-devel libxkbfile-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove "usr/lib/*.so"
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
	}
}
