44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
# Template file for 'clutter'
|
|
pkgname=clutter
|
|
version=1.20.2
|
|
revision=1
|
|
patch_args="-Np1"
|
|
build_style=gnu-configure
|
|
build_options="gir"
|
|
configure_args="$(vopt_enable gir introspection) --enable-evdev-input
|
|
--enable-wayland-backend --enable-egl-backend --enable-wayland-compositor"
|
|
hostmakedepends="automake libtool pkg-config intltool glib-devel
|
|
gettext-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="
|
|
atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
|
|
libxkbcommon-devel cogl-devel libinput-devel eudev-libgudev-devel
|
|
eudev-libudev-devel"
|
|
short_desc="OpenGL based interactive canvas library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.clutter-project.org"
|
|
license="LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/clutter/${version%.*}/clutter-${version}.tar.xz"
|
|
checksum=8fa5287e964e1811c339d95252b434a2bc0c60f1f42f1c854f29c71c7efeca94
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
clutter-devel_package() {
|
|
depends="${makedepends} clutter>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|