summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-04-21 11:54:05 -0400
committerRick Farina <zerochaos@gentoo.org>2020-04-21 11:54:18 -0400
commitcd12f1675fc458854086bf18dd46e5dff8ad68e4 (patch)
tree6fa9b1672db65eca2a89fcc99e9b382fc459ebe5 /net-wireless/rtl_433
parentdev-python/pslab-python: support python3_7 (diff)
downloadgentoo-cd12f1675fc458854086bf18dd46e5dff8ad68e4.tar.gz
gentoo-cd12f1675fc458854086bf18dd46e5dff8ad68e4.tar.bz2
gentoo-cd12f1675fc458854086bf18dd46e5dff8ad68e4.zip
net-wireless/rtl_433: bump
Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/rtl_433')
-rw-r--r--net-wireless/rtl_433/Manifest1
-rw-r--r--net-wireless/rtl_433/rtl_433-20.02_p20200321.ebuild43
-rw-r--r--net-wireless/rtl_433/rtl_433-9999.ebuild9
3 files changed, 50 insertions, 3 deletions
diff --git a/net-wireless/rtl_433/Manifest b/net-wireless/rtl_433/Manifest
index 14b6f03b307b..d131603853a9 100644
--- a/net-wireless/rtl_433/Manifest
+++ b/net-wireless/rtl_433/Manifest
@@ -1 +1,2 @@
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
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}"