From 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Jun 2024 00:07:06 +0100 Subject: gentoo auto-resync : 01:06:2024 - 00:07:06 --- net-analyzer/Manifest.gz | Bin 43274 -> 43269 bytes net-analyzer/gr-fosphor/Manifest | 4 +- .../gr-fosphor/gr-fosphor-0.0_p20210108-r1.ebuild | 79 +++++++++++++++++++++ .../gr-fosphor/gr-fosphor-0.0_p20210108.ebuild | 79 --------------------- net-analyzer/gr-fosphor/gr-fosphor-9999.ebuild | 4 +- 5 files changed, 83 insertions(+), 83 deletions(-) create mode 100644 net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108-r1.ebuild delete mode 100644 net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz index eab47123d6e3..eaa7815a3e14 100644 Binary files a/net-analyzer/Manifest.gz and b/net-analyzer/Manifest.gz differ diff --git a/net-analyzer/gr-fosphor/Manifest b/net-analyzer/gr-fosphor/Manifest index cee8f11458f8..ff4ef3e69659 100644 --- a/net-analyzer/gr-fosphor/Manifest +++ b/net-analyzer/gr-fosphor/Manifest @@ -1,6 +1,6 @@ AUX gr-fosphor-0.0_p20200131-htmldir.patch 285 BLAKE2B 111862d2e2f2cccd8c9d2e182f7881f2692c31455aae55ca5e8ab3f34c8d4a507c39681ec0f914f9fbd4fa1dc6eba0fcee34957e94f478b8ae280d40cc14a2d3 SHA512 d814f8bc0ff7023a4a4df40346f3eea8835d874de2f4e05175a79b14580851f560b51fde0506ad3f6eb077bbf57433c6f406cc7269c6f8dee92e80fd169a2e22 AUX gr-fosphor-0.0_p20210108-fix-use.patch 566 BLAKE2B 54ba73d27ca2748e366bc48bbd77e0f56a1665c410463b852083ff24ddfdd0d8e3422552e92b2d2ceba955aeb501672a2c2565a271f018d0743719a7d2d14e13 SHA512 cc56cbee84011a40b7886247ce19a9f5ccb4ade124f785da0eab9376c1d923231ddc4c176b4552a90d82bece58c3f2b199439d3ec0c68fee9b9927217f778c22 DIST gr-fosphor-0.0_p20210108.tar.gz 223873 BLAKE2B 4c44ea026760a12fbc9f50c439f47b9af3956270d8f0a05c951fb19cc4f23a7064476a0a111d39e79183d52e8c6e686d17bf17f76df92e052f81d8940df588fe SHA512 fa2e4c28f8910eb82de42c76f2c00e8b832c023844f1d61aedb5ef3b0fafa7f3f7f26ab535a936d4ad8a42bedb380e71fe6c03f5e1b767afe731d70e080d241e -EBUILD gr-fosphor-0.0_p20210108.ebuild 1879 BLAKE2B e5d5eaa6df573843cddf7e5c51df0f36ad242ec471c90e710410d70d37914792c30b3c2800bc85f03e4fe7c0f90e2fd2561912aa79d94b8acc9c2d284c253c99 SHA512 2bc26e7f5420bfd2be72658696a37478ba18a41ab374507411e7e0c71139c35dfc96f57e3e48c4743249e211b8d172c15b6875861d66308c6726b2d91a084d46 -EBUILD gr-fosphor-9999.ebuild 1894 BLAKE2B 0bdee8df1bd1ae4625586ab6cfbc9244aa7738a4fc1dcf60e0f6408465030ce4d085b720e82d3147aa5565ff2f1638da017eda7a731cc5cb24716055a90a7739 SHA512 0bd5171aebf6bdeba4e08e0bbf3df1f570899c0fb31cdd9e57d53de06986f207e8a5e1a943ea00a4f186cd666baf1d2bad93d35d9f62aa7bd21edc6f542bad87 +EBUILD gr-fosphor-0.0_p20210108-r1.ebuild 1879 BLAKE2B b5446c6aa44e5cc2fbe80a55ec8799b8c39800d360d7edc6976268c3ba921b6d50e36842157143607c82dd4ded24be5a68ef3c72cdfe5f359d4e2ce2f60d66ff SHA512 1f487e11ebc5eb78bd0147f689e0ab34294735f73f9a25c98f33399112b799b7822f6a9760e0efcff75d470c53d0c20a8ef976b3064a9fd1b0e325ee2999c4dd +EBUILD gr-fosphor-9999.ebuild 1894 BLAKE2B 51a76f8399524eb265373f6988ca13647f5906ba67910d74b9f8b38e2932de5b07244ff4dfbbfc507f20f217601a5a3b563565a7f9411dc01c9cd7e604e901c5 SHA512 ecef2090464c0d1493ad4838d6af7701b87b34cc9931ac38382ba0e5fbb2ef623e7ce28ce802b50099272a56daa1c7000826a729940cb22f8ab797efdc3a86c6 MISC metadata.xml 392 BLAKE2B 676db09c61462dd9bfacd384748ec85313a55823d9639964bfbf51a897fb0c616edca8d8ad0c12440b70a8ecc283ca68480594b4f8cc0cd37df09c02c272f80c SHA512 5bb12129a8c9962c954648ad163da3577c9616c52ac923ab6c97e5bbf3c89a938c69ce361e7da964bcb6543d0d5453e86fc69697336a5cbbc2430dafacd80519 diff --git a/net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108-r1.ebuild b/net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108-r1.ebuild new file mode 100644 index 000000000000..f96577d17e9e --- /dev/null +++ b/net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +inherit cmake python-single-r1 + +DESCRIPTION="gnuradio fosphor block (GPU spectrum display)" +HOMEPAGE="https://sdr.osmocom.org/trac/wiki/fosphor" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/osmocom/${PN}.git" +else + COMMIT="974ab2fe54c25e8b6c37aa4de148ba0625eef652" + SRC_URI="https://github.com/osmocom/gr-fosphor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="glfw qt5" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-libs/boost:= + dev-libs/log4cpp + media-libs/freetype + >=net-wireless/gnuradio-3.9:0=[qt5,${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') + glfw? ( >=media-libs/glfw-3 ) + virtual/opencl + virtual/opengl + ${PYTHON_DEPS} + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + )" +DEPEND="${RDEPEND}" +BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')" + +PATCHES=( "${FILESDIR}"/${PN}-0.0_p20200131-htmldir.patch + "${FILESDIR}"/${P}-fix-use.patch ) + +src_prepare() { + cmake_src_prepare + + # adapt python bindings to use flags + use glfw || sed -i -e "s#bind_glfw_sink_c(m)##" \ + "${S}"/python/bindings/python_bindings.cc ||die + use qt5 || sed -i -e "s#bind_qt_sink_c(m)##" \ + "${S}"/python/bindings/python_bindings.cc ||die + + eapply_user +} + +src_configure() { + # tries to run OpenCL test program, but failing doesn't hurt + addpredict /dev/dri + + local mycmakeargs=( + -DENABLE_DEFAULT=OFF + -DENABLE_GLFW="$(usex glfw)" + -DENABLE_QT="$(usex qt5)" + -DENABLE_PYTHON=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + find "${D}" -name '*.py[oc]' -delete || die + python_optimize +} diff --git a/net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108.ebuild b/net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108.ebuild deleted file mode 100644 index 3a6f011748ef..000000000000 --- a/net-analyzer/gr-fosphor/gr-fosphor-0.0_p20210108.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake python-single-r1 - -DESCRIPTION="gnuradio fosphor block (GPU spectrum display)" -HOMEPAGE="https://sdr.osmocom.org/trac/wiki/fosphor" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/osmocom/${PN}.git" -else - COMMIT="974ab2fe54c25e8b6c37aa4de148ba0625eef652" - SRC_URI="https://github.com/osmocom/gr-fosphor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -IUSE="glfw qt5" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - dev-libs/boost:= - dev-libs/log4cpp - media-libs/freetype - >=net-wireless/gnuradio-3.9:0=[qt5,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') - glfw? ( >=media-libs/glfw-3 ) - virtual/opencl - virtual/opengl - ${PYTHON_DEPS} - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtwidgets:5 - )" -DEPEND="${RDEPEND}" -BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')" - -PATCHES=( "${FILESDIR}"/${PN}-0.0_p20200131-htmldir.patch - "${FILESDIR}"/${P}-fix-use.patch ) - -src_prepare() { - cmake_src_prepare - - # adapt python bindings to use flags - use glfw || sed -i -e "s#bind_glfw_sink_c(m)##" \ - "${S}"/python/bindings/python_bindings.cc ||die - use qt5 || sed -i -e "s#bind_qt_sink_c(m)##" \ - "${S}"/python/bindings/python_bindings.cc ||die - - eapply_user -} - -src_configure() { - # tries to run OpenCL test program, but failing doesn't hurt - addpredict /dev/dri - - local mycmakeargs=( - -DENABLE_DEFAULT=OFF - -DENABLE_GLFW="$(usex glfw)" - -DENABLE_QT="$(usex qt5)" - -DENABLE_PYTHON=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - find "${D}" -name '*.py[oc]' -delete || die - python_optimize -} diff --git a/net-analyzer/gr-fosphor/gr-fosphor-9999.ebuild b/net-analyzer/gr-fosphor/gr-fosphor-9999.ebuild index accf82083f3d..add2ec07ba9e 100644 --- a/net-analyzer/gr-fosphor/gr-fosphor-9999.ebuild +++ b/net-analyzer/gr-fosphor/gr-fosphor-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit cmake python-single-r1 -- cgit v1.2.3