void-packages/srcpkgs/libwnck/template
2022-01-22 09:40:36 +01:00

32 lines
990 B
Bash

# Template file for 'libwnck'
pkgname=libwnck
version=40.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
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=30cb79a839f90cd66f3e202f3f98cb5166fa0cd9b92eb571ad9c470a43021d83
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
}
}