void-packages/srcpkgs/cinnamon-desktop/template
2019-02-24 20:35:31 +01:00

37 lines
1.3 KiB
Bash

# Template file for 'cinnamon-desktop'
pkgname=cinnamon-desktop
version=4.0.1
revision=3
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="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://developer.linuxmint.com/projects/cinnamon-projects.html"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=72d4a8c78e42cf9d000f553551f3f3645df77c3c23973c989d7d269acd659100
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="Expat.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xc800080)" ;;
esac
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) ;;
*-musl) broken="Cinnamon project as a whole uses gir heavily" ;;
esac
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
}
}