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/libpanel/
Date: Wed, 02 Nov 2022 19:07:07
Message-Id: 1667416019.bb91a913d17a1354d6c9fa451078811a81ebc1a7.mattst88@gentoo
1 commit: bb91a913d17a1354d6c9fa451078811a81ebc1a7
2 Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
3 AuthorDate: Wed Nov 2 18:49:05 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 19:06:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb91a913
7
8 gui-libs/libpanel: Version bump to 1.0.2
9
10 Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/28113
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 gui-libs/libpanel/Manifest | 1 +
15 gui-libs/libpanel/libpanel-1.0.2.ebuild | 55 +++++++++++++++++++++++++++++++++
16 2 files changed, 56 insertions(+)
17
18 diff --git a/gui-libs/libpanel/Manifest b/gui-libs/libpanel/Manifest
19 index 2ce87bf17d5e..b4595b2d929a 100644
20 --- a/gui-libs/libpanel/Manifest
21 +++ b/gui-libs/libpanel/Manifest
22 @@ -1 +1,2 @@
23 DIST libpanel-1.0.1.tar.xz 100852 BLAKE2B a55ac6c7c441f5c487553052dca66dd4c1efe1cc010c7202c3400df1d3fc3cfc8f886afdd796981cf14800ad34e49b8efbd274f2f97bce19600b8935a2f1f595 SHA512 5592b01e3a8c532d40e2190d1b2c332d8a104946c0813156119be98d433cd946ad839308b166ebdc399b853809e2fde90be8ea3acced053c2f11b86807163627
24 +DIST libpanel-1.0.2.tar.xz 101032 BLAKE2B 965140df480b4d6aad1fb008b54ce4c46e78c50136c1bbe200430e97b1f9f2f399bedb8d8695ddfdaef80fdb544be181f3e1a97bd6a4ad7bcacc2a091e00448e SHA512 3c13d7842ba1f1dc1a4bbea3e47517fffe20205c6145812659c203d065523310f1a9b991d7a70454c1333332b25b3eb52835122df14b2993a395fd2aa6046dca
25
26 diff --git a/gui-libs/libpanel/libpanel-1.0.2.ebuild b/gui-libs/libpanel/libpanel-1.0.2.ebuild
27 new file mode 100644
28 index 000000000000..9faf973952bc
29 --- /dev/null
30 +++ b/gui-libs/libpanel/libpanel-1.0.2.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit gnome.org meson vala xdg
38 +
39 +DESCRIPTION="A dock/panel library for GTK 4"
40 +HOMEPAGE="https://gitlab.gnome.org/GNOME/libpanel"
41 +
42 +LICENSE="LGPL-3+"
43 +SLOT="1"
44 +KEYWORDS="~amd64"
45 +
46 +IUSE="examples gtk-doc +introspection +vala"
47 +REQUIRED_USE="
48 + gtk-doc? ( introspection )
49 + vala? ( introspection )
50 +"
51 +
52 +RDEPEND="
53 + >=dev-libs/glib-2.72:2
54 + >=gui-libs/gtk-4.6:4[introspection?]
55 + >=gui-libs/libadwaita-1.0:1
56 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
57 +"
58 +DEPEND="${RDEPEND}"
59 +BDEPEND="
60 + gtk-doc? ( >=dev-util/gi-docgen-2021.1 )
61 + vala? ( $(vala_depend) )
62 +"
63 +
64 +src_prepare() {
65 + default
66 + use vala && vala_setup
67 + xdg_environment_reset
68 +}
69 +
70 +src_configure() {
71 + local emesonargs=(
72 + $(meson_use examples install-examples)
73 + $(meson_feature introspection)
74 + $(meson_feature gtk-doc docs)
75 + $(meson_use vala vapi)
76 + )
77 + meson_src_configure
78 +}
79 +
80 +src_install() {
81 + meson_src_install
82 + if use gtk-doc; then
83 + mkdir "${ED}"/usr/share/gtk-doc || die
84 + mv "${ED}"/usr/share/doc/panel-1.0 "${ED}"/usr/share/gtk-doc/ || die
85 + fi
86 +}