summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/rtl-sdr')
-rw-r--r--net-wireless/rtl-sdr/ChangeLog10
-rw-r--r--net-wireless/rtl-sdr/rtl-sdr-0.5.3.ebuild51
-rw-r--r--net-wireless/rtl-sdr/rtl-sdr-9999.ebuild11
3 files changed, 64 insertions, 8 deletions
diff --git a/net-wireless/rtl-sdr/ChangeLog b/net-wireless/rtl-sdr/ChangeLog
index 5c86525a9adc..c948e13a6f54 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.8 2013/06/28 22:13:36 zerochaos Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.9 2014/07/06 21:22:19 zerochaos Exp $
+
+*rtl-sdr-0.5.3 (06 Jul 2014)
+
+ 06 Jul 2014; Rick Farina <zerochaos@gentoo.org> +rtl-sdr-0.5.3.ebuild,
+ rtl-sdr-9999.ebuild:
+ version bump
28 Jun 2013; Rick Farina <zerochaos@gentoo.org> -rtl-sdr-0.5.0-r1.ebuild,
-rtl-sdr-0_pre20130414.ebuild, rtl-sdr-0.5.0.ebuild, rtl-sdr-9999.ebuild:
diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.5.3.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.5.3.ebuild
new file mode 100644
index 000000000000..ee8513466972
--- /dev/null
+++ b/net-wireless/rtl-sdr/rtl-sdr-0.5.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 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.ebuild,v 1.1 2014/07/06 21:22:19 zerochaos Exp $
+
+EAPI=5
+
+inherit autotools
+
+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=""
+
+RDEPEND="virtual/libusb:1"
+DEPEND="${RDEPEND}"
+
+DOCS=( ${PN}.rules )
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]]; then
+ git-r3_src_unpack
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+pkg_postinst() {
+ local rulesfiles=( "${EPREFIX}"/etc/udev/rules.d/*${PN}.rules )
+ if [[ ! -f ${rulesfiles} ]]; then
+ elog "By default, only users in the usb group can capture."
+ elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login."
+ elog "Or the device can be WORLD readable and writable by installing ${PN}.rules"
+ elog "from the documentation directory to ${EPREFIX}/etc/udev/rules.d/"
+ fi
+}
diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
index ae0168cd0dca..c5c7a5fae87d 100644
--- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
+++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.6 2013/06/28 22:13:36 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.7 2014/07/06 21:22:19 zerochaos Exp $
EAPI=5
@@ -10,12 +10,12 @@ 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-2
+ inherit git-r3
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
KEYWORDS=""
else
- SRC_URI="mirror://gentoo/${P}.tar.xz"
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~x86"
fi
@@ -30,10 +30,9 @@ DOCS=( ${PN}.rules )
src_unpack() {
if [[ ${PV} == 9999* ]]; then
- git-2_src_unpack
+ git-r3_src_unpack
else
default
- mv ${PN} ${P} || die
fi
}