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 694EC138330 for ; Thu, 24 May 2018 19:22:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A0ABE084A; Thu, 24 May 2018 19:22:38 +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 066B4E084A for ; Thu, 24 May 2018 19:22:37 +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 86905335C79 for ; Thu, 24 May 2018 19:22:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6FD927A for ; Thu, 24 May 2018 19:22:34 +0000 (UTC) From: "Sobhan Mohammadpour" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sobhan Mohammadpour" Message-ID: <1527189744.2c48cb292b165f7e3b3a341533d2a65a1e00d91b.sobhan@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: dev-cpp/glibmm/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-cpp/glibmm/glibmm-2.56.0.ebuild dev-cpp/glibmm/metadata.xml X-VCS-Directories: dev-cpp/glibmm/ X-VCS-Committer: sobhan X-VCS-Committer-Name: Sobhan Mohammadpour X-VCS-Revision: 2c48cb292b165f7e3b3a341533d2a65a1e00d91b X-VCS-Branch: master Date: Thu, 24 May 2018 19:22:34 +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: 7039957a-8d35-407f-a148-c981ce64d3c1 X-Archives-Hash: 3c9b4c731626d8c2bf64d61574047706 commit: 2c48cb292b165f7e3b3a341533d2a65a1e00d91b Author: Sobhan Mohammadpour gentoo org> AuthorDate: Thu May 24 19:22:24 2018 +0000 Commit: Sobhan Mohammadpour gentoo org> CommitDate: Thu May 24 19:22:24 2018 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=2c48cb29 dev-cpp/glibmm: bump Package-Manager: Portage-2.3.36, Repoman-2.3.9 Manifest-Sign-Key: 0x7DF238CF0AA182E1 dev-cpp/glibmm/glibmm-2.56.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++ dev-cpp/glibmm/metadata.xml | 8 +++++ 2 files changed, 73 insertions(+) diff --git a/dev-cpp/glibmm/glibmm-2.56.0.ebuild b/dev-cpp/glibmm/glibmm-2.56.0.ebuild new file mode 100644 index 00000000..bf1d77de --- /dev/null +++ b/dev-cpp/glibmm/glibmm-2.56.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 multilib-minimal + +DESCRIPTION="C++ interface for glib2" +HOMEPAGE="https://www.gtkmm.org" + +LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system +SLOT="2" +KEYWORDS="~amd64" +IUSE="doc debug test" + +RDEPEND=" + >=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.50.0:2[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +# dev-cpp/mm-common needed for eautoreconf + +src_prepare() { + if ! use test; then + # don't waste time building tests + sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die "sed 1 failed" + fi + + # don't build examples - we want to install example sources, not binaries + sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die "sed 2 failed" + + gnome2_src_prepare +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + $(use_enable debug debug-refcounting) \ + $(multilib_native_use_enable doc documentation) \ + --enable-deprecated-api +} + +multilib_src_test() { + cd tests + default + + for i in */test; do + ${i} || die "Running tests failed at ${i}" + done +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + einstalldocs + + find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null + find examples -type f -name 'Makefile*' -exec rm -f {} \; 2>/dev/null + dodoc -r examples +} diff --git a/dev-cpp/glibmm/metadata.xml b/dev-cpp/glibmm/metadata.xml new file mode 100644 index 00000000..39980802 --- /dev/null +++ b/dev-cpp/glibmm/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + +