39 lines
1.4 KiB
Bash
39 lines
1.4 KiB
Bash
# Template file for 'mutter'
|
|
pkgname=mutter
|
|
version=3.32.0
|
|
revision=1
|
|
build_helper="gir"
|
|
build_style=meson
|
|
configure_args="-Degl_device=true -Dudev=true -Dnative_backend=true
|
|
-Dintrospection=true -Dxwayland_path=/usr/bin/Xwayland"
|
|
hostmakedepends="glib-devel pkg-config zenity wayland-devel xorg-server"
|
|
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
|
|
gnome-settings-daemon-devel"
|
|
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=7668a2208cb40f0f0c3a90dd72c3ea83993dbdfc24f517c6fa95abc04a8e1f19
|
|
shlib_provides="libmutter-clutter-4.so libmutter-cogl-4.so libmutter-cogl-gles2-4.so libmutter-cogl-pango-4.so libmutter-cogl-path-4.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-4/*.gir"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|