diff --git a/net-wireless/fosphor_knob/Manifest b/net-wireless/fosphor_knob/Manifest index 459b478b7..2d202f533 100644 --- a/net-wireless/fosphor_knob/Manifest +++ b/net-wireless/fosphor_knob/Manifest @@ -1,2 +1 @@ -DIST fosphor_knob-0.11.tar.xz 177948 BLAKE2B ce9e5002ddf1a83bbb7e4d7841c2bd5368c27399deb3ffa90e2c736b4a33a7c90e621b7d7522a2e46872492d3f540215d20c09469ebfe67c296658e63b13aeeb SHA512 7e7c9867ade06635f7b11a0d6ea6c9d39d417b9e687fede15c2917a33e95f498bbe1ef9d049a56a5af9a56fbb4436e44f4ec24b185c843c28a2b8146fea7198c -DIST fosphor_knob-0.12.tar.xz 433736 BLAKE2B daf199bd3fa76c602b86b2f72bf29a6c547e2377b1b218e43d52d24fc647d2a412e0e68b1e4a30d176f136b81f684b6756ac1cf457fb8b4de4004e64200cae57 SHA512 a57e3eb55fe9ca0fca6d4e469ee5baaafca2ac6acd040aa813179e72e2f19fde11d31df8dd47a84bb40efe30dfe287f4cdddf1161b01dc3b17d33c6a423be437 +DIST fosphor_knob-0.13.gh.tar.gz 993394 BLAKE2B ca87bf76a11feb79c472d16a47ab32243757bea7d91b167c7bd1bb33f6eb5d6916a0afeae16ddcfae72acd1fd1beaa53170a124503336c10958395ba7f27905a SHA512 9725b58b1fbcaad8c96baeacb2223494050d15b09f467d458d5f62666d9b412a6ed6e2a10897094bb5106fb9e2527e1524528b3638dd041e3f5cdc095015fdbd diff --git a/net-wireless/fosphor_knob/fosphor_knob-0.12.ebuild b/net-wireless/fosphor_knob/fosphor_knob-0.12.ebuild deleted file mode 100644 index c36aed0e3..000000000 --- a/net-wireless/fosphor_knob/fosphor_knob-0.12.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A visualization we use for the RF Village" -HOMEPAGE="http://rfhackers.com" -SRC_URI="https://pentoo.org/~zero/distfiles/${P}.tar.xz" - -#powermate.py is Apache 2, the rest is BSD -LICENSE="BSD Apache-2.0" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND="net-wireless/gnuradio:= - net-wireless/gr-paint" -RDEPEND="${DEPEND} - net-wireless/uhd:= - net-analyzer/gr-fosphor - x11-misc/wmctrl" -BDEPEND="" - -#powermate.py from https://github.com/bethebunny/powermate - -src_compile() { - grcc -o "${S}" fosphor_with_griffin_powermate_knob.grc || die - grcc -o "${S}" fosphor_with_griffin_powermate_knob_sponsors.grc || die - grcc -o "${S}" fosphor_with_griffin_powermate_knob_hackrf_sweep.grc || die - grcc -o "${S}" fosphor_with_griffin_powermate_knob_hackrf_sweep_sponsors.grc || die -} - -src_install() { - insinto /usr/share/${PN} - doins *.py *.grc - doins scrolly.png - fperms +x /usr/share/${PN}/run.py - fperms +x /usr/share/${PN}/fosphor_knob.py - fperms +x /usr/share/${PN}/fosphor_knob_sponsors.py - fperms +x /usr/share/${PN}/fosphor_knob_hackrf_sweep.py - fperms +x /usr/share/${PN}/fosphor_knob_hackrf_sweep_sponsors.py - newbin fosphor_knob.sh fosphor_knob - dosym fosphor_knob /usr/bin/fosphor_knob_sponsors - dosym fosphor_knob /usr/bin/fosphor_knob_hackrf_sweep - dosym fosphor_knob /usr/bin/fosphor_knob_hackrf_sweep_sponsors -} diff --git a/net-wireless/fosphor_knob/fosphor_knob-0.13.ebuild b/net-wireless/fosphor_knob/fosphor_knob-0.13.ebuild new file mode 120000 index 000000000..ae23f3ece --- /dev/null +++ b/net-wireless/fosphor_knob/fosphor_knob-0.13.ebuild @@ -0,0 +1 @@ +fosphor_knob-9999.ebuild \ No newline at end of file diff --git a/net-wireless/fosphor_knob/fosphor_knob-0.11-r1.ebuild b/net-wireless/fosphor_knob/fosphor_knob-9999.ebuild similarity index 71% rename from net-wireless/fosphor_knob/fosphor_knob-0.11-r1.ebuild rename to net-wireless/fosphor_knob/fosphor_knob-9999.ebuild index c01c8d686..abbc9f1d5 100644 --- a/net-wireless/fosphor_knob/fosphor_knob-0.11-r1.ebuild +++ b/net-wireless/fosphor_knob/fosphor_knob-9999.ebuild @@ -1,17 +1,23 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="A visualization we use for the RF Village" HOMEPAGE="http://rfhackers.com" -SRC_URI="https://dev.pentoo.ch/~zero/distfiles/${P}.tar.xz" -#powermate.py is Apache 2, the rest is BSD -LICENSE="BSD Apache-2.0" +if [[ "${PV}" == *9999 ]]; then + EGIT_REPO_URI="https://github.com/rfhs/fosphor_knob.git" + inherit git-r3 + RESTRICT="strip" +else + SRC_URI="https://github.com/rfhs/fosphor_knob/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +#powermate.py is Apache 2, the rest is GPL-3 +LICENSE="GPL-3 Apache-2.0" SLOT="0" -KEYWORDS="amd64" -IUSE="" DEPEND="net-wireless/gnuradio:= net-wireless/gr-paint" @@ -19,7 +25,8 @@ RDEPEND="${DEPEND} net-wireless/uhd:= net-analyzer/gr-fosphor x11-misc/wmctrl" -BDEPEND="" + +IUSE="rsa" #powermate.py from https://github.com/bethebunny/powermate @@ -33,7 +40,11 @@ src_compile() { src_install() { insinto /usr/share/${PN} doins *.py *.grc - doins scrolly.png + if use rsa; then + newins rsa_scrolly.png scrolly.png + else + newins scrolly2022-2024.png scrolly.png + fi fperms +x /usr/share/${PN}/run.py fperms +x /usr/share/${PN}/fosphor_knob.py fperms +x /usr/share/${PN}/fosphor_knob_sponsors.py