void-packages/srcpkgs/cinnamon-desktop/template

35 lines
1.1 KiB
Bash

# Template file for 'cinnamon-desktop'
pkgname=cinnamon-desktop
version=3.8.1
revision=1
short_desc="Library with common API for various Cinnamon modules"
build_style=meson
hostmakedepends="glib-devel gobject-introspection intltool pkg-config"
makedepends="accountsservice-devel gtk+3-devel libxkbfile-devel pam-devel
pulseaudio-devel"
depends="xkeyboard-config"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=239c8a210de18468919d9cbc379535e55628559e396cb321100ccab4ee0d04d0
nocross=yes
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
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
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}