Gentoo Archives: gentoo-commits

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