void-packages/srcpkgs/libwnck/template

32 lines
978 B
Bash

# Template file for 'libwnck'
pkgname=libwnck
version=3.32.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=9595835cf28d0fc6af5526a18f77f2fcf3ca8c09e36741bb33915b6e69b8e3ca
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
}
}