37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'jsonrpc-glib'
|
|
pkgname=jsonrpc-glib
|
|
version=3.41.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Denable_gtk_doc=false -Dwith_vapi=$(vopt_if gir true false)
|
|
-Dwith_introspection=$(vopt_if gir true false)"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if vala 'vala')"
|
|
makedepends="libglib-devel json-glib-devel"
|
|
short_desc="Library to communicate using the JSON-RPC 2.0 specification"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/jsonrpc-glib"
|
|
changelog="https://raw.githubusercontent.com/GNOME/jsonrpc-glib/jsonrpc-glib-3-32/NEWS"
|
|
distfiles="${GNOME_SITE}/jsonrpc-glib/${version%.*}/jsonrpc-glib-${version}.tar.xz"
|
|
checksum=7c4e6a5b8c3729632cecc312dc1163c4d00243d32e90528e54ec5038a23a7c21
|
|
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
jsonrpc-glib-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision} gtk+3-devel"
|
|
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
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|