Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/template-glib/
Date: Sat, 24 Sep 2022 20:05:22
Message-Id: 1664049857.6af4f1052d4e787d3c1789d324ce60ead4b8b25b.mattst88@gentoo
1 commit: 6af4f1052d4e787d3c1789d324ce60ead4b8b25b
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 19:24:26 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 20:04:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af4f105
7
8 dev-libs/template-glib: Version bump to 3.36.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/template-glib/Manifest | 1 +
13 dev-libs/template-glib/template-glib-3.36.0.ebuild | 49 ++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-libs/template-glib/Manifest b/dev-libs/template-glib/Manifest
17 index 59c8c3ce5136..796f7a6fdb1e 100644
18 --- a/dev-libs/template-glib/Manifest
19 +++ b/dev-libs/template-glib/Manifest
20 @@ -1 +1,2 @@
21 DIST template-glib-3.34.1.tar.xz 57540 BLAKE2B 2ceff1ef04fe846d8b5a7c4b54d0bc572323e607fb72812bcc93152caf1d4e9de36a27705a53a0c1add924d95a92d597256bc5450f1ff598c1fd5b0157a87051 SHA512 9f518fa3331fdef808f219792e1664787150c9e4b1b1a43662badde4ba8cf6d49faf1f97f0f4faab9e31c86a3f65e637f62d752fa6725c052ae099f29f3999fc
22 +DIST template-glib-3.36.0.tar.xz 64132 BLAKE2B 10a9fbf8f98efaaf92b8679ea3b08dc510b9b5744239c19f180efc3a1a54f8edec2b1c6775e336d5a143fc8cac566d507337e656154a1984404a84f0b9b88c2b SHA512 51e1adf581fef05ec46ed3dd9ba61c27b02138009e2f994a0dded62216372445e59676d6f8bbca979e44825722c913a1435a8ae7b6d1e7e41dc510654420647b
23
24 diff --git a/dev-libs/template-glib/template-glib-3.36.0.ebuild b/dev-libs/template-glib/template-glib-3.36.0.ebuild
25 new file mode 100644
26 index 000000000000..56b997acfee1
27 --- /dev/null
28 +++ b/dev-libs/template-glib/template-glib-3.36.0.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit gnome.org meson vala
36 +
37 +DESCRIPTION="Templating library for GLib"
38 +HOMEPAGE="https://gitlab.gnome.org/GNOME/template-glib"
39 +
40 +LICENSE="LGPL-2.1+"
41 +SLOT="0/1"
42 +KEYWORDS="~amd64 ~x86"
43 +
44 +IUSE="gtk-doc +introspection test vala"
45 +RESTRICT="!test? ( test )"
46 +REQUIRED_USE="vala? ( introspection )"
47 +
48 +RDEPEND="
49 + dev-libs/glib:2
50 + dev-libs/gobject-introspection:=
51 +" # depends on go-i unconditionally for own functionality, USE flag controls GIR/typelib generation
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="
54 + vala? ( $(vala_depend) )
55 + dev-util/glib-utils
56 + sys-devel/bison
57 + sys-devel/flex
58 + >=sys-devel/gettext-0.19.8
59 + virtual/pkgconfig
60 + gtk-doc? ( dev-util/gtk-doc )
61 +"
62 +
63 +src_prepare() {
64 + default
65 + use vala && vala_setup
66 +}
67 +
68 +src_configure() {
69 + local emesonargs=(
70 + -Dtracing=false # extra trace debugging that would make things slower
71 + -Dprofiling=false # -pg passing
72 + $(meson_feature introspection)
73 + $(meson_use vala vapi)
74 + $(meson_use gtk-doc gtk_doc)
75 + $(meson_use test tests)
76 + )
77 + meson_src_configure
78 +}