mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
Cyclonedds/Iceoryx ebuilds
Signed-off-by: Marius Norvoll Sletten <mariusns@gmail.com>
This commit is contained in:
1
sys-libs/iceoryx/Manifest
Normal file
1
sys-libs/iceoryx/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST iceoryx-2.0.3.tar.gz 1544045 BLAKE2B ce352c035fe89691425b5dcd763eb848a21f9eda6885c9bbd452d8aa9089fbb0a453557f9b40c97f1819d5c1ee8ec0fcdc5dc93f228974c7169576f090ccd83a SHA512 b860452373dc41d6b0dd0042d1fc4c97621f143d20e9354a1572126ab815ee0cec6548ddfab9fa276943ed33d9ffd8810243e67eb5fae1d11f18ef0b2b074650
|
||||
63
sys-libs/iceoryx/iceoryx-2.0.3.ebuild
Normal file
63
sys-libs/iceoryx/iceoryx-2.0.3.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/eclipse-iceoryx/iceoryx"
|
||||
|
||||
else
|
||||
SRC_URI="https://github.com/eclipse-iceoryx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
B="${WORKDIR}/${P}_build"
|
||||
DESCRIPTION="Eclipse Iceoryx zero copy IPC"
|
||||
HOMEPAGE="https://iceoryx.io"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="test doc examples ccache"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=(
|
||||
"doc? ( app-doc/doxygen )"
|
||||
"dev-cpp/cpptoml"
|
||||
"ccache? dev-util/ccache"
|
||||
)
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
PATCHES=()
|
||||
|
||||
src_prepare() {
|
||||
|
||||
CMAKE_USE_DIR=${S}/${PN}_meta
|
||||
BUILD_DIR=${B}
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DOC= $(usex doc)
|
||||
-DBUILD_ALL=OFF
|
||||
-DBINDING_C=ON
|
||||
-DEXAMPLES=$(usex examples)
|
||||
-DBUILD_TEST=$(usex test)
|
||||
-DCLANG_TIDY=OFF
|
||||
-DDOWNLOAD_TOML_LIB=OFF
|
||||
-DCMAKE_MODULE_PATH="/usr/lib/cmake/cpptoml"
|
||||
-DCCACHE=$(usex ccache)
|
||||
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
62
sys-libs/iceoryx/iceoryx-9999.ebuild
Normal file
62
sys-libs/iceoryx/iceoryx-9999.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/eclipse-iceoryx/iceoryx"
|
||||
else
|
||||
SRC_URI="https://github.com/eclipse-iceoryx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
B="${WORKDIR}/${P}_build"
|
||||
DESCRIPTION="Eclipse Iceoryx zero copy IPC"
|
||||
HOMEPAGE="https://iceoryx.io"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="test doc examples ccache"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=(
|
||||
"doc? ( app-doc/doxygen )"
|
||||
"dev-cpp/cpptoml"
|
||||
"ccache? dev-util/ccache"
|
||||
)
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
PATCHES=()
|
||||
|
||||
src_prepare() {
|
||||
|
||||
CMAKE_USE_DIR=${S}/${PN}_meta
|
||||
BUILD_DIR=${B}
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DOC= $(usex doc)
|
||||
-DBUILD_ALL=OFF
|
||||
-DBINDING_C=ON
|
||||
-DEXAMPLES=$(usex examples)
|
||||
-DBUILD_TEST=$(usex test)
|
||||
-DCLANG_TIDY=OFF
|
||||
-DDOWNLOAD_TOML_LIB=OFF
|
||||
-DCMAKE_MODULE_PATH="/usr/lib/cmake/cpptoml"
|
||||
-DCCACHE=$(usex ccache)
|
||||
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user