void-packages/srcpkgs/libpeas/template

34 lines
1.1 KiB
Bash

# Template file for 'libpeas'
pkgname=libpeas
version=1.34.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=4305f715dab4b5ad3e8007daec316625e7065a94e63e25ef55eb1efb964a7bf0
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
}
}