void-packages/srcpkgs/mutter/template

38 lines
1.3 KiB
Bash

# Template file for 'mutter'
pkgname=mutter
version=3.30.2
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --disable-static --enable-egl-device
--enable-remote-desktop"
hostmakedepends="glib-devel pkg-config zenity wayland-devel"
makedepends="elogind-devel glib-devel gnome-desktop-devel json-glib-devel
libglib-devel libSM-devel libXtst-devel libcanberra-devel libinput-devel
MesaLib-devel pipewire-devel startup-notification-devel wayland-protocols"
depends="desktop-file-utils zenity"
short_desc="Lightweight GTK+3 window manager"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/Mutter/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=df24dcc0b866fc6bffbfc82881a84bd7cc9c641e4124d2545c368c0b10e12363
shlib_provides="libmutter-clutter-3.so libmutter-cogl-3.so libmutter-cogl-pango-3.so"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) ;;
*-musl) broken="gobject-introspection" ;;
esac
mutter-devel_package() {
depends="gsettings-desktop-schemas gtk+3-devel clutter-devel libX11-devel
libXtst-devel mutter-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/mutter/*.gir"
vmove "usr/lib/*.so"
}
}