commit:     a0c3067e5ac8f9ae5ccf0882566a2921ea58d208
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Thu Jan 19 20:13:52 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 19:56:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c3067e

dev-util/glib-utils: Version bump to 2.74.5

Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/glib-utils/Manifest                 |  1 +
 dev-util/glib-utils/glib-utils-2.74.5.ebuild | 62 ++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-util/glib-utils/Manifest b/dev-util/glib-utils/Manifest
index 4dd5c0c31313..b832bd2a6866 100644
--- a/dev-util/glib-utils/Manifest
+++ b/dev-util/glib-utils/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b
 DIST glib-2.74.4.tar.xz 5208484 BLAKE2B 
01a2818e63469019abcd1215fa85521b9a2e55644040e8fe2797f68cabe897a191ae2c1cc2ab75d5ba9980d63adbfc00636b295ee942d70579e7eba1e1f49502
 SHA512 
912f6b0559fcb5ad55fa36837a348228b8e2498c490271204ced9f2e4a9eab804de4745f3ec439a198eb275d7263f18bc670f45460e2be55a2cbe45466b02fc6
+DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 
5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409
 SHA512 
2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614

diff --git a/dev-util/glib-utils/glib-utils-2.74.5.ebuild 
b/dev-util/glib-utils/glib-utils-2.74.5.ebuild
new file mode 100644
index 000000000000..33bfee268b48
--- /dev/null
+++ b/dev-util/glib-utils/glib-utils-2.74.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+GNOME_ORG_MODULE="glib"
+
+inherit gnome.org python-single-r1
+
+DESCRIPTION="Build utilities for GLib using projects"
+HOMEPAGE="https://www.gtk.org/";
+
+LICENSE="LGPL-2.1+"
+SLOT="0" # /usr/bin utilities that can't be parallel installed by their nature
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-libs/libxslt
+       app-text/docbook-xsl-stylesheets
+"
+
+src_configure() { :; }
+
+do_xsltproc_command() {
+       # Taken from meson.build for manual manpage building - keep in sync 
(also copied to dev-util/gdbus-codegen)
+       xsltproc \
+               --nonet \
+               --stringparam man.output.quietly 1 \
+               --stringparam funcsynopsis.style ansi \
+               --stringparam man.th.extra1.suppress 1 \
+               --stringparam man.authors.section.enabled 0 \
+               --stringparam man.copyright.section.enabled 0 \
+               -o "${2}" \
+               
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
+               "${1}" || die "manpage generation failed"
+}
+
+src_compile() {
+       sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" 
gobject/glib-genmarshal.in > gobject/glib-genmarshal || die
+       sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" 
gobject/glib-mkenums.in > gobject/glib-mkenums || die
+       sed -e "s:@GLIB_VERSION@:${PV}:g;s:@PYTHON@:python:g" 
glib/gtester-report.in > glib/gtester-report || die
+       do_xsltproc_command docs/reference/gobject/glib-genmarshal.xml 
docs/reference/gobject/glib-genmarshal.1
+       do_xsltproc_command docs/reference/gobject/glib-mkenums.xml 
docs/reference/gobject/glib-mkenums.1
+       do_xsltproc_command docs/reference/glib/gtester-report.xml 
docs/reference/glib/gtester-report.1
+}
+
+src_install() {
+       python_fix_shebang gobject/glib-genmarshal
+       python_fix_shebang gobject/glib-mkenums
+       python_fix_shebang glib/gtester-report
+       exeinto /usr/bin
+       doexe gobject/glib-genmarshal
+       doexe gobject/glib-mkenums
+       doexe glib/gtester-report
+       doman docs/reference/gobject/glib-genmarshal.1
+       doman docs/reference/gobject/glib-mkenums.1
+       doman docs/reference/glib/gtester-report.1
+}

Reply via email to