From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1039226-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C8005138334 for <garchives@archives.gentoo.org>; Sat, 28 Jul 2018 12:13:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC0FFE0809; Sat, 28 Jul 2018 12:13:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 788DAE0809 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Jul 2018 12:13:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10749335CCA for <gentoo-commits@lists.gentoo.org>; Sat, 28 Jul 2018 12:13:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E96B357 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Jul 2018 12:13:44 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org> Message-ID: <1532779995.1af51fa380eec5b1e845c26eb9475ca0b73bb9dd.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/gtkdialog/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/gtkdialog/gtkdialog-99999.ebuild x11-misc/gtkdialog/metadata.xml X-VCS-Directories: x11-misc/gtkdialog/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 1af51fa380eec5b1e845c26eb9475ca0b73bb9dd X-VCS-Branch: master Date: Sat, 28 Jul 2018 12:13:44 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 266b7e4e-04f4-40f5-82f4-9d161486d2f6 X-Archives-Hash: 6cd48df2bab04e636fc3b4b6a7c02aa7 commit: 1af51fa380eec5b1e845c26eb9475ca0b73bb9dd Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Sat Jul 28 12:07:59 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Sat Jul 28 12:13:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af51fa3 x11-misc/gtkdialog: Add live ebuild. Package-Manager: Portage-2.3.43, Repoman-2.3.10 x11-misc/gtkdialog/gtkdialog-99999.ebuild | 53 +++++++++++++++++++++++++++++++ x11-misc/gtkdialog/metadata.xml | 1 + 2 files changed, 54 insertions(+) diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild new file mode 100644 index 00000000000..b9843533462 --- /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 635a9b6bda8..2de333f9467 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>