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-20.02_p20200321.ebuild | 43 | ||||
-rw-r--r-- | net-wireless/rtl_433/rtl_433-9999.ebuild | 9 |
3 files changed, 52 insertions, 4 deletions
diff --git a/net-wireless/rtl_433/Manifest b/net-wireless/rtl_433/Manifest index 351c9764d135..e8383560f248 100644 --- a/net-wireless/rtl_433/Manifest +++ b/net-wireless/rtl_433/Manifest @@ -1,4 +1,6 @@ DIST rtl_433-0.1_p20190709.tar.gz 718424 BLAKE2B f7acd89013114c7d357edfc4610be8a7405feac11843dcb1bc7fefe81556a3b09ee26622dd58d68afb3d99840db8e997dbbc66cccda53a34964b32bac352462c SHA512 d36757a567c7696b150b03a1e09fda74f7a4ec454bc1b5658e4a6b22370de5c102a152257d436c87f0ddff325c17b0e9b8afbae0dc3e82ab04111d78a728a590 +DIST rtl_433-20.02_p20200321.tar.gz 800575 BLAKE2B a53fd0a7b3c5d64de235dd78ccff17de2a1c24a270d8bff76ff430b415f9c74b06edb51150c6ba42b3594fdb958702c1ab59a922f837c1161b60fb90a202c026 SHA512 f080cacc7a739716f6ea6cd3ac29b03aad8a20225f09d6052df8ba4fe1b7b2ed8080c27b86901aa245e3145139a24b4831b90c727b6a3fa2db2e14607320733f EBUILD rtl_433-0.1_p20190709-r1.ebuild 902 BLAKE2B 56650cbafb488b7b7ac4a40773d5c1218f4b059bea5fb7919d353f851335ab8d3289bed08b3566251fa6255c658236e4e909d5c547b4250564d3a11021d2d4cc SHA512 17630501c94699ac49fe62e80dc5a5167ea3fcf86e9f01220614ad16c0f8eb9fc7b5f0013f16f81e6114e76d76a5979df4986d3a528290d409fccec404e2c959 -EBUILD rtl_433-9999.ebuild 902 BLAKE2B 56650cbafb488b7b7ac4a40773d5c1218f4b059bea5fb7919d353f851335ab8d3289bed08b3566251fa6255c658236e4e909d5c547b4250564d3a11021d2d4cc SHA512 17630501c94699ac49fe62e80dc5a5167ea3fcf86e9f01220614ad16c0f8eb9fc7b5f0013f16f81e6114e76d76a5979df4986d3a528290d409fccec404e2c959 +EBUILD rtl_433-20.02_p20200321.ebuild 1052 BLAKE2B 8655ec47b30ad8f572e6d9d74204d97ad8f3ccd6426892e67344d8661062d16b711fb2e72b3f54ce859789912d5c57d0f95a4af0c8c23f1cf2f714061505e84e SHA512 4f7a56917b0b4a270c7cdd969e17705dc9de38fe0fa995738f4d5646f7942a6761b547356ab4c07edb35ad36d9f47e748d533701929332a1f443fc4b928f24de +EBUILD rtl_433-9999.ebuild 1052 BLAKE2B 8655ec47b30ad8f572e6d9d74204d97ad8f3ccd6426892e67344d8661062d16b711fb2e72b3f54ce859789912d5c57d0f95a4af0c8c23f1cf2f714061505e84e SHA512 4f7a56917b0b4a270c7cdd969e17705dc9de38fe0fa995738f4d5646f7942a6761b547356ab4c07edb35ad36d9f47e748d533701929332a1f443fc4b928f24de MISC metadata.xml 480 BLAKE2B 981c663d0bf6138305e869fa5c2c2486a92fae661a5f8700241350db57ad9da12a6d271a36603f895cff902d726243ffa647fada5cb1d02358eff5fee24b14a9 SHA512 23de623b5ecaaaa8bdca0a1b9e73194f26b039cfc547e64afcef865f2a52c40553a5560f420b9c4db6c32e858c6c3d48dc66248743916ebed83744eda7b072dd diff --git a/net-wireless/rtl_433/rtl_433-20.02_p20200321.ebuild b/net-wireless/rtl_433/rtl_433-20.02_p20200321.ebuild new file mode 100644 index 000000000000..eb316baa16a1 --- /dev/null +++ b/net-wireless/rtl_433/rtl_433-20.02_p20200321.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +#this doesn't work in eapi 7, even with emake +EAPI=6 + +inherit cmake-utils + +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" + KEYWORDS="" +else + COMMIT="f8d9a01e68a6578289cda0dae383942c4779a4b5" + 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 soapy" + +DEPEND="rtlsdr? ( net-wireless/rtl-sdr:= + virtual/libusb:1 ) + soapy? ( net-wireless/soapysdr:= )" +RDEPEND="${DEPEND}" + +src_configure() { + mycmakeargs=( + -DENABLE_RTLSDR="$(usex rtlsdr)" + -DENABLE_SOAPYSDR="$(usex soapy)" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_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 b952620e854e..eb316baa16a1 100644 --- a/net-wireless/rtl_433/rtl_433-9999.ebuild +++ b/net-wireless/rtl_433/rtl_433-9999.ebuild @@ -1,6 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +#this doesn't work in eapi 7, even with emake EAPI=6 inherit cmake-utils @@ -12,9 +13,10 @@ if [[ $PV == "9999" ]]; then EGIT_REPO_URI="https://github.com/merbanan/rtl_433" KEYWORDS="" else - COMMIT="496f82b54b8957dbdd1bb60a080aeccfd31da73e" + COMMIT="f8d9a01e68a6578289cda0dae383942c4779a4b5" 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 @@ -22,7 +24,8 @@ LICENSE="GPL-2" SLOT="0" IUSE="+rtlsdr soapy" -DEPEND="rtlsdr? ( net-wireless/rtl-sdr:= ) +DEPEND="rtlsdr? ( net-wireless/rtl-sdr:= + virtual/libusb:1 ) soapy? ( net-wireless/soapysdr:= )" RDEPEND="${DEPEND}" |