void-packages/srcpkgs/mutter/template
Jürgen Buchmüller 3c45d65422 mutter: needs gettext in hostmakedepends
Also fix common/shlibs entries for mutter-3.34.1
2020-01-19 16:59:05 +01:00

34 lines
1.3 KiB
Bash

# Template file for 'mutter'
pkgname=mutter
version=3.34.1
revision=2
build_helper="gir"
build_style=meson
configure_args="-Degl_device=true -Dudev=true -Dnative_backend=true
-Dprofiler=false -Dintrospection=true -Dxwayland_path=/usr/bin/Xwayland"
hostmakedepends="gettext 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=ba1826cf88bdb81e63943cac014a8e8bcf35ec178c53264401f9c72fdeab758e
shlib_provides="libmutter-clutter-5.so libmutter-cogl-5.so
libmutter-cogl-pango-5.so libmutter-cogl-path-5.so"
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-5/*.gir"
vmove "usr/lib/*.so"
}
}