1 |
commit: cb8523410bb6786ddf6c8fe933da23d8888d4aca |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 12:15:41 2022 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 12:16:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb852341 |
7 |
|
8 |
net-wireless/gr-paint: add 0.0_p20220320 |
9 |
|
10 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
11 |
|
12 |
net-wireless/gr-paint/Manifest | 1 + |
13 |
.../gr-paint/gr-paint-0.0_p20220320.ebuild | 62 ++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/net-wireless/gr-paint/Manifest b/net-wireless/gr-paint/Manifest |
17 |
index d99d756e1194..df99fab8f292 100644 |
18 |
--- a/net-wireless/gr-paint/Manifest |
19 |
+++ b/net-wireless/gr-paint/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gr-paint-0.0_p20200517.tar.gz 1588114 BLAKE2B dffae6fdd6832ef7a39911b5f20d385e1691021e49659c36244c4aa1086fa74f4f59aceb4f208a24dd76854455183644c8f7db7e6ed0600664dc02f08e6682c5 SHA512 00b508b08baafd02e69197028a6408da81f5d1bf3dfe6d3229f248d60503ccec48f3fa0491bb785ed1ece40ea90d34544bc3b62e4506459488d56540b9d519c2 |
22 |
+DIST gr-paint-0.0_p20220320.tar.gz 2089721 BLAKE2B 50327bd2349177029e1c2fc3a7b3fe6df929487c456a6ae90f1233df7f8db02721bd0233e496cf4a00a9fa2164db705d995b1c2ec25e0a516a0672a6c2b5178d SHA512 b017fa41d8797182d752ad12bfe7511282d33bdfd87ea92dc86f6f01bbe5411759ed6bbfb0adb69368881fa231ee38e4c1eab47aebccdd64bd274f1f55ccac14 |
23 |
|
24 |
diff --git a/net-wireless/gr-paint/gr-paint-0.0_p20220320.ebuild b/net-wireless/gr-paint/gr-paint-0.0_p20220320.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..5f661be66d2c |
27 |
--- /dev/null |
28 |
+++ b/net-wireless/gr-paint/gr-paint-0.0_p20220320.ebuild |
29 |
@@ -0,0 +1,62 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8,9,10} ) |
36 |
+ |
37 |
+if [[ ${PV} == 9999* ]]; then |
38 |
+ inherit git-r3 |
39 |
+ EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git" |
40 |
+else |
41 |
+ COMMIT="6cf1568eb9e32c25bf6414ad45f75048a5a2b74c" |
42 |
+ SRC_URI="https://github.com/drmpeg/gr-paint/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
43 |
+ S="${WORKDIR}/${PN}-${COMMIT}" |
44 |
+ KEYWORDS="~amd64" |
45 |
+fi |
46 |
+inherit cmake python-single-r1 |
47 |
+ |
48 |
+DESCRIPTION="Paints monochrome images into the waterfall of a receiver" |
49 |
+HOMEPAGE="https://github.com/drmpeg/gr-paint" |
50 |
+ |
51 |
+LICENSE="GPL-3+" |
52 |
+SLOT="0" |
53 |
+IUSE="doc" |
54 |
+ |
55 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
56 |
+#< drmpeg> What tests? |
57 |
+RESTRICT="test" |
58 |
+ |
59 |
+DEPEND="${PYTHON_DEPS} |
60 |
+ $(python_gen_cond_dep ' |
61 |
+ dev-libs/boost:=[${PYTHON_USEDEP}] |
62 |
+ ') |
63 |
+ dev-libs/gmp |
64 |
+ sci-libs/volk:= |
65 |
+ sci-libs/fftw |
66 |
+ >=net-wireless/gnuradio-3.9:=[${PYTHON_SINGLE_USEDEP}] |
67 |
+ $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') |
68 |
+" |
69 |
+ |
70 |
+RDEPEND="${DEPEND}" |
71 |
+ |
72 |
+BDEPEND=" |
73 |
+ $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') |
74 |
+ virtual/pkgconfig |
75 |
+ doc? ( app-doc/doxygen ) |
76 |
+" |
77 |
+ |
78 |
+src_configure() { |
79 |
+ local mycmakeargs=( |
80 |
+ -DENABLE_DOXYGEN=$(usex doc) |
81 |
+ -DPYTHON_EXECUTABLE="${PYTHON}" |
82 |
+ ) |
83 |
+ cmake_src_configure |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ cmake_src_install |
88 |
+ find "${D}" -name '*.py[oc]' -delete || die |
89 |
+ python_optimize |
90 |
+ mv "${ED}/usr/share/doc/gr-paint" "${ED}/usr/share/doc/${P}" |
91 |
+} |