diff options
Diffstat (limited to 'net-wireless/gr-ieee802154')
-rw-r--r-- | net-wireless/gr-ieee802154/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r4.ebuild (renamed from net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild) | 12 | ||||
-rw-r--r-- | net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20230828.ebuild | 59 | ||||
-rw-r--r-- | net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild | 12 |
4 files changed, 71 insertions, 18 deletions
diff --git a/net-wireless/gr-ieee802154/Manifest b/net-wireless/gr-ieee802154/Manifest index b4c05b78e3d5..1a5cd0954f48 100644 --- a/net-wireless/gr-ieee802154/Manifest +++ b/net-wireless/gr-ieee802154/Manifest @@ -1,4 +1,6 @@ DIST gr-ieee802154-0.0_p20210719.tar.gz 155040 BLAKE2B c198de71391ddc2ad32255476b8b9ba0e13bd3eb3c674b21846174cd3d8804c68e407f4e019cc164b1d10eae5ee672ae31a5f23a450d08abd477aa244ef479fb SHA512 77f746832bfaec53ad6439b69de8712fb444d7b45fdc9937445c6df5d6a5a9a19363ab180c063b6c0647dff8c0404797d190730124a2248418e0fee5daff26f7 -EBUILD gr-ieee802154-0.0_p20210719-r3.ebuild 1669 BLAKE2B 527ae555cc4cdd258ac2b88aba94efa0b8f476b71da74050121b361daf3c80df28844d4c6e19ad7de426156d4208fa12bf31f118b849b517c1238a30f484adc9 SHA512 dace54db5decea345ab4f47f7ec14953750454e9ec48a08f7bc113e535ea49b2c46c80c7e54920c0a7e888f059c7b289361b4106449195449c29a25324ac45d1 -EBUILD gr-ieee802154-9999.ebuild 1671 BLAKE2B cc7ed6b2479f80ac8fe26bc3a24c64206dc42f68b2ace567d61c3a647cb3b834bd5c759cf5544ede329d8ff4fac79a3ea3310462a6bcf9022377d34081f1ef16 SHA512 db2f4babd27b4a59e8ffcfcf98779b0cccaedee0d01c9583f6791422ebdeb7407dd046e1d14acdb1a8b3390494c0b5ad19dca844a7efb54c55147a0597105147 +DIST gr-ieee802154-0.0_p20230828.tar.gz 155040 BLAKE2B c198de71391ddc2ad32255476b8b9ba0e13bd3eb3c674b21846174cd3d8804c68e407f4e019cc164b1d10eae5ee672ae31a5f23a450d08abd477aa244ef479fb SHA512 77f746832bfaec53ad6439b69de8712fb444d7b45fdc9937445c6df5d6a5a9a19363ab180c063b6c0647dff8c0404797d190730124a2248418e0fee5daff26f7 +EBUILD gr-ieee802154-0.0_p20210719-r4.ebuild 1433 BLAKE2B 2dca50bdc79fafa2ccc680c29cf8b700e7444d0835ab01132ae5955f2d2f4415353bc8b04b703034d4d5cf4c3c6d3e6856e56e463b627152e6de74a855990fb8 SHA512 c81dab1677b363ee554d032e99d84764ba323cde7ced332cbb701be473db2d9fd05e4367df2b7a8645d47d6570c1559a29535076fd72d2f9c522bda303617696 +EBUILD gr-ieee802154-0.0_p20230828.ebuild 1433 BLAKE2B 2dca50bdc79fafa2ccc680c29cf8b700e7444d0835ab01132ae5955f2d2f4415353bc8b04b703034d4d5cf4c3c6d3e6856e56e463b627152e6de74a855990fb8 SHA512 c81dab1677b363ee554d032e99d84764ba323cde7ced332cbb701be473db2d9fd05e4367df2b7a8645d47d6570c1559a29535076fd72d2f9c522bda303617696 +EBUILD gr-ieee802154-9999.ebuild 1435 BLAKE2B 1304eca6221285f942b53b5e7c0f5514874a85d0bffdde777f61ee1e07d23743d2e4bb23beed032c4e7e73761822925b1e6a33f0b1027eab4b7dca0d30b1742a SHA512 0991cc37d3dbf410b6a4711271d68c553173ba718b2815a8cb203935d6afa544641cc97d41d60bdea03e46bada254f1870e8cf7a6869f03be47a181fd0000563 MISC metadata.xml 327 BLAKE2B 2c9e8d4809ade74a47f5ec1e0f208345c49edc0a994226a8a29739643b1558fa3fe426ce64636742708b32a5a2ac0e9472fbd91545d30d18d0e8755d2743c483 SHA512 dd940d9241b852de89bfcb8f921663ec946f2833c2741ddf39ab6cffcbb275c63e7407a97f8c650135d79351f26622c2a23b05251ca2d9b61eb5a64108ad0200 diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r4.ebuild index e1b48bb9f238..1687c7d97ba0 100644 --- a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r3.ebuild +++ b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{9..13} ) inherit cmake python-single-r1 @@ -38,18 +38,14 @@ BDEPEND="dev-lang/swig" REQUIRED_USE="${PYTHON_REQUIRED_USE}" src_prepare() { - #although cppunit is not used, it fails if it isn't there, fix it - sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt - sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt - sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt - sed -i '/GR_PKG_DOC_DIR/d' CMakeLists.txt + # fix path for doc files + sed -i "s/802_15_4 CXX/802154 CXX/" CMakeLists.txt || die cmake_src_prepare } src_configure() { local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" - -DGR_PKG_DOC_DIR="/usr/share/doc/${P}" ) cmake_src_configure } diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20230828.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20230828.ebuild new file mode 100644 index 000000000000..1687c7d97ba0 --- /dev/null +++ b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20230828.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..13} ) + +inherit cmake python-single-r1 + +DESCRIPTION="IEEE 802.15.4 ZigBee Transceiver" +HOMEPAGE="https://github.com/bastibl/gr-ieee802-15-4" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bastibl/gr-ieee802-15-4.git" + EGIT_BRANCH="maint-3.9" +else + COMMIT="1a2999ce2778df279870f028a4ce15d94e60fbd9" + SRC_URI="https://github.com/bastibl/gr-ieee802-15-4/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/gr-ieee802-15-4-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" + +RDEPEND="net-wireless/gnuradio:0=[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-libs/boost:=[python,${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + ') + dev-libs/gmp + dev-libs/spdlog:= + sci-libs/volk:= + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/swig" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + # fix path for doc files + sed -i "s/802_15_4 CXX/802154 CXX/" CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + # Remove stray python files generated by the build system + find "${ED}" -name '*.pyc' -exec rm -f {} \; || die + find "${ED}" -name '*.pyo' -exec rm -f {} \; || die + python_optimize +} diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild index fbf88104daa3..20f4fead01b5 100644 --- a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild +++ b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{9..13} ) inherit cmake python-single-r1 @@ -38,18 +38,14 @@ BDEPEND="dev-lang/swig" REQUIRED_USE="${PYTHON_REQUIRED_USE}" src_prepare() { - #although cppunit is not used, it fails if it isn't there, fix it - sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt - sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt - sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt - sed -i '/GR_PKG_DOC_DIR/d' CMakeLists.txt + # fix path for doc files + sed -i "s/802_15_4 CXX/802154 CXX/" CMakeLists.txt || die cmake_src_prepare } src_configure() { local mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" - -DGR_PKG_DOC_DIR="/usr/share/doc/${P}" ) cmake_src_configure } |