From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 71F26138A1F for ; Sat, 12 Apr 2014 15:44:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1034CE0B0D; Sat, 12 Apr 2014 15:44:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F213E0B14 for ; Sat, 12 Apr 2014 15:44:51 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C557D3401D0 for ; Sat, 12 Apr 2014 15:44:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 85509188D1 for ; Sat, 12 Apr 2014 15:44:48 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1397317285.86de81f907e6f9b0039d8dda008e3d58d0628d3a.eva@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: dev-util/devhelp/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-util/devhelp/devhelp-3.12.0.ebuild X-VCS-Directories: dev-util/devhelp/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 86de81f907e6f9b0039d8dda008e3d58d0628d3a X-VCS-Branch: master Date: Sat, 12 Apr 2014 15:44: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: 73c51792-cd4b-4020-98a3-e0e75195cb99 X-Archives-Hash: 67c2aec062b1a2653d71b18210cadf6c commit: 86de81f907e6f9b0039d8dda008e3d58d0628d3a Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sat Apr 12 15:41:02 2014 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sat Apr 12 15:41:25 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=86de81f9 dev-util/devhelp: 3.10.2 → 3.12.0 --- dev-util/devhelp/devhelp-3.12.0.ebuild | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/dev-util/devhelp/devhelp-3.12.0.ebuild b/dev-util/devhelp/devhelp-3.12.0.ebuild new file mode 100644 index 0000000..8c79a47 --- /dev/null +++ b/dev-util/devhelp/devhelp-3.12.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +GCONF_DEBUG="no" +# gedit-3.8 is python3 only, this also per: +# https://bugzilla.redhat.com/show_bug.cgi?id=979450 +PYTHON_COMPAT=( python{3_2,3_3} ) + +inherit gnome2 python-single-r1 toolchain-funcs + +DESCRIPTION="An API documentation browser for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp" + +LICENSE="GPL-2+" +SLOT="0/3-1" # subslot = 3-(libdevhelp-3 soname version) +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="gedit" +REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )" + +# FIXME: automagic python dependency +COMMON_DEPEND=" + >=dev-libs/glib-2.37.3:2 + >=x11-libs/gtk+-3.9.10:3 + >=net-libs/webkit-gtk-2:3 +" +RDEPEND="${COMMON_DEPEND} + gedit? ( + ${PYTHON_DEPS} + app-editors/gedit[introspection,python,${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + x11-libs/gtk+[introspection] ) + gnome-base/gsettings-desktop-schemas +" +DEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + >=dev-util/intltool-0.40 + virtual/pkgconfig +" +pkg_setup() { + use gedit && python-single-r1_pkg_setup +} + +src_prepare() { + if ! use gedit ; then + sed -e '/SUBDIRS/ s/gedit-plugin//' -i misc/Makefile.{am,in} || die + fi + + gnome2_src_prepare +} + +src_configure() { + local myconf="" + # ICC is crazy, silence warnings (bug #154010) + if [[ $(tc-getCC) == "icc" ]] ; then + myconf="--with-compile-warnings=no" + fi + gnome2_src_configure ${myconf} +}