summaryrefslogtreecommitdiff
path: root/sys-apps/rtl-entropy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /sys-apps/rtl-entropy
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'sys-apps/rtl-entropy')
-rw-r--r--sys-apps/rtl-entropy/Manifest2
-rw-r--r--sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild30
2 files changed, 17 insertions, 15 deletions
diff --git a/sys-apps/rtl-entropy/Manifest b/sys-apps/rtl-entropy/Manifest
index 9d34551a6ab2..8203c1a28f3c 100644
--- a/sys-apps/rtl-entropy/Manifest
+++ b/sys-apps/rtl-entropy/Manifest
@@ -1,3 +1,3 @@
DIST rtl-entropy-0.1.2_p20180118.tar.gz 57495 BLAKE2B f4f1fcaf296594263c70e3221fedd35876d34f4a740332bc95fc3407393db05072507a83cebe5561bfc514d02f2a69f948a09c2e0176acae0a4d262cf478e165 SHA512 b09ccac5594d067c36e44683b1f67dde1255a4ea4e10bbd6b8cdff940158c9bdcf9aa1938a3ecead5a1c254fb641571c2ad6efb04933f9dba08a2f628f3e0ef8
-EBUILD rtl-entropy-0.1.2_p20180118-r1.ebuild 957 BLAKE2B daba93bf5d5b324fb811f6bbcc943a1e220a26a128278452ab09dac95f76d5d1c326e74af3febe5203d4f3e3a30edded83a1118906dfbd614cc2c6caa49f58a3 SHA512 52477968d11cbabf6f407de9baaffb04a21e13bdd24001a2a18c9e6fa8006c602944d17d48c5acc63d580740d6955587a2a5ff9e23be3f7003079a2135a1f248
+EBUILD rtl-entropy-0.1.2_p20180118-r1.ebuild 870 BLAKE2B 3b327f2bd8f1ec293c971bd7441148d7f1bb3949954b8a9434801390912abb737292e853d283a12d41aa9a10c47dd846cb41ae4fb49be016dd8eb09434ffa802 SHA512 92a50a7b0a63f57fc44c6aad88c1614322b84f3820a0d4f7dcd8331b6e6ed22b7d2d4b4fb1e93331ff95efc5a6065246752245a10ac2ebd6cdf0936c1b440e0e
MISC metadata.xml 395 BLAKE2B e41c875a5b367e9ae1859073f681c08eee2832beaad60b445c019205d8dd4ce91d085c28b2a17e1b2693fe02252ac28ffd091b13a10eb1963bc9edf62a4f9a50 SHA512 f0c81eff4127887b150efd20cc0d94d58d17c666518a8025d809aceb6c41e2a7dd802adda16a1c131531e44895ff08a94cfeb39ee55d3e5adf910f9c6beb0d6f
diff --git a/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild b/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild
index 8b430e3b66ea..af725fddf5f8 100644
--- a/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild
+++ b/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils
+COMMIT="9f1768c35f6205a73a657cfc9ac7bd9f9a40936c"
+
DESCRIPTION="An entropy generator using SDR peripherals, including rtl-sdr and BladeRF"
HOMEPAGE="http://rtl-entropy.org/"
-COMMIT="9f1768c35f6205a73a657cfc9ac7bd9f9a40936c"
SRC_URI="https://github.com/pwarren/rtl-entropy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-3+"
SLOT="0"
@@ -17,19 +17,21 @@ KEYWORDS="~amd64 ~x86"
#sadly, rtlsdr support doesn't appear to be optional
IUSE="bladerf"
-RDEPEND="sys-libs/libcap
- dev-libs/openssl:0=
- bladerf? ( net-wireless/bladerf:= )
- net-wireless/rtl-sdr"
+RDEPEND="
+ dev-libs/openssl:0=
+ net-wireless/rtl-sdr
+ sys-libs/libcap
+ bladerf? ( net-wireless/bladerf:= )"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
src_prepare() {
+ cmake-utils_src_prepare
+
if ! use bladerf; then
- sed -i 's#libbladeRF.h#libbladeRF-totallynotreal.h#' cmake/Modules/FindLibbladeRF.cmake
+ sed -i 's#libbladeRF.h#libbladeRF-totallynotreal.h#' \
+ cmake/Modules/FindLibbladeRF.cmake || die
fi
- #if ! use rtlsdr; then
- # sed -i 's#rtl-sdr.h#rtl-sdr-totallynotreal.h#' cmake/Modules/FindLibRTLSDR.cmake
- #fi
- default
}