forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/librnp: new package, add 0.16.0
Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST librnp-0.16.0.tar.gz 2755417 BLAKE2B bdd06b1bd20ae816b54be19fa844767e9978eb387487db85db2dcd699da1d1b426455565a6c0508bf3782e07317d3bf6ae3613ebe6f8721f80849cb985e7850f SHA512 3d1ba077f85b08ca308d0ebc6499b3a2f32db38f0fd3abbfa7c38277d4552d2bcb7b2e7d07b7fa3222130af347b73d853136974ec289d6de3e97c1e18e407b36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</email> | ||
<name>Gentoo Mozilla Team</name> | ||
</maintainer> | ||
</pkgmetadata> |