39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'cinnamon-desktop'
|
|
pkgname=cinnamon-desktop
|
|
version=3.8.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dintrospection=$(vopt_if gir true false)"
|
|
hostmakedepends="glib-devel $(vopt_if gir gobject-introspection) intltool pkg-config"
|
|
makedepends="accountsservice-devel gtk+3-devel libxkbfile-devel pam-devel
|
|
pulseaudio-devel"
|
|
depends="xkeyboard-config"
|
|
short_desc="Library with common API for various Cinnamon modules"
|
|
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
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
aarch64-musl) broken="Expat.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xc800080)" ;;
|
|
esac
|
|
|
|
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
|
|
}
|
|
}
|