36 lines
1 KiB
Bash
36 lines
1 KiB
Bash
# Template file for 'clutter-gtk'
|
|
pkgname=clutter-gtk
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
|
makedepends="gtk+3-devel clutter-devel"
|
|
short_desc="GTK+3 bindings for the Clutter Tolkit"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://clutter-project.org/"
|
|
license="LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=bbd03dfa9a20102d5cdb440513b0a035933da557ad7e9da31546034de2daf069
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
clutter-gtk-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${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
|
|
}
|
|
}
|