void-packages/srcpkgs/mutter/template
2015-11-24 19:15:08 +01:00

41 lines
1.3 KiB
Bash

# Template file for 'mutter'
pkgname=mutter
version=3.18.2
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=8a69326f216c7575ed6cd53938b9cfc49b3b359cde95d3b6a7ed46c837261181
# 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"
}
}