summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2015-07-31 01:10:58 +0000
committerRick Farina <zerochaos@gentoo.org>2015-07-31 01:10:58 +0000
commit206ec6adaf6b74a6a6521bce6afa89682934ed01 (patch)
tree1bf208f5c8c2cdcb6d76d38033ed09a0e0647674 /net-wireless
parentAmend previous commit to use :* for the lua dependency. (diff)
downloadgentoo-2-206ec6adaf6b74a6a6521bce6afa89682934ed01.tar.gz
gentoo-2-206ec6adaf6b74a6a6521bce6afa89682934ed01.tar.bz2
gentoo-2-206ec6adaf6b74a6a6521bce6afa89682934ed01.zip
been 18 months since a tag, so I'll make one up
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/rtl-sdr/ChangeLog8
-rw-r--r--net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/net-wireless/rtl-sdr/ChangeLog b/net-wireless/rtl-sdr/ChangeLog
index 04c70b2ee54f..7e73e6d8b389 100644
--- a/net-wireless/rtl-sdr/ChangeLog
+++ b/net-wireless/rtl-sdr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/rtl-sdr
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.11 2015/03/21 20:15:48 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.12 2015/07/31 01:10:58 zerochaos Exp $
+
+*rtl-sdr-0.5.3_p20150730 (31 Jul 2015)
+
+ 31 Jul 2015; Rick Farina <zerochaos@gentoo.org>
+ +rtl-sdr-0.5.3_p20150730.ebuild:
+ been 18 months since a tag, so I'll make one up
*rtl-sdr-0.5.3-r1 (21 Mar 2015)
diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild
new file mode 100644
index 000000000000..8d570758edb1
--- /dev/null
+++ b/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild,v 1.1 2015/07/31 01:10:58 zerochaos Exp $
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
+HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]]; then
+ git-r3_src_unpack
+ else
+ default
+ fi
+}
+
+src_configure() {
+ #the udev rules are 666, we don't want that
+ mycmakeargs=(
+ -DINSTALL_UDEV_RULES=OFF
+ -DDETACH_KERNEL_DRIVER=ON
+ -DLIB_INSTALL_DIR=/usr/$(get_libdir)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ elog "Only users in the usb group can capture."
+ elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login."
+}