commit:     87ec0cd0c3cc2f03a064eb75619f5f60abcafe87
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 11 13:26:06 2021 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Dec 11 13:27:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ec0cd0

dev-util/glib-utils: bump to 2.70.2

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

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

diff --git a/dev-util/glib-utils/Manifest b/dev-util/glib-utils/Manifest
index f1ab05cc8156..edb07d06adde 100644
--- a/dev-util/glib-utils/Manifest
+++ b/dev-util/glib-utils/Manifest
@@ -2,3 +2,4 @@ DIST glib-2.68.2.tar.xz 4944192 BLAKE2B 
d35489dcfe9d57d8bd6ecf4f893b7c8e93a5b810
 DIST glib-2.68.3.tar.xz 4945236 BLAKE2B 
6086b7490f418cb98119ab25670766e3a84de81fd180dbc6e8f929d8f8ab748b0ae7ad6a85f5419ab3c00589c3afba95972d8b4541b310acdf6b6dc9b460a07d
 SHA512 
fb120105c4cb582491a53a0e4c61fe4bdd1f94b279bb7c362afd591369ede50a196c706375564ededf3550d4062a285b038e20b605e6d5dfe36f5d208f4bad3f
 DIST glib-2.68.4.tar.xz 4945212 BLAKE2B 
2135e2bea778714494b9f3ef140f20639f95dd347c9025e5663ca8f493092cd2723aba6520bb4f85687491794353685eccacc4dd34339962e5cb717e6130c025
 SHA512 
be17d79b41d17fd2b144184d6e793180667b7d9ba299215ea6d4948b4c05f6d888b4868c48643e25935a34ee2f85ee1d03e53325151b7a61819437cbd3c84b10
 DIST glib-2.70.0.tar.xz 4796812 BLAKE2B 
de393961c8c2b98fadc1cc0a3647de4fb9d54193e000005c847468e48baa30abcc518d94e1aaa69e09414ee0218c5502f872e08818bcc404aa0c61f94fe2c156
 SHA512 
fd3fcaebd34aebe0e63f9dc915b2df026a3f88a5c2254e9f17beea0a59ab0ac563976fca54eb57bd2f7af183c4ae76fb86f05951216bf4159d258b5e7b29696f
+DIST glib-2.70.2.tar.xz 4822356 BLAKE2B 
63b1f4e05f26cd51c3345bb042e2175ebcdb22afa3fef85bccae530581a378070e6c7ea48eb957bcc73142ea228ddb70bdac2679ca2f81155a668560397aaa37
 SHA512 
872e3f06f87f21a32446b41aac7454fd6bf4d665c753121f6e9772cddebc592b79d88713fc6b8d510636af9f9c4528a9d508d8c4225c6dfeb928390120fb4809

diff --git a/dev-util/glib-utils/glib-utils-2.70.2.ebuild 
b/dev-util/glib-utils/glib-utils-2.70.2.ebuild
new file mode 100644
index 000000000000..87fc5fc52d18
--- /dev/null
+++ b/dev-util/glib-utils/glib-utils-2.70.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..10} )
+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 ~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