Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/zenity/
Date: Thu, 28 Apr 2022 15:31:44
Message-Id: 1651159866.61932f9fb24ef5c28b6b3714b9d62efd7932c831.mattst88@gentoo
1 commit: 61932f9fb24ef5c28b6b3714b9d62efd7932c831
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 15:22:38 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 15:31:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61932f9f
7
8 gnome-extra/zenity: Version bump to 3.42.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-extra/zenity/Manifest | 1 +
13 gnome-extra/zenity/zenity-3.42.1.ebuild | 56 +++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/gnome-extra/zenity/Manifest b/gnome-extra/zenity/Manifest
17 index b84aaccea570..bf8d1374e08f 100644
18 --- a/gnome-extra/zenity/Manifest
19 +++ b/gnome-extra/zenity/Manifest
20 @@ -1,2 +1,3 @@
21 DIST zenity-3.41.0.tar.xz 3093244 BLAKE2B 582a2e935331120c47ef997d100c28943694a9b8b35c70673c8dca6e129bf39d9a32c92cf6504602513ad6eb223239be584c56ef44fe609f8af320f27713ca4a SHA512 b198ae68fda77f74c9f6deba683759612067c4ee28551a667c96500296db89313f3f2330fcaa53b6e4840ee3367d438e766be8ba7c006952872aebe93684b307
22 DIST zenity-3.42.0.tar.xz 3091448 BLAKE2B 0a2f595164f5f9e8ebfa800855b15b116ab453435a2a1287ba7c85698d391dfecce3c8e2f8237ce73403ce7187a340ed5353e4ff283b05a0ecdcdc55f950f526 SHA512 a17b7ee46f480ca3e3804d301d1a499393aa10aee62d96d5087841ca8951a46f2b51e8355dd63b81b078efd69a11d57ed4fa187052d98880b12e56fd11e53ddb
23 +DIST zenity-3.42.1.tar.xz 3091752 BLAKE2B 7364ce9175efb7d4954956c1c2bd347ffd8060f02be3c21ec65525ee84e082eeffd8af3cb72b3f051f401a9ff90595c0a015223efcd96b6069e9bc3d276de16e SHA512 a8239e7dde351f3d3f75a59c95588f672c69333d4a53d50465d05fb73e61d1bbff6aca89acffc35a8d6802f465048ad2cbd7421bc3e3200a5a393ee3c9319106
24
25 diff --git a/gnome-extra/zenity/zenity-3.42.1.ebuild b/gnome-extra/zenity/zenity-3.42.1.ebuild
26 new file mode 100644
27 index 000000000000..e81d45b27ae7
28 --- /dev/null
29 +++ b/gnome-extra/zenity/zenity-3.42.1.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +inherit gnome.org gnome2-utils meson xdg
36 +
37 +DESCRIPTION="Tool to display dialogs from the commandline and shell scripts"
38 +HOMEPAGE="https://wiki.gnome.org/Projects/Zenity"
39 +
40 +LICENSE="LGPL-2+"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
43 +IUSE="libnotify webkit"
44 +
45 +# TODO: X11 dependency is automagically enabled
46 +RDEPEND="
47 + >=x11-libs/gtk+-3.16.0:3[X]
48 + >=dev-libs/glib-2.43.4:2
49 + libnotify? ( >=x11-libs/libnotify-0.6.1:= )
50 + webkit? ( >=net-libs/webkit-gtk-2.8.1:4 )
51 + x11-libs/libX11
52 +
53 + x11-libs/gdk-pixbuf:2
54 + x11-libs/pango
55 +"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND="
58 + dev-util/itstool
59 + >=sys-devel/gettext-0.19.4
60 + virtual/pkgconfig
61 +"
62 +
63 +src_configure() {
64 + local emesonargs=(
65 + $(meson_use libnotify)
66 + $(meson_use webkit webkitgtk)
67 + )
68 + meson_src_configure
69 +}
70 +
71 +src_install() {
72 + meson_src_install
73 +
74 + # Not really needed and prevent us from needing perl
75 + rm "${ED}/usr/bin/gdialog" || die "rm gdialog failed!"
76 +}
77 +
78 +pkg_postinst() {
79 + xdg_pkg_postinst
80 + gnome2_schemas_update
81 +}
82 +
83 +pkg_postrm() {
84 + xdg_pkg_postrm
85 + gnome2_schemas_update
86 +}