diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-08-22 19:41:33 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-08-22 19:50:27 +0300 |
commit | 30070afeced3023c8f75e52b2163d2874389a19e (patch) | |
tree | 23c2816f26f511709716e8e70807d6a481f2a1a5 /dev-util/librnp | |
parent | www-apps/moodle: version bumps 3.9.16, 3.11.9, 4.0.3 (diff) | |
download | gentoo-30070afeced3023c8f75e52b2163d2874389a19e.tar.gz gentoo-30070afeced3023c8f75e52b2163d2874389a19e.tar.bz2 gentoo-30070afeced3023c8f75e52b2163d2874389a19e.zip |
dev-util/librnp: new package, add 0.16.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/librnp')
-rw-r--r-- | dev-util/librnp/Manifest | 1 | ||||
-rw-r--r-- | dev-util/librnp/librnp-0.16.0.ebuild | 47 | ||||
-rw-r--r-- | dev-util/librnp/metadata.xml | 8 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest new file mode 100644 index 000000000000..b506ebb23de8 --- /dev/null +++ b/dev-util/librnp/Manifest @@ -0,0 +1 @@ +DIST librnp-0.16.0.tar.gz 2755417 BLAKE2B bdd06b1bd20ae816b54be19fa844767e9978eb387487db85db2dcd699da1d1b426455565a6c0508bf3782e07317d3bf6ae3613ebe6f8721f80849cb985e7850f SHA512 3d1ba077f85b08ca308d0ebc6499b3a2f32db38f0fd3abbfa7c38277d4552d2bcb7b2e7d07b7fa3222130af347b73d853136974ec289d6de3e97c1e18e407b36 diff --git a/dev-util/librnp/librnp-0.16.0.ebuild b/dev-util/librnp/librnp-0.16.0.ebuild new file mode 100644 index 000000000000..3c528fc1c13e --- /dev/null +++ b/dev-util/librnp/librnp-0.16.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="High performance C++ OpenPGP library" +HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp" +SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="man" + +DEPEND="app-arch/bzip2 + dev-libs/botan:2= + dev-libs/json-c:= + sys-libs/zlib" +RDEPEND="${DEPEND}" +BDEPEND="man? ( dev-ruby/asciidoctor )" + +S="${WORKDIR}/${P/*lib/}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=off + + -DCRYPTO_BACKEND=botan + + -DDOWNLOAD_GTEST=off + -DDOWNLOAD_RUBYRNP=off + + -DENABLE_COVERAGE=off + -DENABLE_FUZZERS=off + -DENABLE_SANITIZERS=off + ) + + if use man; then + mycmakeargs+=( -DENABLE_DOC=on ) + else + mycmakeargs+=( -DENABLE_DOC=off ) + fi + + cmake_src_configure +} diff --git a/dev-util/librnp/metadata.xml b/dev-util/librnp/metadata.xml new file mode 100644 index 000000000000..d7a0807d3469 --- /dev/null +++ b/dev-util/librnp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>mozilla@gentoo.org</email> + <name>Gentoo Mozilla Team</name> + </maintainer> +</pkgmetadata> |