41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# Template file for 'mutter'
|
|
pkgname=mutter
|
|
version=3.18.0
|
|
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=9fb287976b9c65f0a2aca09d0e2c4c2748d3d2cfa5f38921dbeafe4cd1d541b1
|
|
|
|
# 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"
|
|
}
|
|
}
|