void-packages/srcpkgs/libwnck/template

34 lines
1.0 KiB
Bash

# Template file for 'libwnck'
pkgname=libwnck
version=43.0
revision=2
build_style=meson
build_helper="gir"
configure_args="$(vopt_feature gir introspection)"
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/master/NEWS"
distfiles="${GNOME_SITE}/libwnck/${version%.*}/libwnck-${version}.tar.xz"
checksum=905bcdb85847d6b8f8861e56b30cd6dc61eae67ecef4cd994a9f925a26a2c1fe
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
}
}