void-packages/srcpkgs/mutter/template
2016-03-18 12:08:04 +01:00

41 lines
1.3 KiB
Bash

# Template file for 'mutter'
pkgname=mutter
version=3.18.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=58dd88d5596bb0377ae3aed692b306995de45aefae9e215cfaf4b13287526846
# 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"
}
}