summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-29 10:58:38 +0200
committerMichał Górny <mgorny@gentoo.org>2017-07-09 23:41:27 +0200
commitaee23fa6945af0a9f46c9d688123766180bc9254 (patch)
tree7e171d60b87fd2f547f6bed1db0e30091555c776 /dev-cpp/gflags
parentdev-cpp/gflags: Enable tests (diff)
downloadgentoo-aee23fa6945af0a9f46c9d688123766180bc9254.tar.gz
gentoo-aee23fa6945af0a9f46c9d688123766180bc9254.tar.bz2
gentoo-aee23fa6945af0a9f46c9d688123766180bc9254.zip
dev-cpp/gflags: Bump to 2.2.0
Closes: https://github.com/gentoo/gentoo/pull/5010
Diffstat (limited to 'dev-cpp/gflags')
-rw-r--r--dev-cpp/gflags/Manifest1
-rw-r--r--dev-cpp/gflags/gflags-2.2.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/gflags/Manifest b/dev-cpp/gflags/Manifest
index 05a9e2e2bb2d..2eeb61d83962 100644
--- a/dev-cpp/gflags/Manifest
+++ b/dev-cpp/gflags/Manifest
@@ -1,2 +1,3 @@
DIST gflags-2.1.1.tar.gz 102015 SHA256 432edece8102fc141c2e3381e2eb5eabb1ce7614851cc96bdec4715105086238 SHA512 18d1a0a1271f12f0e87447e3a9d6810f531f5b190d84274465add5a928c189caac911ec2592422895961ab3c0c7566ff50c0c22f71d185ac3413c54bdbfb00ef WHIRLPOOL 608dc62262d8b4a0451dd3493b02fd35ad5214f1793f173ca5d93e631e15b59cc4557b2a2f9f5e67f72c2ad0d6cd343648b113bf4701fd8f6c3f5d949ac41813
DIST gflags-2.1.2.tar.gz 95716 SHA256 d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662 SHA512 f636023c1150e4d536d2d472e40d643ff0b02d3c96d8cb7f31544df23e6255fa6c4fd927ef94a3660c250d3faeae7d8d78519fc5e856749a577347a78d9d9ab5 WHIRLPOOL 2b3bd528c0e2139042a239d50017d93637f5db7007adaa29d3ae3788e57219c8ae8931404ea95766e43d07f17cb9995954ab213b68699ec1de0d21b3b6f86066
+DIST gflags-2.2.0.tar.gz 96408 SHA256 466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88 SHA512 e2106ca70ff539024f888bca12487b3bf7f4f51928acf5ae3e1022f6bbd5e3b7882196ec50b609fd52f739e1f7b13eec7d4b3535d8216ec019a3577de6b4228d WHIRLPOOL dad0108c8a3217c82d0c098b387c527be6ddf0d4df936e49695777721d25b8df0f5ff456aa28bfa6cbfc69d535d395f3dbc898117332cd711864ce0f6524e58d
diff --git a/dev-cpp/gflags/gflags-2.2.0.ebuild b/dev-cpp/gflags/gflags-2.2.0.ebuild
new file mode 100644
index 000000000000..79f70a7aee48
--- /dev/null
+++ b/dev-cpp/gflags/gflags-2.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gflags/gflags.git"
+else
+ SRC_URI="https://github.com/gflags/gflags/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="Google's C++ argument parsing library"
+HOMEPAGE="http://gflags.github.io/gflags/"
+
+LICENSE="BSD"
+SLOT="0/2.2"
+IUSE="static-libs test"
+
+# AUTHORS.txt only links the google group
+DOCS=( ChangeLog.txt README.md )
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ -DBUILD_STATIC_LIBS=$(usex static-libs)
+ -DBUILD_TESTING=$(usex test)
+ # avoid installing .cmake/packages, e.g.:
+ # >>> /tmp/portage/dev-cpp/gflags-9999/homedir/.cmake/packages/gflags/a7fca4708532331c2d656af0fdc8b8b9
+ -DREGISTER_INSTALL_PREFIX=OFF
+ )
+ cmake-utils_src_configure
+}