mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
dev-libs/open62541: drop 1.4.13
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST open62541-1.4.13.tar.gz 4220294 BLAKE2B 33a7d4fce4bcea3b2dfd8ef7b1c8fb715a095328f8f261230fcf3f4dcea076da02150a7eb4990f1ec9f11e09ff17c197083e741f0f072818e9879ddaed306c51 SHA512 27bbca50ed41cbc12eabf337d22f51a8e54da1a6af049dd6eae3c27266add52d334cbb1fc24d249618d6aafd7948e4a5ab68da3c30448b6c1f4202e0fd7a0e83
|
||||
DIST open62541-1.4.14.tar.gz 4221041 BLAKE2B 36cf983fc45b4e310cc61446a1766a476939708009a6efd5e6e901bebd137791cbb00797aa0c0ed6aa46021289475c792fedfd8d9452c052437c6a0db484152d SHA512 521e29921d7aed6ee9766a1781c28071447ec0046f02a23376798ac35c18feba37cc0f4c217df41abb1c4470b7bf7aae26cf88da0ec8136f64a969be9ff56426
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
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