# Template file for 'gstreamermm'
pkgname=gstreamermm
version=1.10.0
revision=3
build_style=gnu-configure
configure_args="--disable-plugins-bad"
hostmakedepends="pkg-config perl"
makedepends="gst-plugins-base1-devel pangomm-devel"
short_desc="GStreamer API C++ bindings"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-only, LGPL-2.1-or-later"
homepage="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
distfiles="${GNOME_SITE}/gstreamermm/${version%.*}/gstreamermm-${version}.tar.xz"
checksum=be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60

gstreamermm-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/gstreamermm-1.0
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/share
	}
}
