void-packages/srcpkgs/gstreamermm/template

34 lines
927 B
Bash

# Template file for 'gstreamermm'
pkgname=gstreamermm
version=1.10.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config perl"
makedepends="gst-plugins-base1-devel pangomm-devel"
configure_args="--disable-plugins-bad"
short_desc="GStreamer API C++ bindings"
maintainer="newbluemoon <blaumolch@mailbox.org>"
homepage="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
license="GPL-2, GPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60
post_install() {
vlicense COPYING
vlicense COPYING.examples
vlicense COPYING.tools
}
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
}
}