From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 331711382C5 for ; Fri, 16 Feb 2018 16:12:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85526E0A9B; Fri, 16 Feb 2018 16:12:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 67642E0A9B for ; Fri, 16 Feb 2018 16:12:38 +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 5E39C335C0A for ; Fri, 16 Feb 2018 16:12:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E14FA1F3 for ; Fri, 16 Feb 2018 16:12:35 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1518797547.f77bc323d37dac8a34eae4de30b39dc8ea062fee.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/geany/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/geany/geany-9999.ebuild X-VCS-Directories: dev-util/geany/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: f77bc323d37dac8a34eae4de30b39dc8ea062fee X-VCS-Branch: master Date: Fri, 16 Feb 2018 16:12:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ee60fe21-33ab-47b4-8cf7-3076fa545f54 X-Archives-Hash: 551fd6d5deb65d9c6b06a2bc928e3c86 commit: f77bc323d37dac8a34eae4de30b39dc8ea062fee Author: Kristoffer Bernssen gmail com> AuthorDate: Fri Feb 16 16:02:41 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Feb 16 16:12:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77bc323 dev-util/geany: Added live ebuild. Thanks to Kristoffer Bernssen. Bug: https://bugs.gentoo.org/638068 dev-util/geany/geany-9999.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/dev-util/geany/geany-9999.ebuild b/dev-util/geany/geany-9999.ebuild new file mode 100644 index 00000000000..f74cd0df1a9 --- /dev/null +++ b/dev-util/geany/geany-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils fdo-mime gnome2-utils + +LANGS="ar ast be bg ca cs de el en_GB es et eu fa fi fr gl he hi hu id it ja kk ko lb lt mn nl nn pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN ZH_TW" +NOSHORTLANGS="en_GB zh_CN zh_TW" + +DESCRIPTION="GTK+ based fast and lightweight IDE" +HOMEPAGE="http://www.geany.org" +EGIT_REPO_URI="https://github.com/geany/geany.git" +inherit git-r3 +SRC_URI="" +LICENSE="GPL-2+ HPND" +SLOT="0" + +KEYWORDS="" +IUSE="gtk3 +vte" + +RDEPEND=">=dev-libs/glib-2.32:2 + !gtk3? ( + >=x11-libs/gtk+-2.24:2 + vte? ( x11-libs/vte:0 ) + ) + gtk3? ( + >=x11-libs/gtk+-3.0:3 + vte? ( x11-libs/vte:2.91 ) + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/intltool + sys-devel/gettext" + +pkg_setup() { + strip-linguas ${LANGS} +} + +src_prepare() { + default + [[ ${PV} = *_pre* || ${PV} = 9999 ]] && eautoreconf +} +src_configure() { + econf \ + --disable-html-docs \ + --disable-dependency-tracking \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + $(use_enable gtk3) \ + $(use_enable vte) +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files --all +} + +pkg_preinst() { gnome2_icon_savelist; } + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +}