net-libs/orcania: new package, add 2.3.0

This is a dependency for guru::net-libs/ulfius.

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
Kurt Kanzenbach 2022-06-26 11:54:19 +02:00
parent e4ed581eb4
commit 10c78b9169
No known key found for this signature in database
GPG Key ID: DB8F6A82BDCE20B9
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST orcania-2.3.0.tar.gz 66940 BLAKE2B 724f998acca244ee047420602249522eaaa3980739d04752addd0f5ec5ee10c70202cdb347e6ea7016b3fe3ac566e064ad2499bd8640ce1e4ad562b31c11e86f SHA512 dfaa67b83569d22d5ceeabc2e7d7ef2a035aa9ac79576ea5bd1425eb8962bef85a54cbfc21ab768e15e2ac874d695b00a477c6ffef544ba5adab31e460e31393

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kurt@kmk-computers.de</email>
<name>Kurt Kanzenbach</name>
</maintainer>
<longdescription lang="en">
Library for angharad programs.
Different functions for different purposes but that can be shared between
other projects.
Basically these are used for other programs in the anghard project.
</longdescription>
<upstream>
<remote-id type="github">babelouest/orcania</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,44 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Library for angharad programs"
HOMEPAGE="https://github.com/babelouest/orcania/"
SRC_URI="https://github.com/babelouest/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RESTRICT="test"
BDEPEND="
virtual/pkgconfig
"
DEPEND="
"
RDEPEND="
${DEPEND}
"
src_configure() {
local mycmakeargs=(
-DBUILD_BASE64URL=OFF
-DBUILD_ORCANIA_DOCUMENTATION=$(usex doc)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
use doc && cmake_build doc
}
src_install() {
use doc && local HTML_DOCS=( doc/html/* )
cmake_src_install
}