41 lines
1.5 KiB
Bash
41 lines
1.5 KiB
Bash
# Template file for 'mutter'
|
|
pkgname=mutter
|
|
version=3.30.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile --disable-static --enable-egl-device
|
|
--enable-remote-desktop"
|
|
hostmakedepends="glib-devel gobject-introspection pkg-config zenity"
|
|
makedepends="elogind-devel libglib-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.eu>"
|
|
homepage="https://wiki.gnome.org/Projects/Mutter/"
|
|
license="GPL-2.0-or-later"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=994a795bb9356e1ffaf3649a61a566a341367a4ddd1405dc851606009c9591c1
|
|
shlib_provides="libmutter-clutter-2.so libmutter-cogl-2.so libmutter-cogl-pango-2.so"
|
|
nocross=https://build.voidlinux.eu/builders/armv7l_builder/builds/1295/steps/shell_3/logs/stdio
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
mutter-devel_package() {
|
|
depends="gsettings-desktop-schemas>=3.16 gtk+3-devel>=3.16
|
|
clutter-devel>=1.22 libX11-devel mutter>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove "usr/lib/mutter/*.gir"
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|