blob: c02ca7307a24b549ff61aa114833accb7cb184dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2023 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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
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
"
PATCHES=(
"${FILESDIR}"/${PV}-Make-help2man-depend-on-manpage-option.patch
)
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
}
|