1 |
commit: 89012439bdd5e7200a6ad79789ecf973555e871a |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 21 14:36:38 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 21 15:16:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89012439 |
7 |
|
8 |
dev-util/glib-utils: bump to 2.58.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-util/glib-utils/Manifest | 1 + |
14 |
dev-util/glib-utils/glib-utils-2.58.3.ebuild | 64 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/glib-utils/Manifest b/dev-util/glib-utils/Manifest |
18 |
index 9cedbcaac1c..a00178fbbca 100644 |
19 |
--- a/dev-util/glib-utils/Manifest |
20 |
+++ b/dev-util/glib-utils/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST glib-2.56.4.tar.xz 7029768 BLAKE2B 21cf840128e468151eeac55f0323f8f643973422b70bb65655e24c0a6b2f7ee72d5ae879bfae73df84fa2281fc425cc98328597910ba8fd99d7a52024e1b3ab6 SHA512 280a46c2af13283a08c15ff0b4f5492659c2884521930600ad45310ed181c44a878ad8f9b36bae68ed6e7d92db6f1630f7bf015148c513dc317d25807f13abb0 |
23 |
DIST glib-2.58.2.tar.xz 4862612 BLAKE2B e94d3dfc5d4b6d100c2425fda34c90fdf643fdb71b8bd65df691e34d11bfaf79fdc4c844eb215df24b0f680991fb0d0c08c3bb3dea61f5157ccd8bec200e2059 SHA512 4017ae308f2ef6313abbff2eb9b21ec6f8fa38935007491ca0cb4d1ffac6fedab6f50e911ac088995d6212323ba1767399f18529a2620d60378ecade193b4b1a |
24 |
+DIST glib-2.58.3.tar.xz 4863648 BLAKE2B 4269bd6e80869f39d567917438f750561debb1b45d40ecea487d2e76e2468e07dc8d80a23678699f7b8f7778c2ed9d29e866ae5e33770f51ed00709dd5fe97eb SHA512 1e1cb5b607367dcbadb95563d463e81702cf396b28f1173f6d933707f4f3d5595a70225423e918807a05994a24f16fa3ac87d2ec67e4b670244ea99836634cce |
25 |
|
26 |
diff --git a/dev-util/glib-utils/glib-utils-2.58.3.ebuild b/dev-util/glib-utils/glib-utils-2.58.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..62004639714 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/glib-utils/glib-utils-2.58.3.ebuild |
31 |
@@ -0,0 +1,64 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python{3_5,3_6,3_7} ) |
37 |
+GNOME_ORG_MODULE="glib" |
38 |
+ |
39 |
+inherit gnome.org python-single-r1 |
40 |
+ |
41 |
+DESCRIPTION="Build utilities for GLib using projects" |
42 |
+HOMEPAGE="https://www.gtk.org/" |
43 |
+ |
44 |
+LICENSE="LGPL-2.1+" |
45 |
+SLOT="0" # /usr/bin utilities that can't be parallel installed by their nature |
46 |
+IUSE="" |
47 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
+ |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
50 |
+ |
51 |
+RDEPEND="${PYTHON_DEPS} |
52 |
+ !<dev-libs/glib-2.56.2:2 |
53 |
+" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-libs/libxslt |
56 |
+ app-text/docbook-xsl-stylesheets |
57 |
+" |
58 |
+ |
59 |
+src_configure() { :; } |
60 |
+ |
61 |
+do_xsltproc_command() { |
62 |
+ # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/gdbus-codegen) |
63 |
+ xsltproc \ |
64 |
+ --nonet \ |
65 |
+ --stringparam man.output.quietly 1 \ |
66 |
+ --stringparam funcsynopsis.style ansi \ |
67 |
+ --stringparam man.th.extra1.suppress 1 \ |
68 |
+ --stringparam man.authors.section.enabled 0 \ |
69 |
+ --stringparam man.copyright.section.enabled 0 \ |
70 |
+ -o "${2}" \ |
71 |
+ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ |
72 |
+ "${1}" || die "manpage generation failed" |
73 |
+} |
74 |
+ |
75 |
+src_compile() { |
76 |
+ sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-genmarshal.in > gobject/glib-genmarshal || die |
77 |
+ sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-mkenums.in > gobject/glib-mkenums || die |
78 |
+ sed -e "s:@GLIB_VERSION@:${PV}:g;s:@PYTHON@:python:g" glib/gtester-report.in > glib/gtester-report || die |
79 |
+ do_xsltproc_command docs/reference/gobject/glib-genmarshal.xml docs/reference/gobject/glib-genmarshal.1 |
80 |
+ do_xsltproc_command docs/reference/gobject/glib-mkenums.xml docs/reference/gobject/glib-mkenums.1 |
81 |
+ do_xsltproc_command docs/reference/glib/gtester-report.xml docs/reference/glib/gtester-report.1 |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ python_fix_shebang gobject/glib-genmarshal |
86 |
+ python_fix_shebang gobject/glib-mkenums |
87 |
+ python_fix_shebang glib/gtester-report |
88 |
+ exeinto /usr/bin |
89 |
+ doexe gobject/glib-genmarshal |
90 |
+ doexe gobject/glib-mkenums |
91 |
+ doexe glib/gtester-report |
92 |
+ doman docs/reference/gobject/glib-genmarshal.1 |
93 |
+ doman docs/reference/gobject/glib-mkenums.1 |
94 |
+ doman docs/reference/glib/gtester-report.1 |
95 |
+} |