mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
dev-libs/open62541: drop 1.4.10
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
parent
ef91a028bf
commit
f5e3f6e38b
@ -1,2 +1 @@
|
||||
DIST open62541-1.4.10.tar.gz 4217021 BLAKE2B 9ef247a61c0feb49d66d1125f6007cab8d6ad21505ea62d2bcaf2230dcd53ac5de6f23b33f46fe3a809fda25658051be7cc435a9e56566e570716156b92a10e1 SHA512 d5124eeb6e5083ab1aa015379568975bfee4ba295e49fb6728dcd9899455e71f8cad00c6e9ee8cbea8b2f9452484c773b0d82ff28700a316c3d3c7fd62ebeec6
|
||||
DIST open62541-1.4.11.1.tar.gz 4217943 BLAKE2B b87178ff3018d4ccf9bf8534bbbe0a7e368954222cc991876454a9ca3f7b9b905586fea78160811312b9e49bb66ba3e23a31346dd0f083d9db4276a03cc6aa54 SHA512 968288f466bb8174f59de1935b0958a5d996a7838c816032977662ef6425254ab073104c133c8bdf6efd017c4fcc847e2285379e148156fdeb1d74970a603698
|
||||
|
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user