void-packages/srcpkgs/glibmm/template

29 lines
869 B
Bash

# Template file for 'glibmm'
pkgname=glibmm
version=2.66.6
revision=1
build_style=meson
configure_args="-Dbuild-examples=false"
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"
changelog="https://gitlab.gnome.org/GNOME/glibmm/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-${version}.tar.xz"
checksum=5358742598181e5351d7bf8da072bf93e6dd5f178d27640d4e462bc8f14e152f
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"
}
}