commit:     a134a5591319664c4b4baf931c2d47c01918ec94
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 26 01:55:57 2025 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Aug 26 01:56:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a134a559

net-wireless/gr-paint: add 0.0_p20250824

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/gr-paint/Manifest                     |  1 +
 .../gr-paint/gr-paint-0.0_p20250824.ebuild         | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/net-wireless/gr-paint/Manifest b/net-wireless/gr-paint/Manifest
index fbb4636fd5a8..e3e9e30a9e63 100644
--- a/net-wireless/gr-paint/Manifest
+++ b/net-wireless/gr-paint/Manifest
@@ -1 +1,2 @@
 DIST gr-paint-0.0_p20230427.tar.gz 2094691 BLAKE2B 
1dfa5fce3d24911dd9802bd322d4e9916a13066e69e5a0b57201f679a4b9bb985d7ee570e1d3881ecced257927ceb9a3b3845bd60422f407a753482dd35bf0a3
 SHA512 
7be52c524cdfde8a9620102c9b8cbdd813443c7bd9db1466ec3b73c588bb685fdd917fd2d8c602237b1b0450922d8a058ba9d2d507194a7b1ed4efe0c8f0a5f5
+DIST gr-paint-0.0_p20250824.tar.gz 2095255 BLAKE2B 
a85a5909d664f0803e640502dbe08980fb6b8252f2b1e3abe3453903f56627cc85c549899c41443d1ab32c302907ebc3389a5dd616d7a98ba42110b57968c9eb
 SHA512 
9ac34d9a29c9032b1b490347d5fe626a77d3c746201c0a62f13cf8fbf55b0548f0796d952832d81f2a4298f8bbf9217a3c66fdeca27418771ed03efd43497bf9

diff --git a/net-wireless/gr-paint/gr-paint-0.0_p20250824.ebuild 
b/net-wireless/gr-paint/gr-paint-0.0_p20250824.ebuild
new file mode 100644
index 000000000000..a7709af51605
--- /dev/null
+++ b/net-wireless/gr-paint/gr-paint-0.0_p20250824.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} )
+
+if [[ ${PV} == 9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git";
+else
+       COMMIT="c443e36e8ab22ea7819db28df7b69378027dd5b5"
+       SRC_URI="https://github.com/drmpeg/gr-paint/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+       S="${WORKDIR}/${PN}-${COMMIT}"
+       KEYWORDS="~amd64"
+fi
+inherit cmake python-single-r1
+
+DESCRIPTION="Paints monochrome images into the waterfall of a receiver"
+HOMEPAGE="https://github.com/drmpeg/gr-paint";
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="doc"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+#< drmpeg> What tests?
+RESTRICT="test"
+
+DEPEND="${PYTHON_DEPS}
+       $(python_gen_cond_dep '
+               dev-libs/boost:=[python,${PYTHON_USEDEP}]
+       ')
+       dev-libs/gmp
+       dev-libs/spdlog:=
+       sci-libs/volk:=
+       sci-libs/fftw
+       >=net-wireless/gnuradio-3.9:=[${PYTHON_SINGLE_USEDEP}]
+       $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]')
+"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+       $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
+       virtual/pkgconfig
+       doc? ( app-text/doxygen )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_DOXYGEN=$(usex doc)
+               -DPYTHON_EXECUTABLE="${PYTHON}"
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+       find "${D}" -name '*.py[oc]' -delete || die
+       python_optimize
+       mv "${ED}/usr/share/doc/gr-paint" "${ED}/usr/share/doc/${P}"
+}

Reply via email to