forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.3.0_rc1
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST zenity-3.18.1.1.tar.xz 3880932 SHA256 e6317a03f58b528e2e3330fef5acea39506ec08a7c2aeec5c4f1e7505d43a80a SHA512 fdadf8ed4e135d24401bcd17121f10681e12572391d843f6510347a6c9c568e23e0ff7fb3f80f0bbc0ffd6698b149faac547c1b99ac423229e6f491e2751e06a WHIRLPOOL 9b37707d56e52c6c7ff877996624afb4c642fb5544799a33cee9ace386cfdbea766d08f55814f1a976cac2ca77ce404d8b18c1d3d08b4c27b2a03d53a19e763b | ||
DIST zenity-3.20.0.tar.xz 3882968 SHA256 02e8759397f813c0a620b93ebeacdab9956191c9dc0d0fcba1815c5ea3f15a48 SHA512 62b7415900f30b3b74ebd1a7a82e2c1240a31caa2b3a6a613f10b451e68f4c4cd575d23414f65776e676b650246791e9199585a1b3395f3ed4eb910829f304a6 WHIRLPOOL 97ab1dfb412ad6b5cc99fbae271c6ccd29a36aba70d4be5b4c744b679a77049bc2fc28d450f871a3ec51d91cf529c57207d3289167067535437ae9ba0562da3a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux" | ||
IUSE="debug libnotify test webkit" | ||
|
||
RDEPEND=" | ||
>=dev-libs/glib-2.8:2 | ||
x11-libs/gdk-pixbuf:2 | ||
>=x11-libs/gtk+-3:3 | ||
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 | ||
>=sys-devel/gettext-0.19.4 | ||
virtual/pkgconfig | ||
test? ( app-text/yelp-tools ) | ||
" | ||
# eautoreconf needs: | ||
# >=gnome-base/gnome-common-2.12 | ||
|
||
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!" | ||
} |