37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'clutter-gst3'
|
|
pkgname=clutter-gst3
|
|
version=3.0.12
|
|
revision=1
|
|
wrksrc="clutter-gst-$version"
|
|
build_options="gir"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-debug $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="clutter-devel gst-plugins-bad1-devel"
|
|
depends="gst-plugins-base1 gst-plugins-bad1"
|
|
short_desc="GStreamer bindings for the Clutter Toolkit"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.gtk.org/"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/clutter-gst/${version%.*}/clutter-gst-${version}.tar.xz"
|
|
checksum=cd2b2f8db9c21d6295ed0b2811d4c3036fac5796be71d7affdb2b8746f12066c
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
else
|
|
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|