summaryrefslogtreecommitdiff
path: root/gnome-extra/zenity
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-29 19:21:10 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-29 19:21:10 +0000
commit1bfb8c3d7e00e7ff828008510f5a7568c81d8889 (patch)
treea22ec1622549507f5333dca366a3b1f3e9af1dca /gnome-extra/zenity
parent82020bf7ff936f52f6f1efc646ae374e46b5ed36 (diff)
gentoo auto-resync : 29:11:2022 - 19:21:10
Diffstat (limited to 'gnome-extra/zenity')
-rw-r--r--gnome-extra/zenity/Manifest2
-rw-r--r--gnome-extra/zenity/files/zenity-3.42.1-webkit-gtk-4.1.patch12
-rw-r--r--gnome-extra/zenity/zenity-3.42.1-r1.ebuild60
3 files changed, 74 insertions, 0 deletions
diff --git a/gnome-extra/zenity/Manifest b/gnome-extra/zenity/Manifest
index ce3b699b6c6f..65c40cb2c1c9 100644
--- a/gnome-extra/zenity/Manifest
+++ b/gnome-extra/zenity/Manifest
@@ -1,3 +1,5 @@
+AUX zenity-3.42.1-webkit-gtk-4.1.patch 440 BLAKE2B 0e9db4203c2785dfa1fc70b24f22cb30fad4134e7b5fab83deded81a4797334596b9bab58f8a7d80fd86442fea178fae75de9705c92743b5dc4249c05cc3bbcd SHA512 f52a095d1028c2f50e9590e28191338b6f86498ec54230da0b58de25e31b891211ba8003db73d57b6280ad75b8414d86fa328cd65bd21a539255de0ebddfa71f
DIST zenity-3.42.1.tar.xz 3091752 BLAKE2B 7364ce9175efb7d4954956c1c2bd347ffd8060f02be3c21ec65525ee84e082eeffd8af3cb72b3f051f401a9ff90595c0a015223efcd96b6069e9bc3d276de16e SHA512 a8239e7dde351f3d3f75a59c95588f672c69333d4a53d50465d05fb73e61d1bbff6aca89acffc35a8d6802f465048ad2cbd7421bc3e3200a5a393ee3c9319106
+EBUILD zenity-3.42.1-r1.ebuild 1241 BLAKE2B afd8409a8c6facc85f1e4aec1f14894ecacc7154df6a221106a2eee1e76055bfe2596d762556d4146dd1e5b9a3d64da1a65ca4452d7556f4a01363cbc0f893d1 SHA512 277f8059d0a8e14cae7ac51afcf694a803094ee11f3361e41c53ec02518bf67c55193d92068fb4ed530bc8ffbc409a1e346b8c0a35518093c90e29cd74b66be0
EBUILD zenity-3.42.1.ebuild 1182 BLAKE2B c78305f887de89912e8c437301649399a55ec0994b5359c0dbc201db8efd30925d2bcc4e709df884734e3b3f0d55728c9cd44e5681189be9b890d429e71a76b8 SHA512 03ef2a3e6cf1e053d0e6defa2836718ba1c6fc1225ab47a3e861ec0520706539ec84ccb4b2ab1c8b1807e513803c974d4297660dde5db4fb3aa0b1b56b9100b5
MISC metadata.xml 347 BLAKE2B dd11bec372a4f6b097616b3c45d4c2e0a44cf7ae3e4c26a48e6387ef14b3804662be64ef99ad179f7633a458f523e9054cc93eb691fe27893712492256bf4a99 SHA512 11676155be5f2b698f5b71920df5dc1121517ba63b20467719673c4b4a297c04282398fd70d00a9a3b712f080b784b780e0cb96c1186607e5e688b3f2f78846f
diff --git a/gnome-extra/zenity/files/zenity-3.42.1-webkit-gtk-4.1.patch b/gnome-extra/zenity/files/zenity-3.42.1-webkit-gtk-4.1.patch
new file mode 100644
index 000000000000..ff7cbcb6b104
--- /dev/null
+++ b/gnome-extra/zenity/files/zenity-3.42.1-webkit-gtk-4.1.patch
@@ -0,0 +1,12 @@
+diff -Nurw a/meson.build b/meson.build
+--- a/meson.build 2022-04-27 04:33:34.670853100 +0300
++++ b/meson.build 2022-11-17 12:32:05.106347423 +0300
+@@ -70,7 +70,7 @@
+ endif
+ endif
+
+-webkitgtk = dependency('webkit2gtk-4.0', version: '>= 2.8.1', required: false)
++webkitgtk = dependency('webkit2gtk-4.1', version: '>= 2.8.1', required: false)
+ if get_option('webkitgtk')
+ if webkitgtk.found()
+ zenity_conf.set('HAVE_WEBKITGTK', true)
diff --git a/gnome-extra/zenity/zenity-3.42.1-r1.ebuild b/gnome-extra/zenity/zenity-3.42.1-r1.ebuild
new file mode 100644
index 000000000000..14be941b6398
--- /dev/null
+++ b/gnome-extra/zenity/zenity-3.42.1-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 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://wiki.gnome.org/Projects/Zenity"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~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.1 )
+ 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
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-webkit-gtk-4.1.patch"
+)
+
+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
+}