1 |
commit: 595a3f7ccfb50c863992e6766d024936f7ea1016 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 11 04:42:43 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 11 04:52:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595a3f7c |
7 |
|
8 |
dev-util/glib-utils: Version bump to 2.68.3 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-util/glib-utils/Manifest | 1 + |
13 |
dev-util/glib-utils/glib-utils-2.68.3.ebuild | 62 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/glib-utils/Manifest b/dev-util/glib-utils/Manifest |
17 |
index 856206798d9..53c8a24bc55 100644 |
18 |
--- a/dev-util/glib-utils/Manifest |
19 |
+++ b/dev-util/glib-utils/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST glib-2.68.2.tar.xz 4944192 BLAKE2B d35489dcfe9d57d8bd6ecf4f893b7c8e93a5b8108765791071fc811598d1f41287e03d95f20591d50d51a78db34f11833cc7970b1bf29299385357a14977ba0b SHA512 74d481552629cab67d22f8a440a7263a4e4b83adb6f3b772d368e255c17321b206aafd3af4653e5efbb2c3c14ca67d35f453728cbc5cd68728275d0b56789019 |
22 |
+DIST glib-2.68.3.tar.xz 4945236 BLAKE2B 6086b7490f418cb98119ab25670766e3a84de81fd180dbc6e8f929d8f8ab748b0ae7ad6a85f5419ab3c00589c3afba95972d8b4541b310acdf6b6dc9b460a07d SHA512 fb120105c4cb582491a53a0e4c61fe4bdd1f94b279bb7c362afd591369ede50a196c706375564ededf3550d4062a285b038e20b605e6d5dfe36f5d208f4bad3f |
23 |
|
24 |
diff --git a/dev-util/glib-utils/glib-utils-2.68.3.ebuild b/dev-util/glib-utils/glib-utils-2.68.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8bdd1b9a92d |
27 |
--- /dev/null |
28 |
+++ b/dev-util/glib-utils/glib-utils-2.68.3.ebuild |
29 |
@@ -0,0 +1,62 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( python3_{7..9} ) |
35 |
+GNOME_ORG_MODULE="glib" |
36 |
+ |
37 |
+inherit gnome.org python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="Build utilities for GLib using projects" |
40 |
+HOMEPAGE="https://www.gtk.org/" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1+" |
43 |
+SLOT="0" # /usr/bin utilities that can't be parallel installed by their nature |
44 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
45 |
+ |
46 |
+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" |
47 |
+ |
48 |
+RDEPEND="${PYTHON_DEPS}" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+BDEPEND=" |
51 |
+ dev-libs/libxslt |
52 |
+ app-text/docbook-xsl-stylesheets |
53 |
+" |
54 |
+ |
55 |
+src_configure() { :; } |
56 |
+ |
57 |
+do_xsltproc_command() { |
58 |
+ # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/gdbus-codegen) |
59 |
+ xsltproc \ |
60 |
+ --nonet \ |
61 |
+ --stringparam man.output.quietly 1 \ |
62 |
+ --stringparam funcsynopsis.style ansi \ |
63 |
+ --stringparam man.th.extra1.suppress 1 \ |
64 |
+ --stringparam man.authors.section.enabled 0 \ |
65 |
+ --stringparam man.copyright.section.enabled 0 \ |
66 |
+ -o "${2}" \ |
67 |
+ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ |
68 |
+ "${1}" || die "manpage generation failed" |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-genmarshal.in > gobject/glib-genmarshal || die |
73 |
+ sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-mkenums.in > gobject/glib-mkenums || die |
74 |
+ sed -e "s:@GLIB_VERSION@:${PV}:g;s:@PYTHON@:python:g" glib/gtester-report.in > glib/gtester-report || die |
75 |
+ do_xsltproc_command docs/reference/gobject/glib-genmarshal.xml docs/reference/gobject/glib-genmarshal.1 |
76 |
+ do_xsltproc_command docs/reference/gobject/glib-mkenums.xml docs/reference/gobject/glib-mkenums.1 |
77 |
+ do_xsltproc_command docs/reference/glib/gtester-report.xml docs/reference/glib/gtester-report.1 |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ python_fix_shebang gobject/glib-genmarshal |
82 |
+ python_fix_shebang gobject/glib-mkenums |
83 |
+ python_fix_shebang glib/gtester-report |
84 |
+ exeinto /usr/bin |
85 |
+ doexe gobject/glib-genmarshal |
86 |
+ doexe gobject/glib-mkenums |
87 |
+ doexe glib/gtester-report |
88 |
+ doman docs/reference/gobject/glib-genmarshal.1 |
89 |
+ doman docs/reference/gobject/glib-mkenums.1 |
90 |
+ doman docs/reference/glib/gtester-report.1 |
91 |
+} |