void-packages/srcpkgs/libpeas/template
2020-04-25 21:50:12 +02:00

30 lines
974 B
Bash

# Template file for 'libpeas'
pkgname=libpeas
version=1.26.0
revision=1
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"
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=a976d77e20496479a8e955e6a38fb0e5c5de89cf64d9f44e75c2213ee14f7376
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
}
}