net-wireless/rtl_433: bump
authorRick Farina <zerochaos@gentoo.org>
Tue, 21 Apr 2020 15:54:05 +0000 (11:54 -0400)
committerRick Farina <zerochaos@gentoo.org>
Tue, 21 Apr 2020 15:54:18 +0000 (11:54 -0400)
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
net-wireless/rtl_433/Manifest
net-wireless/rtl_433/rtl_433-20.02_p20200321.ebuild [new file with mode: 0644]
net-wireless/rtl_433/rtl_433-9999.ebuild

index 14b6f03b307b0120db31a36f47c9e8fd18270190..d131603853a90f80f80db0a34b515cb5c923b9a9 100644 (file)
@@ -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 (file)
index 0000000..eb316ba
--- /dev/null
@@ -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
+}
index b952620e854ebb2eb9fb11433deaa2ba2a05528a..eb316baa16a1a8abd3af0de45219b96b2ec6ccd8 100644 (file)
@@ -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}"