void-packages/srcpkgs/glibmm/template

27 lines
761 B
Bash

# Template file for 'glibmm'
pkgname=glibmm
version=2.66.2
revision=1
build_style=meson
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=b2a4cd7b9ae987794cbb5a1becc10cecb65182b9bb841868625d6bbb123edb1d
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"
}
}