void-packages/srcpkgs/libpeas/template
2021-10-09 08:00:44 -04:00

35 lines
1 KiB
Bash

# Template file for 'libpeas'
pkgname=libpeas
version=1.30.0
revision=2
build_style=meson
build_helper="gir"
configure_args="-Ddemos=false -Dvapi=true"
hostmakedepends="pkg-config intltool glib-devel python3 lua51"
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"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0bf5562e9bfc0382a9dcb81f64340787542568762a3a367d9d90f6185898b9a3
pre_check() {
make_cmd="xvfb-run ninja"
}
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
}
}