diff options
Diffstat (limited to 'net-wireless/rtl_433')
-rw-r--r-- | net-wireless/rtl_433/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/rtl_433/rtl_433-22.11.ebuild | 48 | ||||
-rw-r--r-- | net-wireless/rtl_433/rtl_433-9999.ebuild | 11 |
3 files changed, 59 insertions, 4 deletions
diff --git a/net-wireless/rtl_433/Manifest b/net-wireless/rtl_433/Manifest index d39d4b2c68f2..2f892aac0768 100644 --- a/net-wireless/rtl_433/Manifest +++ b/net-wireless/rtl_433/Manifest @@ -1,6 +1,8 @@ AUX rtl_433-21.12-CVE.patch 2373 BLAKE2B 3856b4ca58eadf32cfc023e7544ad98133a49f358474a60d5e44d9551d0ae3ddc8d5acbba53a350d4bd06719f495fcd3e2e8e35223330ad60f4a4bbc6c6126fd SHA512 26e1fff504c3fa52dc13ccaeb9d5865829fb462363b4a042f6245fdce843aa0f8517463fd05b305a550e298859d56e3a8045937b5de3719d543260f2ea0a8c48 AUX rtl_433-21.12-test-visibility.patch 6747 BLAKE2B 4f03eb9df44e6a789437190c8c09d63c0f51a5345efea14765314af68c704908d30764d26c0f43b1bfc4145b1f224b6ac5b1476d04c85b217c502e0714b7f0bb SHA512 ba7a3f2d8b4fd057c595ca62c01be53bed37f6c408314f06e02d634ef1e6f465920127622f8ae3c94cbefbc677c25ba69873b0f12229ae48ec7caf37933b166a DIST rtl_433-21.12.tar.gz 954628 BLAKE2B 7622cba1ff8d9ed46bcd9d7298b2278437aba3dca65985f27d44d20d3b79082cff04172d4593af07379928d42d5e422ff2857ada427156b16f1ba24a7bca57ed SHA512 8183887c1e09e94bee10b70190555d7fa0fa6675bba6130f78ab111b77428fef90696bc15a8e5abb07ae5ae3e492641a40acd6087d5bc413db5f2944878f03a3 +DIST rtl_433-22.11.tar.gz 841774 BLAKE2B 4a3c060c85233a85e951eff5fb210cc4ec5529a6cc868782fdbf7b3dad7372dcd7d428776c539d25105b9cfdf5f260bc031bbd5435eb2658e73b8b275f2040ee SHA512 fe0a26b14df97c679968536b5b3dfe41e5f8c6e0af00265461b4e1bf6312dd71cc1b1ccf2f5f78bc4d67b5f2effb17a88b743dc38db4a0a73f9f5b756868dba4 EBUILD rtl_433-21.12.ebuild 991 BLAKE2B 4cf297606caeab8087d247bca4788737992a3e5b60630b98c2341cc1c2bbcbdfa62cbf0c948a860f0a9ae7eec35c7927bf08643e85769fe14662efa0c8777155 SHA512 caf50368acfbc92c1fb13c1711ae2bcc18b937f4d3d51e0f420b2920694f06344654947bdfef9834ed2f12227b313e4be51d184d509daaad7cb7cfb6b3680879 -EBUILD rtl_433-9999.ebuild 1077 BLAKE2B 7afda00ba6855eac323bb9166e601ed07777a6d681eda0bdf8dc96b6198984c723af4728be67a85dc7caee39c33640eeb4708e763e09afbb7698e8ac0b141d72 SHA512 900591a669ca2a892a2981a0f2857cd2fd267805058a651d533589f1b294e19ffb302405cc0d9603ccc4090f3273278ebf0ec6a3e28a980fba8187574efe15af +EBUILD rtl_433-22.11.ebuild 1165 BLAKE2B 85dd4dac9bd2134eb4ccb04b3d33eb068ce00e958395289c4c35669109759bfaaeedb8f03342433cf40a84ea4fed5bcc9d42fd18145250fdc0e9bf5c95029d0d SHA512 23a761e4dc62616fed87b7494bfa6089f3b354b965fc3650b7d0ed02f4fc3ed65c5cfbb8365a52e7e5d58c31c3ea4a3ca40e7d2c547a25c99e36f3706f8c218d +EBUILD rtl_433-9999.ebuild 1185 BLAKE2B 8895da7293723584306e4a71e15db3fba4bd24535dc3a83d5aaf645d450b3945b3555058f232443cbfe01213e5a0101f3005774cd68e61407291a5380b4c6afc SHA512 af7b690383db76c2c261adf821b0d67c6d6357b0a88ff0a394de40eb858f9d0cc214fb9958c262fa436dd4b0b50f6c51570dce2b26cb9c43777424c44a8382df MISC metadata.xml 484 BLAKE2B 2cdc645038b7fbc5b1af469b4c2d36e9e36b4cb463f17cdb7d6df6cba5ae4f6672396c6fce29e4ba71529a5ffc72c781f1873a7898e81eae466c075010545c8a SHA512 2258949f4ace0afb3a3b4e44222e02919d7bcb5dc376bc4052b834fbe09dc9f6319479e61c80db66c7465de9c32a635de3d68edb19b9f7cedababf00950be76b diff --git a/net-wireless/rtl_433/rtl_433-22.11.ebuild b/net-wireless/rtl_433/rtl_433-22.11.ebuild new file mode 100644 index 000000000000..7c0afbe1dac1 --- /dev/null +++ b/net-wireless/rtl_433/rtl_433-22.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Decode OOK modulated signals" +HOMEPAGE="https://github.com/merbanan/rtl_433" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/merbanan/rtl_433" +else + COMMIT="105342a33271bac6837d06aa86c23eec9e9ecb6a" + SRC_URI="https://github.com/merbanan/rtl_433/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + #SRC_URI="https://github.com/merbanan/rtl_433/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+rtlsdr soapysdr test" + +DEPEND="rtlsdr? ( net-wireless/rtl-sdr:= + virtual/libusb:1 ) + soapysdr? ( net-wireless/soapysdr:= )" +RDEPEND="${DEPEND}" +RESTRICT="!test? ( test )" + +src_prepare() { + sed -i 's#data data.c#data STATIC data.c#' src/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_RTLSDR="$(usex rtlsdr)" + -DENABLE_SOAPYSDR="$(usex soapysdr)" + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + mv "${ED}/usr/etc" "${ED}/" || die +} diff --git a/net-wireless/rtl_433/rtl_433-9999.ebuild b/net-wireless/rtl_433/rtl_433-9999.ebuild index 6ccdde0e72e7..db11fc2febca 100644 --- a/net-wireless/rtl_433/rtl_433-9999.ebuild +++ b/net-wireless/rtl_433/rtl_433-9999.ebuild @@ -22,13 +22,18 @@ LICENSE="GPL-2" SLOT="0" IUSE="+rtlsdr soapysdr test" -DEPEND="rtlsdr? ( net-wireless/rtl-sdr:= +DEPEND="dev-libs/openssl:= + rtlsdr? ( net-wireless/rtl-sdr:= virtual/libusb:1 ) - soapysdr? ( net-wireless/soapysdr:= ) - dev-libs/openssl:=" + soapysdr? ( net-wireless/soapysdr:= )" RDEPEND="${DEPEND}" RESTRICT="!test? ( test )" +src_prepare() { + sed -i 's#data data.c#data STATIC data.c#' src/CMakeLists.txt || die + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DENABLE_RTLSDR="$(usex rtlsdr)" |