floppym 14/07/15 01:19:44 Modified: gflags-2.1.1.ebuild ChangeLog Log: Enable shared libs, make static libs optional. Backport libdir and soname changes from upstream. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path 1.2 dev-cpp/gflags/gflags-2.1.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/gflags/gflags-2.1.1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/gflags/gflags-2.1.1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/gflags/gflags-2.1.1.ebuild?r1=1.1&r2=1.2 Index: gflags-2.1.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-2.1.1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gflags-2.1.1.ebuild 14 Jul 2014 03:34:01 -0000 1.1 +++ gflags-2.1.1.ebuild 15 Jul 2014 01:19:44 -0000 1.2 @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-2.1.1.ebuild,v 1.1 2014/07/14 03:34:01 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-2.1.1.ebuild,v 1.2 2014/07/15 01:19:44 floppym Exp $ EAPI="5" -inherit cmake-multilib multilib-minimal +inherit cmake-multilib DESCRIPTION="Google's C++ argument parsing library" HOMEPAGE="http://code.google.com/p/gflags/" @@ -13,6 +13,17 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +PATCHES=( "${FILESDIR}/gflags-2.1.1-libs.patch" ) + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + $(cmake-utils_use_build static-libs STATIC_LIBS) + ) + cmake-utils_src_configure +} multilib_src_install_all() { rm -rf "${ED}"/usr/share/doc 1.26 dev-cpp/gflags/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/gflags/ChangeLog?rev=1.26&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/gflags/ChangeLog?rev=1.26&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/gflags/ChangeLog?r1=1.25&r2=1.26 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- ChangeLog 14 Jul 2014 03:34:01 -0000 1.25 +++ ChangeLog 15 Jul 2014 01:19:44 -0000 1.26 @@ -1,6 +1,11 @@ # ChangeLog for dev-cpp/gflags # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v 1.25 2014/07/14 03:34:01 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v 1.26 2014/07/15 01:19:44 floppym Exp $ + + 15 Jul 2014; Mike Gilbert <[email protected]> +files/gflags-2.1.1-libs.patch, + gflags-2.1.1.ebuild: + Enable shared libs, make static libs optional. Backport libdir and soname + changes from upstream. *gflags-2.1.1 (14 Jul 2014)
