commit: 2c48cb292b165f7e3b3a341533d2a65a1e00d91b Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> AuthorDate: Thu May 24 19:22:24 2018 +0000 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata>
