mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-libs/open62541: drop 1.5.6
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
2 files changed
-83
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST open62541-1.5.6.tar.gz 8120507 BLAKE2B 96f79ef17798c504ae490b38342f023a43593b582cf42a7424b6445df72aba2bbf5db77451d96f9588c2d0b7a76d69a1e1fccaffcfac0a72f67681df8da6dcb0 SHA512 67866850094c56189efdf34ce190b6374cce451186772d17b769e4709f494a27393d9c1878d9432e6eb812a63b859262f4f7e515b940540c704fd4a20e39aee2
|
||||
DIST open62541-1.5.8.tar.gz 8159382 BLAKE2B 5ab8990d11de4cc9e0a3e2b302238b259a32ef1f4013d1f9bb98ce9ed0aeea00b878c0ce1485073d80b85421cede4bba57f24849ef4f9338a98b9db428db38a5 SHA512 58da0f9a855a8a40ca951ef98239e2bd35f43438ef0f8bdfd1c82b5273a728a7502db9c6f6202d0811a30fd47f2026164e50b31556e9c707d67387234319c4ae
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="Open source C implementation of OPC UA"
|
||||
HOMEPAGE="https://open62541.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="doc examples mbedtls pubsub openssl tools"
|
||||
# Requires network access
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
?? ( mbedtls openssl )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
media-gfx/graphviz
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
mbedtls? ( net-libs/mbedtls:= )
|
||||
openssl? ( dev-libs/openssl:0= )
|
||||
"
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DOPEN62541_VERSION=v${PV}
|
||||
-DUA_BUILD_EXAMPLES=OFF
|
||||
-DUA_BUILD_TOOLS=$(usex tools)
|
||||
-DUA_BUILD_UNIT_TESTS=OFF
|
||||
-DUA_ENABLE_HARDENING=OFF
|
||||
-DUA_ENABLE_PUBSUB=$(usex pubsub)
|
||||
-DUA_ENABLE_PUBSUB_INFORMATIONMODEL=$(usex pubsub)
|
||||
-DUA_FORCE_WERROR=OFF
|
||||
)
|
||||
|
||||
use mbedtls && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=MBEDTLS)
|
||||
use openssl && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=OPENSSL)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_build doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( "${WORKDIR}"/${P}_build/doc/. )
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples/
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_src_test -j1
|
||||
}
|
||||
Reference in new issue
Block a user