diff options
Diffstat (limited to 'dev-libs/re2')
-rw-r--r-- | dev-libs/re2/Manifest | 10 | ||||
-rw-r--r-- | dev-libs/re2/files/0.2016.05.01-pkgconfig.patch | 57 | ||||
-rw-r--r-- | dev-libs/re2/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/re2/re2-0.2016.05.01.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/re2/re2-0.2016.11.01-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-libs/re2/re2-0.2017.03.01.ebuild | 52 |
6 files changed, 229 insertions, 0 deletions
diff --git a/dev-libs/re2/Manifest b/dev-libs/re2/Manifest new file mode 100644 index 000000000000..87253e700807 --- /dev/null +++ b/dev-libs/re2/Manifest @@ -0,0 +1,10 @@ +AUX 0.2016.05.01-pkgconfig.patch 1890 SHA256 b19a7d51cb3965d6182ce20aaf110b4c638d84b75f4d13973330036714208b12 SHA512 d6a620aedc647a7894543ced2ee64b4467ab873f0c41966dc22973d603fd35187e86578b866a54e6ffd16c4b9132f4455fcd333d715331d2f7df9bcc48b9be1c WHIRLPOOL 3158d369f23d49dd03be62298a633ce5bca4df017160cdae1a9b6017af6a319e511b2fa948f75a59718d768abac4d86a60b772d0639b7feced71fe4a1963e909 +DIST re2-2016-05-01.tar.gz 399509 SHA256 d9d13f0ea4e1c6628b1cb85eeee284d4fdd4948da94b1f205096254927092e3d SHA512 6d37ab1eae51a73f60d3c8280ea1162c420638363f0eb1313d7c2d5cee65a5abd4c2927da1a53572afbcb7d07fac2993a7e54c6cbc85e24aaae93c46dab19b14 WHIRLPOOL b601349800341d213b01219cf2171873be551488c71c2c06fbab1da27c20719fca12e0cfac30ac4e8ed0eb062a445b4c008491fd0e379f629434e0c9b4649a7e +DIST re2-2016-11-01.tar.gz 379816 SHA256 01ee949f03e1c4057dc533cf139f967fb1b427015769d53b9ee07757631e9669 SHA512 1be7d2551737cb9dc1031dac9335f82dfb58f3612bdb745bf6c5121334bf8689bb0564b751c23e4c002478cc46cc237ce4da294090adb983b0c1db25a9fac0a7 WHIRLPOOL 447b1ddb74826f3e73fe895690eac4f482096e05b88fbe3a143db0e2275031db6fa0cb2105ac09ab4b250db2bdef7097a75e3b4c8a04f23aa936009ea2f27439 +DIST re2-2017-03-01.tar.gz 382241 SHA256 19db0b87bdc22e7e4c66af17f3170167a1b9cb9e32fd6b26189157f1336b73e8 SHA512 566a3ff6598fc9b26dcabe175efa48becd38459185d6bb86b3abb1856a3e7b0f9b5e302594b1ac4817dcb5968920df43d23279a6cff2a74b6b0c174dc9379f88 WHIRLPOOL 582ed59085594a95f412f79bf381608c1b52f9be00fce6e6641b3386c266c1c8413263756e67699cf61295e4a3c1cbf1f46ae30b09e83f633e0f2ecd842dfb0e +EBUILD re2-0.2016.05.01.ebuild 1202 SHA256 489e868bb4b52242a32c748ba55155992a6027f0a21c95f7c537ecec28a7fa32 SHA512 1bc1f823a2927bb76e2793933d6048ddb93f829464ba8d9d9c0850dc08889026c8e27250e5922b5aa7bdcfe74d7bd0a4be1f59433065141dd7cfaacc6c6c25ac WHIRLPOOL 56d9c08db5bcda6a2b91e6ff8e847c79a3b84224c21ead47f50cee58a6f5feeae91f0bed54e9344bec161adcd3c6932f07f3293032a938bcc8a62cc5d2e96051 +EBUILD re2-0.2016.11.01-r1.ebuild 1305 SHA256 96b324bc1ddc5430173f5d9b8bb70b64482738b81d80d305acb51006df6b0916 SHA512 a5ef7207e94fc73bcbc4fdd809fa3ed580c9ec0880e073124986a4bdbca7e726be0c122fe7b6f384db8a0ca654645c9fadfb16e3f035e78a1c74e6bca80850c9 WHIRLPOOL 274f42802615837aa9a2b375833316a63265a72747edeeaee7a997230d95d277766f0def2ef8d6c0d78b10ee056592272df2d97f08ecac2fa7a5d1f8684b11d7 +EBUILD re2-0.2017.03.01.ebuild 1305 SHA256 619500739688704394f442a2caa788637ac1c7db177b292eaaff93f0fc4e965b SHA512 bda266f9e96eec73858ad9c7e0f91f327c216e3d6044bd07abf58dfdf822313e6e7f7b9129b852e0b1ca4ae2bc8ad9c4a38e89e200bac433efd180fc2e7abf60 WHIRLPOOL 7cf4596072ac4911d0ef8cc5e5cdeb1117563c5946340b6b68593dca1a2eb51bd716955eec2dfd7d57784e5cbc39fd1ba37ceb3d99a2478126d3b62b14d9473a +MISC ChangeLog 4533 SHA256 545b95b51e1a0e6e8c6ac8d9ea365a1d2c00294acb5e17ad033ec78f177be8d6 SHA512 7366add5299997334747c1442bee7dceec90ad1e062e8cc695d9e982d68e37b63a1566b56be59d6415353018acd296839997229ea22a518f784b48755981fb92 WHIRLPOOL 6d55354740d286c51b0d33318a66e06ed733d0d9e0bd0b6acfb686cee6fe39f62b07e6cde6ca32a49d998a50cdadb3f02fb8fd470a480efe301745c33f1c8d67 +MISC ChangeLog-2015 2448 SHA256 86c238206df3ef361579416768e0d19325f995e51cc9ae0a71a9dfd80084e255 SHA512 a3b5057fe42f5fddb15ddfc55c69e4fea8094a2346532eecc315a95bfc63bd5ff0a06ce49445206e9b510c6d2aa5b4333633a18736a2b35c1bda442a3ed81f6e WHIRLPOOL de62606b1f7d8549f4e6dee78b5f0122bcdc1d3f289ba2018d5f217270024429d84925c5a7ca36f38a5d583fc5d56555e96eb33c6183d52a9c4456844698749c +MISC metadata.xml 337 SHA256 90ed73cb97c0b9e2b8706c4bf74d3f9d644d402885aec7b8f50fcde4cab6820e SHA512 5dbef91cae8363700badc73e352829c4e4e8265bdb96104136c3759d1731148b7260840b4319116ceac00aa9ba17de6eafa2cf9684878b7e9f032469b6f2fec0 WHIRLPOOL f408bfa4b63bfb605d240ddab3b48aa96b9be034c2127147f7d0e5009024ab0aca53f331dc28f062c9cc6e0f98c06c3294f4d500d82d6923ee03494ad5a4e91d diff --git a/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch b/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch new file mode 100644 index 000000000000..46ec7ca619eb --- /dev/null +++ b/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch @@ -0,0 +1,57 @@ +From ac62674fa16b5a086f02dd208667ba65e22ec09d Mon Sep 17 00:00:00 2001 +From: Paul Wankadia <junyer@google.com> +Date: Mon, 9 May 2016 14:42:37 +1000 +Subject: [PATCH] Plumb more variables from Makefile to re2.pc. + +Change-Id: I35509c273b0bd90242db127121c71be1f628c06f +Reviewed-on: https://code-review.googlesource.com/4710 +Reviewed-by: Paul Wankadia <junyer@google.com> +--- + Makefile | 8 +++++--- + re2.pc | 6 +++--- + 2 files changed, 8 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index d0e2090..411e551 100644 +--- a/Makefile ++++ b/Makefile +@@ -28,11 +28,9 @@ NMFLAGS?=-p + # http://www.gnu.org/prep/standards/standards.html + prefix=/usr/local + exec_prefix=$(prefix) +-bindir=$(exec_prefix)/bin + includedir=$(prefix)/include + libdir=$(exec_prefix)/lib + INSTALL=install +-INSTALL_PROGRAM=$(INSTALL) + INSTALL_DATA=$(INSTALL) -m 644 + + # ABI version +@@ -273,7 +271,11 @@ install: obj/libre2.a obj/so/libre2.$(SOEXT) + $(INSTALL) obj/so/libre2.$(SOEXT) $(DESTDIR)$(libdir)/libre2.$(SOEXTVER00) + ln -sf libre2.$(SOEXTVER00) $(DESTDIR)$(libdir)/libre2.$(SOEXTVER) + ln -sf libre2.$(SOEXTVER00) $(DESTDIR)$(libdir)/libre2.$(SOEXT) +- sed -e "s#@prefix@#${prefix}#" re2.pc >$(DESTDIR)$(libdir)/pkgconfig/re2.pc ++ $(INSTALL_DATA) re2.pc $(DESTDIR)$(libdir)/pkgconfig/re2.pc ++ sed -i \ ++ -e "s#@prefix@#${prefix}#" -e "s#@exec_prefix@#${exec_prefix}#" \ ++ -e "s#@includedir@#${includedir}#" -e "s#@libdir@#${libdir}#" \ ++ $(DESTDIR)$(libdir)/pkgconfig/re2.pc + + testinstall: static-testinstall shared-testinstall + @echo +diff --git a/re2.pc b/re2.pc +index 91ba181..d66cf51 100644 +--- a/re2.pc ++++ b/re2.pc +@@ -1,7 +1,7 @@ + prefix=@prefix@ +-exec_prefix=${prefix} +-includedir=${prefix}/include +-libdir=${exec_prefix}/lib ++exec_prefix=@exec_prefix@ ++includedir=@includedir@ ++libdir=@libdir@ + + Name: re2 + Description: RE2 is a fast, safe, thread-friendly regular expression engine. diff --git a/dev-libs/re2/metadata.xml b/dev-libs/re2/metadata.xml new file mode 100644 index 000000000000..3f5b8c87fb5d --- /dev/null +++ b/dev-libs/re2/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>chromium@gentoo.org</email> + <name>Chromium in Gentoo Project</name> + </maintainer> + <upstream> + <remote-id type="github">google/re2</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/re2/re2-0.2016.05.01.ebuild b/dev-libs/re2/re2-0.2016.05.01.ebuild new file mode 100644 index 000000000000..eb2660d59bd3 --- /dev/null +++ b/dev-libs/re2/re2-0.2016.05.01.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal toolchain-funcs + +# Different date format used upstream. +RE2_VER=${PV#0.} +RE2_VER=${RE2_VER//./-} + +DESCRIPTION="An efficent, principled regular expression library" +HOMEPAGE="https://github.com/google/re2" +SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> ${PN}-${RE2_VER}.tar.gz" + +LICENSE="BSD" +# NOTE: Always run libre2 through abi-compliance-checker! +# https://abi-laboratory.pro/tracker/timeline/re2/ +SLOT="0/0.2016.05.01" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="icu" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + icu? ( virtual/pkgconfig )" + +S="${WORKDIR}/${PN}-${RE2_VER}" + +PATCHES=( "${FILESDIR}/${PV}-pkgconfig.patch" ) +DOCS=( "AUTHORS" "CONTRIBUTORS" "README" "doc/syntax.txt" ) +HTML_DOCS=( "doc/syntax.html" ) + +src_prepare() { + default + if use icu; then + sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die + fi + multilib_copy_sources +} + +src_configure() { + tc-export AR CXX NM +} + +multilib_src_install() { + emake DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" install +} diff --git a/dev-libs/re2/re2-0.2016.11.01-r1.ebuild b/dev-libs/re2/re2-0.2016.11.01-r1.ebuild new file mode 100644 index 000000000000..e5a491a41c76 --- /dev/null +++ b/dev-libs/re2/re2-0.2016.11.01-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal toolchain-funcs + +# Different date format used upstream. +RE2_VER=${PV#0.} +RE2_VER=${RE2_VER//./-} + +DESCRIPTION="An efficent, principled regular expression library" +HOMEPAGE="https://github.com/google/re2" +SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> re2-${RE2_VER}.tar.gz" + +LICENSE="BSD" +# NOTE: Always run libre2 through abi-compliance-checker! +# https://abi-laboratory.pro/tracker/timeline/re2/ +SONAME="gentoo-2016-09-01" +SLOT="0/${SONAME}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="icu" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + icu? ( virtual/pkgconfig )" + +S="${WORKDIR}/re2-${RE2_VER}" + +DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt ) +HTML_DOCS=( doc/syntax.html ) + +src_prepare() { + default + grep -qv '^SONAME=0$' Makefile || die "Check SONAME in Makefile" + if use icu; then + sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die + fi + multilib_copy_sources +} + +src_configure() { + tc-export AR CXX NM +} + +multilib_src_compile() { + emake SONAME="${SONAME}" +} + +multilib_src_install() { + emake SONAME="${SONAME}" DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" install +} diff --git a/dev-libs/re2/re2-0.2017.03.01.ebuild b/dev-libs/re2/re2-0.2017.03.01.ebuild new file mode 100644 index 000000000000..0410c18f841f --- /dev/null +++ b/dev-libs/re2/re2-0.2017.03.01.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal toolchain-funcs + +# Different date format used upstream. +RE2_VER=${PV#0.} +RE2_VER=${RE2_VER//./-} + +DESCRIPTION="An efficent, principled regular expression library" +HOMEPAGE="https://github.com/google/re2" +SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> re2-${RE2_VER}.tar.gz" + +LICENSE="BSD" +# NOTE: Always run libre2 through abi-compliance-checker! +# https://abi-laboratory.pro/tracker/timeline/re2/ +SONAME="gentoo-2017-03-01" +SLOT="0/${SONAME}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="icu" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + icu? ( virtual/pkgconfig )" + +S="${WORKDIR}/re2-${RE2_VER}" + +DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt ) +HTML_DOCS=( doc/syntax.html ) + +src_prepare() { + default + grep -qv '^SONAME=0$' Makefile || die "Check SONAME in Makefile" + if use icu; then + sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die + fi + multilib_copy_sources +} + +src_configure() { + tc-export AR CXX NM +} + +multilib_src_compile() { + emake SONAME="${SONAME}" +} + +multilib_src_install() { + emake SONAME="${SONAME}" DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" install +} |