From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qld2B-0002fd-SU for garchives@archives.gentoo.org; Tue, 26 Jul 2011 08:30:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30F8921C310; Tue, 26 Jul 2011 08:29:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 01B6D21C30D for ; Tue, 26 Jul 2011 08:29:37 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9783E1CC00E for ; Tue, 26 Jul 2011 08:29:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 097358003E for ; Tue, 26 Jul 2011 08:29:37 +0000 (UTC) From: "Alexandre Restovtsev" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Restovtsev" Message-ID: <40e3f9116206e1978176de2512d71ed895dd0c56.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:gnome-next commit in: dev-cpp/glibmm/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-cpp/glibmm/glibmm-2.29.11.ebuild X-VCS-Directories: dev-cpp/glibmm/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: 40e3f9116206e1978176de2512d71ed895dd0c56 Date: Tue, 26 Jul 2011 08:29:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 15f396a4f0ba2c1047eae85fa58637c7 commit: 40e3f9116206e1978176de2512d71ed895dd0c56 Author: Alexandre Rostovtsev gmail com> AuthorDate: Tue Jul 26 08:07:55 2011 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Tue Jul 26 08:15:41 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D40e3f911 dev-cpp/glibmm: add 2.29.11 Add gnome-3.1.x version. --- dev-cpp/glibmm/glibmm-2.29.11.ebuild | 70 ++++++++++++++++++++++++++++= ++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/dev-cpp/glibmm/glibmm-2.29.11.ebuild b/dev-cpp/glibmm/glibmm= -2.29.11.ebuild new file mode 100644 index 0000000..cc54551 --- /dev/null +++ b/dev-cpp/glibmm/glibmm-2.29.11.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.28.2.ebuild,v= 1.4 2011/07/17 21:30:49 maekke Exp $ + +EAPI=3D"4" +GCONF_DEBUG=3D"no" +GNOME2_LA_PUNT=3D"yes" + +inherit gnome2 + +DESCRIPTION=3D"C++ interface for glib2" +HOMEPAGE=3D"http://www.gtkmm.org" + +LICENSE=3D"|| ( LGPL-2.1 GPL-2 )" +SLOT=3D"2" +KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc = ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris= " +IUSE=3D"doc debug examples test" + +RDEPEND=3D">=3Ddev-libs/libsigc++-2.2:2 + >=3Ddev-libs/glib-2.29.8:2" +DEPEND=3D"${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +pkg_setup() { + DOCS=3D"AUTHORS ChangeLog NEWS README" + G2CONF=3D"${G2CONF} + $(use_enable debug debug-refcounting) + $(use_enable doc documentation) + --disable-schemas-compile + --enable-deprecated-api" +} + +src_prepare() { + gnome2_src_prepare + + if ! use test; then + # don't waste time building tests + sed 's/^\(SUBDIRS =3D.*\)tests\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die "sed 1 failed" + fi + + if ! use examples; then + # don't waste time building examples + sed 's/^\(SUBDIRS =3D.*\)examples\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die "sed 2 failed" + fi +} + +src_test() { + cd "${S}/tests/" + emake check + + for i in */test; do + ${i} || die "Running tests failed at ${i}" + done +} + +src_install() { + gnome2_src_install + + if ! use doc && ! use examples; then + rm -fr "${ED}usr/share/doc/glibmm*" + fi + + if use examples; then + find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null + dodoc -r examples + fi +}