summaryrefslogtreecommitdiff
path: root/dev-libs/cppcodec
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-29 20:19:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-29 20:19:23 +0100
commit12bb627384ddfd47382b9f1b6464481a58d01ebb (patch)
treef9760c04ccd4fcd7de214e2acd5b0e43fb530aa9 /dev-libs/cppcodec
parent5fdd950c7ae03e12746a45c86d85861beaacc846 (diff)
gentoo resync : 29.08.2018
Diffstat (limited to 'dev-libs/cppcodec')
-rw-r--r--dev-libs/cppcodec/Manifest6
-rw-r--r--dev-libs/cppcodec/cppcodec-0.1.ebuild2
-rw-r--r--dev-libs/cppcodec/cppcodec-0.2.ebuild39
-rw-r--r--dev-libs/cppcodec/cppcodec-9999.ebuild2
4 files changed, 45 insertions, 4 deletions
diff --git a/dev-libs/cppcodec/Manifest b/dev-libs/cppcodec/Manifest
index 56c76769aa81..57f52147bbcb 100644
--- a/dev-libs/cppcodec/Manifest
+++ b/dev-libs/cppcodec/Manifest
@@ -1,4 +1,6 @@
DIST cppcodec-0.1.tar.gz 26932 BLAKE2B abfe4aa3126d5900f806682c6ecb60d3cab5eb41e21d68c3f0c55d011c528304be9d286e48c6dac7bd3edea9e519609091053b6aeb2ab85818837b10499b24ae SHA512 8b406755b3d9457e4e265f76abcb7a18daa4566ec9b56ac3a01b44fd62062eef8d91806e0009ce26ade92a35c5c0488eeaf7db695479a2013f8549ac5fa8626f
-EBUILD cppcodec-0.1.ebuild 801 BLAKE2B 2f19fe2f5ebb180ee2dbed5a5532354282618446024e6f49c4dc57be8d8b69667634c7ee503c12ce4a7ee6d10bf75773f5bb722d8eff903d958477614f177a83 SHA512 b4a2eff015e31d0846d7031c4b9cbe79807571a2d77774d4f90dcb6eeaf573339874bd70d178da74c14a710465108ec8b9f14c4210951dc0eceb472929690f33
-EBUILD cppcodec-9999.ebuild 801 BLAKE2B 2f19fe2f5ebb180ee2dbed5a5532354282618446024e6f49c4dc57be8d8b69667634c7ee503c12ce4a7ee6d10bf75773f5bb722d8eff903d958477614f177a83 SHA512 b4a2eff015e31d0846d7031c4b9cbe79807571a2d77774d4f90dcb6eeaf573339874bd70d178da74c14a710465108ec8b9f14c4210951dc0eceb472929690f33
+DIST cppcodec-0.2.tar.gz 33984 BLAKE2B 248487326d3fafb104d469d16cddab86fe63dec6eecb74af6211c262a42ff8806ee97619459f9dca648107748e30268206e84d64efba47a9ea1c398eb4c06919 SHA512 50c9c81cdb12560c87e513e1fd22c1ad24ea37b7d20a0e3044d43fb887f4c6494c69468e4d0811cd2fc1ae8fdb01b01cfb9f3cfdd8611d4bb0221cbd38cbead3
+EBUILD cppcodec-0.1.ebuild 799 BLAKE2B da02aaae5e7e3739b9fd830f84ddf9992988fe12bfbaccf1c7e9c588cd10aa65874a77dfdf2361a19329600705ec324a4ce6580d09b1fe70ffd768ca500b7193 SHA512 2f97f12995dc3c8a03d622c6adbc0661ef23281d7015afe8fc4a448c662e0fe7760b982a9b8a854ad8b749a08d2ab3557791b1d2f0df2ae76a7bfd8ee4c363c9
+EBUILD cppcodec-0.2.ebuild 799 BLAKE2B 8519df7d0bc4bab63102556abad7193c302c8c07efbd4af50778901665e8ad31782d99fa5309ff022eba3cdd7617a6d4744d62635a260bc04e1f2fb84e3c2ee9 SHA512 d48e6cae20416b2ee356bd75f7f74ddf26b6c7110248654b485b9ae6da6cf4f51835b854d51426c4f9530c0694c1c275f3ae942b25e471b212405269dd2f8081
+EBUILD cppcodec-9999.ebuild 799 BLAKE2B da02aaae5e7e3739b9fd830f84ddf9992988fe12bfbaccf1c7e9c588cd10aa65874a77dfdf2361a19329600705ec324a4ce6580d09b1fe70ffd768ca500b7193 SHA512 2f97f12995dc3c8a03d622c6adbc0661ef23281d7015afe8fc4a448c662e0fe7760b982a9b8a854ad8b749a08d2ab3557791b1d2f0df2ae76a7bfd8ee4c363c9
MISC metadata.xml 385 BLAKE2B b2d35f81b4df3fc6de6d0be3bb253131817980e55fb6b4e1f43c06ec07fb6bd4b6d102248873dd4b8831aa05139879a05953f0f6efccea05a1bb00e8cf5a94b1 SHA512 195de9b1b75f92cc00a943e8dcbda580d7994c0a94947fa964b46ab4ad979ffd85d6658d59908aafe8f265241bfb322eac1ec6586e403246c3eaedf7b2799c11
diff --git a/dev-libs/cppcodec/cppcodec-0.1.ebuild b/dev-libs/cppcodec/cppcodec-0.1.ebuild
index 7a7f9e55ed60..8fd88d739a88 100644
--- a/dev-libs/cppcodec/cppcodec-0.1.ebuild
+++ b/dev-libs/cppcodec/cppcodec-0.1.ebuild
@@ -20,7 +20,7 @@ else
KEYWORDS="~amd64"
fi
-LICENSE="GPL-3"
+LICENSE="MIT"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
diff --git a/dev-libs/cppcodec/cppcodec-0.2.ebuild b/dev-libs/cppcodec/cppcodec-0.2.ebuild
new file mode 100644
index 000000000000..fe7a12a7e61f
--- /dev/null
+++ b/dev-libs/cppcodec/cppcodec-0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+inherit cmake-utils
+
+DESCRIPTION="C++11 library to encode/decode base64, base64url, base32, base32hex and hex"
+HOMEPAGE="https://github.com/tplgy/cppcodec"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/tplgy/cppcodec.git"
+
+ # Disable pulling in catch
+ EGIT_SUBMODULES=()
+else
+ SRC_URI="https://github.com/tplgy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ virtual/pkgconfig
+ >=dev-cpp/catch-2.3.0
+ )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake-utils_src_configure
+}
diff --git a/dev-libs/cppcodec/cppcodec-9999.ebuild b/dev-libs/cppcodec/cppcodec-9999.ebuild
index 7a7f9e55ed60..8fd88d739a88 100644
--- a/dev-libs/cppcodec/cppcodec-9999.ebuild
+++ b/dev-libs/cppcodec/cppcodec-9999.ebuild
@@ -20,7 +20,7 @@ else
KEYWORDS="~amd64"
fi
-LICENSE="GPL-3"
+LICENSE="MIT"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"