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 C09DC139694 for ; Mon, 10 Jul 2017 00:24:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28C9C274197; Mon, 10 Jul 2017 00:24:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8BA4274197 for ; Mon, 10 Jul 2017 00:24:17 +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 CEA71341B0B for ; Mon, 10 Jul 2017 00:24:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E812744B for ; Mon, 10 Jul 2017 00:24:15 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1499646214.1d093abe76a2ed1cbf54d2f14735b7a33f4d7706.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/glibmm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/glibmm/Manifest dev-cpp/glibmm/glibmm-2.52.0.ebuild X-VCS-Directories: dev-cpp/glibmm/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 1d093abe76a2ed1cbf54d2f14735b7a33f4d7706 X-VCS-Branch: master Date: Mon, 10 Jul 2017 00:24:15 +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: 5f45000a-936c-4051-b104-71bfcfccb32b X-Archives-Hash: e41fd0cfe1281ba3b30a69c5c7721343 commit: 1d093abe76a2ed1cbf54d2f14735b7a33f4d7706 Author: Mart Raudsepp gentoo org> AuthorDate: Sun Jul 9 23:52:28 2017 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Mon Jul 10 00:23:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d093abe dev-cpp/glibmm: bump to 2.52.0 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-cpp/glibmm/Manifest | 1 + dev-cpp/glibmm/glibmm-2.52.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-cpp/glibmm/Manifest b/dev-cpp/glibmm/Manifest index 5a7c39fc92a..5dc5a7d7013 100644 --- a/dev-cpp/glibmm/Manifest +++ b/dev-cpp/glibmm/Manifest @@ -1 +1,2 @@ DIST glibmm-2.50.1.tar.xz 6444576 SHA256 1fd85051da9cb402cc8348cec72dfe4d79f9345df4a1dbf68703a4ded45846a4 SHA512 4f25c75c1628ca2f4db1c29cebc63187d372603066b06aa6a66c6da792f9e02cb4a413e41f058a81e2d5a2b38d625de13df76115b278f010ce2fc493fe6e6bbb WHIRLPOOL 54b656e04550a050994061db1498a3ac066b1e37643faa218ec1ef04604c0d37c799572b546e79c29f1b35586b1a5b0c354eca72151756eb99f4434a27fa7ae2 +DIST glibmm-2.52.0.tar.xz 6450592 SHA256 81b8abf21c645868c06779abc5f34efc1a51d5e61589dab2a2ed67faa8d4811e SHA512 45cbbe4ce4ba04dcadbcc3b46159dda194235c10a7287075724b0e1c19db2e4db061dc2a66823205f6884b30e2ef87ceafdf9cc2970212a2424535dbe3b9a262 WHIRLPOOL 11cd96f6cb28af494dd8fb63703069df12b8adeb2cba26f7b6d3bc92fd9206385001938db0584c2ee1167b4ca51746ca3a0496bb5fc3abcbdc94f6b3b5944d83 diff --git a/dev-cpp/glibmm/glibmm-2.52.0.ebuild b/dev-cpp/glibmm/glibmm-2.52.0.ebuild new file mode 100644 index 00000000000..6b4fa664064 --- /dev/null +++ b/dev-cpp/glibmm/glibmm-2.52.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +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 +}