Github messages for voidlinux
 help / color / mirror / Atom feed
From: chrysos349 <chrysos349@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] json-glib: update to 1.9.2
Date: Mon, 01 Jul 2024 13:08:29 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-51062@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

There is a new pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages json-glib
https://github.com/void-linux/void-packages/pull/51062

json-glib: update to 1.9.2
@skmpz 

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

A patch file from https://github.com/void-linux/void-packages/pull/51062.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-json-glib-51062.patch --]
[-- Type: text/x-diff, Size: 1932 bytes --]

From 7504841f921245a87939d8564f67779450ca002a Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Mon, 1 Jul 2024 14:07:49 +0300
Subject: [PATCH] json-glib: update to 1.9.2

---
 srcpkgs/json-glib/template | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/json-glib/template b/srcpkgs/json-glib/template
index afe909522109b2..5861899b9e3a35 100644
--- a/srcpkgs/json-glib/template
+++ b/srcpkgs/json-glib/template
@@ -1,11 +1,13 @@
 # Template file for 'json-glib'
 pkgname=json-glib
-version=1.8.0
+version=1.9.2
 revision=1
 build_style=meson
 build_helper="gir"
-configure_args="$(vopt_feature gir introspection)"
-hostmakedepends="pkg-config glib-devel gettext"
+configure_args="$(vopt_feature gir introspection)
+ $(vopt_feature gtk_doc documentation)"
+hostmakedepends="pkg-config glib-devel gettext python3-docutils
+ $(vopt_if gtk_doc gi-docgen)"
 makedepends="libglib-devel"
 short_desc="JSON parser for GLib-based libraries and applications"
 maintainer="skmpz <dem.procopiou@gmail.com>"
@@ -13,12 +15,16 @@ license="LGPL-2.1-or-later"
 homepage="https://live.gnome.org/JsonGlib"
 changelog="https://gitlab.gnome.org/GNOME/json-glib/-/raw/master/NEWS"
 distfiles="${GNOME_SITE}/json-glib/${version%.*}/json-glib-${version}.tar.xz"
-checksum=97ef5eb92ca811039ad50a65f06633f1aae64792789307be7170795d8b319454
+checksum=8f9f04e0045bda82affd464ee575796600fe29014b817392a3b72ceb2d10c595
 
 # Package build options
-build_options="gir"
+build_options="gir gtk_doc"
 build_options_default="gir"
 
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+=" gtk_doc"
+fi
+
 post_install() {
 	rm -r ${DESTDIR}/usr/share/installed-tests
 	rm -r ${DESTDIR}/usr/libexec/installed-tests
@@ -34,5 +40,8 @@ json-glib-devel_package() {
 		fi
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.so"
+		if [ "$build_option_gtk_doc" ]; then
+			vmove usr/share/doc
+		fi
 	}
 }

             reply	other threads:[~2024-07-01 11:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 11:08 chrysos349 [this message]
2024-07-05 21:37 ` [PR PATCH] [Closed]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-51062@inbox.vuxu.org \
    --to=chrysos349@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).