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 A27EC139084 for ; Sat, 16 Dec 2017 15:42:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4481E0DFE; Sat, 16 Dec 2017 15:42:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C6F71E0DFE for ; Sat, 16 Dec 2017 15:42:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 BED6033BF3C for ; Sat, 16 Dec 2017 15:42:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49434AE88 for ; Sat, 16 Dec 2017 15:42:48 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1513438823.562a25b784e3bbe75082ce786574bb788668f50d.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda-xgsch2pcb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild X-VCS-Directories: sci-electronics/geda-xgsch2pcb/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 562a25b784e3bbe75082ce786574bb788668f50d X-VCS-Branch: master Date: Sat, 16 Dec 2017 15:42:48 +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: 257ea4bc-3b12-482d-8a33-1a692efa8e1c X-Archives-Hash: 1ca84e8eb7d8b74c0900510f3995665c commit: 562a25b784e3bbe75082ce786574bb788668f50d Author: Pacho Ramos gentoo org> AuthorDate: Sat Dec 16 15:37:41 2017 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Dec 16 15:40:23 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562a25b7 sci-electronics/geda-xgsch2pcb: Disable optional gnome support requiring dead gnome-vfs-python (#640064) Package-Manager: Portage-2.3.18, Repoman-2.3.6 .../geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild new file mode 100644 index 00000000000..d4fae26a08b --- /dev/null +++ b/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +WANT_AUTOCONF="2.5" + +inherit autotools fdo-mime gnome2-utils python-single-r1 + +DESCRIPTION="A graphical front-end for the gschem -> pcb workflow" +HOMEPAGE="http://www.gpleda.org" +SRC_URI="http://geda.seul.org/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="nls" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CDEPEND="${PYTHON_DEPS} + dev-python/pygtk:2[${PYTHON_USEDEP}] + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + sci-electronics/pcb[dbus] + sci-electronics/geda + nls? ( virtual/libintl ) +" +RDEPEND="${CDEPEND} + sci-electronics/electronics-menu +" +DEPEND="${CDEPEND} + dev-util/intltool + dev-lang/perl + nls? ( sys-devel/gettext ) +" + +PATCHES=( "${FILESDIR}"/${PV}-python.patch ) + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare(){ + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + --disable-update-desktop-database +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +}