void-packages/srcpkgs/libwnck/template

34 lines
1.1 KiB
Bash

# Template file for 'libwnck'
pkgname=libwnck
version=40.1
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
hostmakedepends="gdk-pixbuf-devel pkg-config gettext glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="startup-notification-devel gtk+3-devel libXres-devel"
short_desc="Library for layout and rendering of text"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/libwnck/"
changelog="https://gitlab.gnome.org/GNOME/libwnck/-/raw/gnome-40/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=03134fa114ef3fbe34075aa83678f58aa2debe9fcef4ea23c0779e28601d6611
build_options="gir"
build_options_default="gir"
libwnck-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}