commit:     378426542a86ec414d860a05a3bb20eeff1d9fe1
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 17:05:46 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 17:10:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37842654

gnome-extra/zenity: Version bump to 3.41.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 gnome-extra/zenity/Manifest             |  1 +
 gnome-extra/zenity/zenity-3.41.0.ebuild | 56 +++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/gnome-extra/zenity/Manifest b/gnome-extra/zenity/Manifest
index dafe8ff319ca..104ca780f8ae 100644
--- a/gnome-extra/zenity/Manifest
+++ b/gnome-extra/zenity/Manifest
@@ -1 +1,2 @@
 DIST zenity-3.32.0.tar.xz 4753752 BLAKE2B 
220fbd374f2564b345f4668c0583f2678a296bbb0d344af55b849b4e7e718f29856bd43f7ae2b0fa492e3d1d8180ca160236fcc806cd483716f680d03aa019d0
 SHA512 
d057df25dbb2d780c6be184ec167b0f569eadf0ac1c460d63509843157f14dfdcebe46bb6f93b17c6069ef0208902ce9ecbb4025933f7dc7572323032ec34fda
+DIST zenity-3.41.0.tar.xz 3093244 BLAKE2B 
582a2e935331120c47ef997d100c28943694a9b8b35c70673c8dca6e129bf39d9a32c92cf6504602513ad6eb223239be584c56ef44fe609f8af320f27713ca4a
 SHA512 
b198ae68fda77f74c9f6deba683759612067c4ee28551a667c96500296db89313f3f2330fcaa53b6e4840ee3367d438e766be8ba7c006952872aebe93684b307

diff --git a/gnome-extra/zenity/zenity-3.41.0.ebuild 
b/gnome-extra/zenity/zenity-3.41.0.ebuild
new file mode 100644
index 000000000000..2bfa70251944
--- /dev/null
+++ b/gnome-extra/zenity/zenity-3.41.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome.org gnome2-utils meson xdg
+
+DESCRIPTION="Tool to display dialogs from the commandline and shell scripts"
+HOMEPAGE="https://wiki.gnome.org/Projects/Zenity";
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="libnotify webkit"
+
+# TODO: X11 dependency is automagically enabled
+RDEPEND="
+       >=x11-libs/gtk+-3.16.0:3[X]
+       >=dev-libs/glib-2.43.4:2
+       libnotify? ( >=x11-libs/libnotify-0.6.1:= )
+       webkit? ( >=net-libs/webkit-gtk-2.8.1:4 )
+       x11-libs/libX11
+
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-util/itstool
+       >=sys-devel/gettext-0.19.4
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use libnotify)
+               $(meson_use webkit webkitgtk)
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+
+       # Not really needed and prevent us from needing perl
+       rm "${ED}/usr/bin/gdialog" || die "rm gdialog failed!"
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to