gnome-extra/zenity: bump to 3.30.0
authorMart Raudsepp <leio@gentoo.org>
Thu, 14 Mar 2019 23:05:08 +0000 (01:05 +0200)
committerMart Raudsepp <leio@gentoo.org>
Fri, 15 Mar 2019 13:15:07 +0000 (15:15 +0200)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
gnome-extra/zenity/Manifest
gnome-extra/zenity/zenity-3.30.0.ebuild [new file with mode: 0644]

index 91688579be2b92aa58add98164a4dbddd90c35d5..cb9b057f2f00c276d2f7f5f62231182293167b89 100644 (file)
@@ -1 +1,2 @@
 DIST zenity-3.28.1.tar.xz 4458404 BLAKE2B e2ae199ab51dffffbe4bf01b21bbff588a4f71328b385bdd92f3228c6971b248d50c8f890c818ae2496f595cd1609dcb9f372bff13f3dfb653d179108074bdd2 SHA512 07cfef3dc17b3d321e6abfb15c7d035caad7c2cba938263920c503e67d35e9a1dc86b48255334e50b58f6998eb4c064cc24ebd71d02f278b21b568500daae0c0
+DIST zenity-3.30.0.tar.xz 4485332 BLAKE2B b7dba31693849222f1a01a037a271e20d4ca58d51247635559f66e2afa848f9861b3c6e435d18a882d81263dac02d96e6673774131bb6ccf6d1f8c32dbb2aa40 SHA512 f80aa6c4fb0726bd4db1010dc3b6ca89476272cd4b852c04225bc9e2dc365ec34f6a55f0cfca474abcfba4d28dc47b72f81e8b3c447c0f99e843251c84807432
diff --git a/gnome-extra/zenity/zenity-3.30.0.ebuild b/gnome-extra/zenity/zenity-3.30.0.ebuild
new file mode 100644 (file)
index 0000000..35b68f3
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+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 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug libnotify webkit"
+
+# TODO: X11 dependency is automagically enabled
+RDEPEND="
+       >=dev-libs/glib-2.8:2
+       x11-libs/gdk-pixbuf:2
+       >=x11-libs/gtk+-3:3[X]
+       x11-libs/libX11
+       x11-libs/pango
+       libnotify? ( >=x11-libs/libnotify-0.6.1:= )
+       webkit? ( >=net-libs/webkit-gtk-2.8.1:4 )
+"
+DEPEND="${RDEPEND}
+       dev-util/itstool
+       gnome-base/gnome-common
+       >=sys-devel/gettext-0.19.4
+       virtual/pkgconfig
+"
+
+src_configure() {
+       gnome2_src_configure \
+               $(usex debug --enable-debug=yes ' ') \
+               $(use_enable libnotify) \
+               $(use_enable webkit webkitgtk) \
+               PERL=$(type -P false)
+}
+
+src_install() {
+       gnome2_src_install
+
+       # Not really needed and prevent us from needing perl
+       rm "${ED}/usr/bin/gdialog" || die "rm gdialog failed!"
+}