void-packages/srcpkgs/libwnck/template

33 lines
978 B
Bash

# Template file for 'libwnck'
pkgname=libwnck
version=3.36.0
revision=1
build_style=meson
build_helper="gir"
#configure_args="$(vopt_enable gir introspection)"
hostmakedepends="gdk-pixbuf-devel pkg-config intltool 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="http://www.gnome.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bc508150b3ed5d22354b0e6774ad4eee465381ebc0ace45eb0e2d3a4186c925f
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
}
}