diff --git a/common/shlibs b/common/shlibs index 59d423e7549..443b2a2b67e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3120,3 +3120,4 @@ libwayland-client-extra++.so.0.2 libwaylandpp-2.2.0_1 libfwup.so.1 fwupdate-10_1 libargon2.so.1 libargon2-20171227_1 libdazzle-1.0.so.0 libdazzle-3.28.0_1 +libjsonrpc-glib-1.0.so.1 jsonrpc-glib-3.28.0_1 diff --git a/srcpkgs/jsonrpc-glib-devel b/srcpkgs/jsonrpc-glib-devel new file mode 120000 index 00000000000..c99e7989c51 --- /dev/null +++ b/srcpkgs/jsonrpc-glib-devel @@ -0,0 +1 @@ +jsonrpc-glib \ No newline at end of file diff --git a/srcpkgs/jsonrpc-glib/template b/srcpkgs/jsonrpc-glib/template new file mode 100644 index 00000000000..ed289c1382a --- /dev/null +++ b/srcpkgs/jsonrpc-glib/template @@ -0,0 +1,36 @@ +# Template file for 'jsonrpc-glib' +pkgname=jsonrpc-glib +version=3.28.0 +revision=1 +configure_args="-Denable_gtk_doc=false -Dwith_vapi=$(vopt_if gir true false) + -Dwith_introspection=$(vopt_if gir true false)" +build_style=meson +hostmakedepends="pkg-config $(vopt_if gir 'gobject-introspection vala') glib-devel" +makedepends="glib-devel json-glib-devel" +short_desc="library to communicate using the JSON-RPC 2.0 specification" +maintainer="Enno Boland " +license="GPL-3.0-or-later" +homepage="https://wiki.gnome.org/Apps/Builder" +distfiles="${GNOME_SITE}/jsonrpc-glib/${version%.*}/jsonrpc-glib-${version}.tar.xz" +checksum=ba0b0f05d58ba47d5938a54787b44ea875648214f032f75d4344162d8f736a25 + +build_options="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default+=" gir" +fi + +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 + vmove usr/share/vala + vmove usr/lib/girepository-1.0 + fi + } +} +