void-packages/srcpkgs/mash/template

39 lines
1.1 KiB
Bash

# Template file for 'mash'
pkgname=mash
version=0.2.0
revision=9
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)
--enable-gtk-doc"
hostmakedepends="automake glib-devel intltool libtool pkg-config
$(vopt_if gir gobject-introspection) gtk-doc"
makedepends="clutter-devel"
depends="clutter>=1.18"
short_desc="Small library for using 3D models within a Clutter scene"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://clutter-project.github.io/mash/"
distfiles="https://github.com/clutter-project/mash/archive/refs/tags/${version}.tar.gz"
checksum=a5f91f0828c3c63a845800443ab347417cb34882db3b6672b42f6d68355ddab8
nocross="Build system executes what it builds"
build_options="gir"
build_options_default="gir"
pre_configure() {
autoreconf -fi
}
mash-devel_package() {
depends="${makedepends} mash>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
vmove usr/lib/*.so
}
}