43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
# Template file for 'mutter'
|
|
pkgname=mutter
|
|
version=3.16.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile --disable-static --enable-compile-warnings=no"
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection
|
|
glib-devel wayland-devel zenity"
|
|
makedepends="
|
|
gtk+3-devel startup-notification-devel libcanberra-devel
|
|
clutter-devel gsettings-desktop-schemas-devel
|
|
upower-devel gnome-desktop-devel libSM-devel
|
|
zenity"
|
|
depends="zenity desktop-file-utils"
|
|
short_desc="Lightweight GTK+3 window manager"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=ee0098487d1bfb8f28e3927fbb9df227d846555142d352f8693f56a08441c755
|
|
|
|
# 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
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove "usr/lib/mutter/*.gir"
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|