diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-07-28 14:07:59 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-07-28 14:13:15 +0200 |
commit | 1af51fa380eec5b1e845c26eb9475ca0b73bb9dd (patch) | |
tree | 8f68a700b1f53101c222e5de87e9a7724808c9a8 /x11-misc/gtkdialog | |
parent | dev-libs/DirectFB: Remove last-rited pkg (diff) | |
download | gentoo-1af51fa380eec5b1e845c26eb9475ca0b73bb9dd.tar.gz gentoo-1af51fa380eec5b1e845c26eb9475ca0b73bb9dd.tar.bz2 gentoo-1af51fa380eec5b1e845c26eb9475ca0b73bb9dd.zip |
x11-misc/gtkdialog: Add live ebuild.
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'x11-misc/gtkdialog')
-rw-r--r-- | x11-misc/gtkdialog/gtkdialog-99999.ebuild | 53 | ||||
-rw-r--r-- | x11-misc/gtkdialog/metadata.xml | 1 |
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild new file mode 100644 index 000000000000..b9843533462f --- /dev/null +++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools git-r3 + +DESCRIPTION="A small utility for fast and easy GUI building" +HOMEPAGE="https://github.com/oshazard/gtkdialog" +EGIT_REPO_URI="${HOMEPAGE}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="gtk3" + +RDEPEND=" + !gtk3? ( + x11-libs/gtk+:2 + x11-libs/vte:0= + ) + gtk3? ( + x11-libs/gtk+:3 + x11-libs/vte:2.91= + ) +" +DEPEND=" + ${RDEPEND} + sys-apps/texinfo + sys-devel/flex + virtual/pkgconfig + virtual/yacc +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable gtk3) +} + +src_compile() { + emake -C doc stamp-vti + default +} + +src_install() { + # Stop make install from running gtk-update-icon-cache + emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install + einstalldocs +} diff --git a/x11-misc/gtkdialog/metadata.xml b/x11-misc/gtkdialog/metadata.xml index 635a9b6bda84..2de333f9467d 100644 --- a/x11-misc/gtkdialog/metadata.xml +++ b/x11-misc/gtkdialog/metadata.xml @@ -19,6 +19,7 @@ provided. </upstream> <use> <flag name="glade">Enable support for <pkg>gnome-base/libglade</pkg></flag> +<flag name="gtk3">Build with GTK+3 instead of GTK+2</flag> <flag name="vte">Enable support for <pkg>x11-libs/vte</pkg></flag> </use> </pkgmetadata> |