tetromino    15/03/06 05:03:05

  Modified:             ChangeLog
  Added:                glibmm-2.42.0-r1.ebuild
  Log:
  Add multilib support.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0x18E5B6F2D8D5EC8D)

Revision  Changes    Path
1.230                dev-cpp/glibmm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?rev=1.230&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?rev=1.230&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/ChangeLog?r1=1.229&r2=1.230

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -r1.229 -r1.230
--- ChangeLog   21 Dec 2014 12:18:54 -0000      1.229
+++ ChangeLog   6 Mar 2015 05:03:05 -0000       1.230
@@ -1,6 +1,12 @@
 # ChangeLog for dev-cpp/glibmm
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.229 2014/12/21 
12:18:54 eva Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.230 2015/03/06 
05:03:05 tetromino Exp $
+
+*glibmm-2.42.0-r1 (06 Mar 2015)
+
+  06 Mar 2015; Alexandre Rostovtsev <tetrom...@gentoo.org>
+  +glibmm-2.42.0-r1.ebuild:
+  Add multilib support.
 
 *glibmm-2.42.0 (21 Dec 2014)
 



1.1                  dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: glibmm-2.42.0-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.42.0-r1.ebuild,v 1.1 
2015/03/06 05:03:05 tetromino Exp $

EAPI="5"
GCONF_DEBUG="no"

inherit gnome2 multilib-minimal

DESCRIPTION="C++ interface for glib2"
HOMEPAGE="http://www.gtkmm.org";

LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~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 examples test"

COMMON_DEPEND="
        >=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
        >=dev-libs/glib-2.42:2[${MULTILIB_USEDEP}]
"
RDEPEND="${COMMON_DEPEND}
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-gtkmmlibs-20140508
                !app-emulation/emul-linux-x86-gtkmmlibs[-abi_x86_32(-)] )
"
DEPEND="${COMMON_DEPEND}
        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

        if ! use examples; then
                # don't waste time building examples
                sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
                        -i Makefile.am Makefile.in || die "sed 2 failed"
        fi

        # Test fails with IPv6 but not v4, upstream bug #720073
        sed -e 's:giomm_tls_client/test::' \
                -i tests/Makefile.{am,in} || die

        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

        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
}




Reply via email to