void-packages/srcpkgs/glibmm/template
Érico Rolim e03336ba94 glibmm: add checkdepends, remove noarch.
This enables all tests to run.
2020-10-09 16:46:49 -03:00

35 lines
895 B
Bash

# Template file for 'glibmm'
pkgname=glibmm
version=2.64.2
revision=2
build_style=gnu-configure
hostmakedepends="glib-devel perl pkg-config"
makedepends="libglib-devel libsigc++-devel"
checkdepends="glib-networking"
short_desc="C++ bindings for GLib"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.gtkmm.org"
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-${version}.tar.xz"
checksum=a75282e58d556d9b2bb44262b6f5fb76c824ac46a25a06f527108bec86b8d4ec
glibmm-doc_package() {
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
vmove usr/share/devhelp
}
}
glibmm-devel_package() {
depends="${makedepends} glibmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/glibmm-2.4
vmove usr/lib/giomm-2.4
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}