Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/libhandy/
Date: Wed, 01 Feb 2023 16:26:44
Message-Id: 1675268776.d776891bdc9f7ca08e19190e31db4eef9131e8aa.mattst88@gentoo
1 commit: d776891bdc9f7ca08e19190e31db4eef9131e8aa
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 1 16:26:10 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 16:26:16 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d776891b
7
8 gui-libs/libhandy: Version bump to 1.8.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gui-libs/libhandy/Manifest | 1 +
13 gui-libs/libhandy/libhandy-1.8.1.ebuild | 60 +++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/gui-libs/libhandy/Manifest b/gui-libs/libhandy/Manifest
17 index 0ef0a30f7825..64424fe24ddf 100644
18 --- a/gui-libs/libhandy/Manifest
19 +++ b/gui-libs/libhandy/Manifest
20 @@ -1 +1,2 @@
21 DIST libhandy-1.8.0.tar.xz 1796032 BLAKE2B 15929cfde5e01b25e0ccc4dfa94bb0d12272b02a5c5196fcb3a85a898bf8384faa4101114e14f44d53f326fa5321254bba85e3c7f41e426ebd116e2d3dfd96ca SHA512 88f37d310ddc26a26612648d9f7beff6e77347a2cf59f682690dc838c3ec1bad9408ed39571c6cd779bea3d334a9c275ba3789d45c11c0a3e454617d41cc0035
22 +DIST libhandy-1.8.1.tar.xz 1801348 BLAKE2B 48d9f37f333bbebacd265a802c8fad6aa4c5a2c5ffaa879ee61fd02c92e10b9c60bd01f6bff0afe4573b6e8e3b16fc4633b25c98e5c7e0adb787161ee1aeee88 SHA512 ffcc8dfc0687e3410d1c1b10b56a974925688eee4a971baffc9adafc3585e5e3f4e91b04c6ab1aea99b1d582982a28bdc13c07cdf2af523e1af0d724229b4999
23
24 diff --git a/gui-libs/libhandy/libhandy-1.8.1.ebuild b/gui-libs/libhandy/libhandy-1.8.1.ebuild
25 new file mode 100644
26 index 000000000000..afdab98c45b1
27 --- /dev/null
28 +++ b/gui-libs/libhandy/libhandy-1.8.1.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit gnome.org meson xdg vala virtualx
36 +
37 +DESCRIPTION="Building blocks for modern adaptive GNOME apps"
38 +HOMEPAGE="https://gitlab.gnome.org/GNOME/libhandy/"
39 +
40 +LICENSE="LGPL-2.1+"
41 +SLOT="1"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
43 +
44 +IUSE="examples glade gtk-doc +introspection test +vala"
45 +REQUIRED_USE="
46 + gtk-doc? ( introspection )
47 + vala? ( introspection )
48 +"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + >=dev-libs/glib-2.44:2
53 + >=x11-libs/gtk+-3.24.1:3[introspection?]
54 + glade? ( dev-util/glade:3.10= )
55 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
56 +"
57 +DEPEND="${RDEPEND}"
58 +BDEPEND="
59 + dev-libs/libxml2:2
60 + dev-util/glib-utils
61 + >=sys-devel/gettext-0.19.8
62 + virtual/pkgconfig
63 + gtk-doc? ( >=dev-util/gi-docgen-2021.1
64 + app-text/docbook-xml-dtd:4.3 )
65 + vala? ( $(vala_depend) )
66 +"
67 +
68 +src_prepare() {
69 + default
70 + use vala && vala_setup
71 + xdg_environment_reset
72 +}
73 +
74 +src_configure() {
75 + local emesonargs=(
76 + -Dprofiling=false # -pg passing
77 + $(meson_feature introspection)
78 + $(meson_use vala vapi)
79 + $(meson_use gtk-doc gtk_doc)
80 + $(meson_use test tests)
81 + $(meson_use examples)
82 + $(meson_feature glade glade_catalog)
83 + )
84 + meson_src_configure
85 +}
86 +
87 +src_test() {
88 + virtx meson_src_test
89 +}