commit: 0996ed1d6d662a41f6fe342381870c4693127519
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Jan 7 16:18:27 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sun Jan 7 16:18:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0996ed1d
sys-libs/cyclonedds: describe unknown USE flags
Fixes other QA issues as well.
- MissingRemoteId
- BadDescription
- DoubleEmptyLine
- UnknownUseFlags
- UnquotedVariable
- WhitespaceFound
- WrongIndentFound
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild | 45 +++++++++++-----------------
sys-libs/cyclonedds/cyclonedds-9999.ebuild | 45 +++++++++++-----------------
sys-libs/cyclonedds/metadata.xml | 14 +++++++++
3 files changed, 48 insertions(+), 56 deletions(-)
diff --git a/sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild
b/sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild
index fbdaecca1f..14cd2e34ba 100644
--- a/sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild
+++ b/sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild
@@ -1,28 +1,25 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
-
if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/eclipse-cyclonedds/"
+ EGIT_REPO_URI="https://github.com/eclipse-cyclonedds/cyclonedds.git"
inherit git-r3
-
else
-
SRC_URI="https://github.com/eclipse-cyclonedds/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
KEYWORDS="~amd64"
fi
S="${WORKDIR}/${P}"
-DESCRIPTION="Eclipse Cyclone DDS is a very performant and robust open-source
implementation of the OMG DDS specification."
+DESCRIPTION="Eclipse Cyclone DDS project"
HOMEPAGE="https://cyclonedds.io/"
LICENSE="EPL-2.0"
SLOT="0/$(ver_cut 1-2)"
-IUSE="test ssl shm parser doc examples ipv6 idlc get_kind"
+IUSE="test ssl shm parser doc examples ipv6 idlc get-kind"
RESTRICT="!test? ( test )"
RDEPEND=(
@@ -33,34 +30,26 @@ RDEPEND=(
)
DEPEND="${RDEPEND[@]}"
-
CMAKE_BUILD_TYPE=Release
-#PATCHES=()
-
-src_prepare() {
- use get_kind && eapply ${FILESDIR}/${PN}-0.10.3-get_kind.patch
+src_prepare() {
+ use get_kind && eapply "${FILESDIR}/${PN}-0.10.3-get_kind.patch"
cmake_src_prepare
}
src_configure() {
-
local mycmakeargs=(
- -DBUILD_DOCS= $(usex doc)
- -DBUILD_DDSPERF=OFF
- -DBUILD_EXAMPLES=$(usex examples)
-
-
- -DBUILD_TESTING=$(usex test)
- -DBUILD_IDLC_TESTING=$(usex test)
-
- -DBUILD_IDLC=$(usex idlc)
- -DENABLE_SSL=$(usex ssl)
- -DENABLE_SECURITY=$(usex ssl)
- -DENABLE_SECURITY=$(usex ssl)
- -DENABLE_IPV6=$(usex ipv6)
- -DENABLE_SHM=$(usex shm)
+ -DBUILD_DOCS= $(usex doc)
+ -DBUILD_DDSPERF=OFF
+ -DBUILD_EXAMPLES=$(usex examples)
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_IDLC_TESTING=$(usex test)
+ -DBUILD_IDLC=$(usex idlc)
+ -DENABLE_SSL=$(usex ssl)
+ -DENABLE_SECURITY=$(usex ssl)
+ -DENABLE_SECURITY=$(usex ssl)
+ -DENABLE_IPV6=$(usex ipv6)
+ -DENABLE_SHM=$(usex shm)
)
-
cmake_src_configure
}
diff --git a/sys-libs/cyclonedds/cyclonedds-9999.ebuild
b/sys-libs/cyclonedds/cyclonedds-9999.ebuild
index fbdaecca1f..14cd2e34ba 100644
--- a/sys-libs/cyclonedds/cyclonedds-9999.ebuild
+++ b/sys-libs/cyclonedds/cyclonedds-9999.ebuild
@@ -1,28 +1,25 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
-
if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/eclipse-cyclonedds/"
+ EGIT_REPO_URI="https://github.com/eclipse-cyclonedds/cyclonedds.git"
inherit git-r3
-
else
-
SRC_URI="https://github.com/eclipse-cyclonedds/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
KEYWORDS="~amd64"
fi
S="${WORKDIR}/${P}"
-DESCRIPTION="Eclipse Cyclone DDS is a very performant and robust open-source
implementation of the OMG DDS specification."
+DESCRIPTION="Eclipse Cyclone DDS project"
HOMEPAGE="https://cyclonedds.io/"
LICENSE="EPL-2.0"
SLOT="0/$(ver_cut 1-2)"
-IUSE="test ssl shm parser doc examples ipv6 idlc get_kind"
+IUSE="test ssl shm parser doc examples ipv6 idlc get-kind"
RESTRICT="!test? ( test )"
RDEPEND=(
@@ -33,34 +30,26 @@ RDEPEND=(
)
DEPEND="${RDEPEND[@]}"
-
CMAKE_BUILD_TYPE=Release
-#PATCHES=()
-
-src_prepare() {
- use get_kind && eapply ${FILESDIR}/${PN}-0.10.3-get_kind.patch
+src_prepare() {
+ use get_kind && eapply "${FILESDIR}/${PN}-0.10.3-get_kind.patch"
cmake_src_prepare
}
src_configure() {
-
local mycmakeargs=(
- -DBUILD_DOCS= $(usex doc)
- -DBUILD_DDSPERF=OFF
- -DBUILD_EXAMPLES=$(usex examples)
-
-
- -DBUILD_TESTING=$(usex test)
- -DBUILD_IDLC_TESTING=$(usex test)
-
- -DBUILD_IDLC=$(usex idlc)
- -DENABLE_SSL=$(usex ssl)
- -DENABLE_SECURITY=$(usex ssl)
- -DENABLE_SECURITY=$(usex ssl)
- -DENABLE_IPV6=$(usex ipv6)
- -DENABLE_SHM=$(usex shm)
+ -DBUILD_DOCS= $(usex doc)
+ -DBUILD_DDSPERF=OFF
+ -DBUILD_EXAMPLES=$(usex examples)
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_IDLC_TESTING=$(usex test)
+ -DBUILD_IDLC=$(usex idlc)
+ -DENABLE_SSL=$(usex ssl)
+ -DENABLE_SECURITY=$(usex ssl)
+ -DENABLE_SECURITY=$(usex ssl)
+ -DENABLE_IPV6=$(usex ipv6)
+ -DENABLE_SHM=$(usex shm)
)
-
cmake_src_configure
}
diff --git a/sys-libs/cyclonedds/metadata.xml b/sys-libs/cyclonedds/metadata.xml
new file mode 100644
index 0000000000..2c9b431453
--- /dev/null
+++ b/sys-libs/cyclonedds/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id
type="github">eclipse-cyclonedds/cyclonedds</remote-id>
+ </upstream>
+ <use>
+ <flag name="get-kind">Apply patch for additional interface
which returns type of entity</flag>
+ <flag name="idlc">Build IDL preprocessor</flag>
+ <flag name="parser">Regenerate parser</flag>
+ <flag name="shm">Enable shared memory support</flag>
+ </use>
+</pkgmetadata>