void-packages/srcpkgs/libpeas/template

34 lines
1.1 KiB
Bash

# Template file for 'libpeas'
pkgname=libpeas
version=1.36.0
revision=2
build_style=meson
build_helper="gir"
configure_args="-Ddemos=false -Dvapi=true"
hostmakedepends="pkg-config gettext glib-devel python3 lua51 gi-docgen"
makedepends="vala-devel gtk+3-devel python3-gobject-devel
glade3-devel lua51-devel"
depends="python3-gobject hicolor-icon-theme"
checkdepends="xvfb-run"
short_desc="Gobject-based plugins engine"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Libpeas"
changelog="https://gitlab.gnome.org/GNOME/libpeas/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/libpeas/${version%.*}/libpeas-${version}.tar.xz"
checksum=297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c
make_check_pre="xvfb-run"
libpeas-devel_package() {
depends="libglib-devel gtk+3-devel>=3.8 libgirepository-devel
${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/glade
}
}