# Template file for 'cinnamon-desktop'
pkgname=cinnamon-desktop
version=5.2.1
revision=1
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=3fd18225771444383d7942c93466e2f86b03f28d2b406ff90ee34567311a5c18

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
	}
}
