From 926c829afe70bb06e0d074cef94d07637d035771 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 20 Dec 2025 14:23:49 +0100 Subject: [PATCH] gnome-extra/zenity: add 4.2.1 Signed-off-by: Pacho Ramos --- gnome-extra/zenity/Manifest | 1 + gnome-extra/zenity/zenity-4.2.1.ebuild | 50 ++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 gnome-extra/zenity/zenity-4.2.1.ebuild diff --git a/gnome-extra/zenity/Manifest b/gnome-extra/zenity/Manifest index 905c405665b1..814c46e82b72 100644 --- a/gnome-extra/zenity/Manifest +++ b/gnome-extra/zenity/Manifest @@ -1 +1,2 @@ DIST zenity-4.0.5.tar.xz 3096696 BLAKE2B f3a6a64862dab661cfa47874c0a8f774b625ec7f6c029cc972c875b3795de817f856a44bd48667e6d5de7e4e5a210345b063a96d10e44a15974272c7efad909f SHA512 534cc68a766de916bb6057a9bda6fd8df0d891c9b9675e381045ab884052cfd18cd509638260031eaf308e401c6f1bb64aa7df491d32abb6e1a22c5e27419540 +DIST zenity-4.2.1.tar.xz 2815856 BLAKE2B 353fa1db794d080ddf3d902c081b3d852e2a856c4a89e134be2391fc10596a2c7a799c21221fc22f3d4b2b8aa84908bb3d65ba21a1a755db5beee220f483e8c6 SHA512 7114ca2af5fcccf917d20702891754838cbca61d37b9adc3f7d7fb0fff2cc006904c4d6bfacecedd9b0c0d2a440fdf4ce65fa027c813f1a453894436f72e4149 diff --git a/gnome-extra/zenity/zenity-4.2.1.ebuild b/gnome-extra/zenity/zenity-4.2.1.ebuild new file mode 100644 index 000000000000..0328f25a0e62 --- /dev/null +++ b/gnome-extra/zenity/zenity-4.2.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome.org gnome2-utils meson xdg + +DESCRIPTION="Tool to display dialogs from the commandline and shell scripts" +HOMEPAGE="https://gitlab.gnome.org/GNOME/zenity" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="man webkit" + +# TODO: X11 dependency is automagically enabled +RDEPEND=" + >=gui-libs/libadwaita-1.2:1 + webkit? ( >=net-libs/webkit-gtk-2.40.1:6 ) + man? ( sys-apps/help2man ) + 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 webkit webkitgtk) + $(meson_use man manpage) + ) + meson_src_configure +} + +src_install() { + meson_src_install +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}