# Template file for 'clutter-gst3' pkgname=clutter-gst3 version=3.0.27 revision=1 wrksrc="clutter-gst-${version}" build_style=gnu-configure build_helper="gir" configure_args="--disable-debug $(vopt_enable gir introspection)" hostmakedepends="pkg-config intltool glib-devel" makedepends="clutter-devel gst-plugins-bad1-devel gst-plugins-base1-devel" depends="gst-plugins-base1 gst-plugins-bad1" short_desc="GStreamer bindings for the ClutterToolkit" maintainer="Rasmus Thomsen " license="GPL-2.0-or-later" homepage="http://www.gtk.org/" distfiles="${GNOME_SITE}/clutter-gst/${version%.*}/clutter-gst-${version}.tar.xz" checksum=fe69bd6c659d24ab30da3f091eb91cd1970026d431179b0724f13791e8ad9f9d build_options="gir" case "$XBPS_TARGET_MACHINE" in i686-musl|x86_64-musl) build_options_default+=" gir" ;; *-musl) ;; *) build_options_default+=" gir" ;; esac clutter-gst3-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/gtk-doc vmove "usr/lib/*.so" if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi } }