mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-libs/open62541: drop 1.4.11.1
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST open62541-1.4.11.1.tar.gz 4217943 BLAKE2B b87178ff3018d4ccf9bf8534bbbe0a7e368954222cc991876454a9ca3f7b9b905586fea78160811312b9e49bb66ba3e23a31346dd0f083d9db4276a03cc6aa54 SHA512 968288f466bb8174f59de1935b0958a5d996a7838c816032977662ef6425254ab073104c133c8bdf6efd017c4fcc847e2285379e148156fdeb1d74970a603698
|
||||
DIST open62541-1.4.12.tar.gz 4218569 BLAKE2B 0080e3918a6091cc2eecc5ec97a1a5f2bae8e873f17c8a5d5f3659beca7bfe15724e984268c6e8afa6fcc59e9913b276d16c6eb427e1d3bc9c35d21a922782db SHA512 637f662a38b4d09288bbf9fc5cce3c3c8711a90a4afe570ef85bd30437353208a2cabc0e5a8edaac453e1b7b50ff97ce4757b1376ec1be248066cceda6362257
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="Open source C implementation of OPC UA"
|
||||
HOMEPAGE="https://www.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