public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/hackrf-tools/
Date: Mon, 20 Feb 2017 19:33:50 +0000 (UTC)	[thread overview]
Message-ID: <1487619218.fdaddb86c4cf912b05b75740c6c973d58ffab779.zerochaos@gentoo> (raw)

commit:     fdaddb86c4cf912b05b75740c6c973d58ffab779
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 18:48:47 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 19:33:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdaddb86

net-wireless/hackrf-tools: bump to 2017.02.1 release

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-wireless/hackrf-tools/Manifest                 |  1 +
 .../hackrf-tools/hackrf-tools-2017.02.1.ebuild     | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/net-wireless/hackrf-tools/Manifest b/net-wireless/hackrf-tools/Manifest
index 1f13559990..00788f5051 100644
--- a/net-wireless/hackrf-tools/Manifest
+++ b/net-wireless/hackrf-tools/Manifest
@@ -1 +1,2 @@
 DIST hackrf-2015.07.2.tar.xz 14415212 SHA256 5e3d9c36928b88cdbc0d66ee54e24e8682972dba478abfca0e31069515b870b6 SHA512 a4f7b7800ece9b260d5c8c374f5544aa55cd2e97e10c6a0b33cf476e2ad4811321ffb1308d9dfb2168b2624cd3af616d1c314ad86bcd6f4c3fd0897319fa2cbd WHIRLPOOL 8dfee4fb55be913f44d8ab905fc7c6b1fd703e16b01aa41191e97ab726a3b04d6a78670ae47c2d3bada64e38d42cabcf7f39b646fba55b436cbcab312be1f198
+DIST hackrf-2017.02.1.tar.xz 15409352 SHA256 1dd1fbec98bf2fa56c92f82fd66eb46801a2248c019c4707b3971bc187cb973a SHA512 7cd6ad9aa8fef8afed41c48a3358bff18c6b2a9a112b13daabda87726e0e3ca4cf1e0c0c6ff9689bdd49f854e2e5887a84ccd7975abef43a43b75ecf8a5236ce WHIRLPOOL 96b057560237e554465e1a8ad336f72a53409574612b6449b1e09c8842278c365274f274c118adfca15a17ec69fd20f42d739e658fc06f65024e54ac6657c7f4

diff --git a/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild b/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild
new file mode 100644
index 0000000000..88cfbbf30e
--- /dev/null
+++ b/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="tools for communicating with HackRF SDR platform"
+HOMEPAGE="http://greatscottgadgets.com/hackrf/"
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/mossmann/hackrf.git"
+	inherit git-r3
+	KEYWORDS=""
+	EGIT_CHECKOUT_DIR="${WORKDIR}/hackrf"
+	S="${WORKDIR}/hackrf/host/hackrf-tools"
+else
+	S="${WORKDIR}/hackrf-${PV}/host/hackrf-tools"
+	SRC_URI="https://github.com/mossmann/hackrf/releases/download/v${PV}/hackrf-${PV}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~ppc ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="=net-libs/libhackrf-${PV}:=
+		sci-libs/fftw:3.0="
+RDEPEND="${DEPEND}"
+
+src_install() {
+	cmake-utils_src_install
+	if [[ ${PV} != "9999" ]] ; then
+		insinto /usr/share/hackrf
+		newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb_rom_to_ram.bin" hackrf_jawbreaker_usb_rom_to_ram-${PV}.bin
+		newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb_ram.dfu" hackrf_jawbreaker_usb_ram-${PV}.dfu
+		newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb_rom_to_ram.bin" hackrf_one_usb_rom_to_ram-${PV}.bin
+		newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb_ram.dfu" hackrf_one_usb_ram-${PV}.dfu
+		newins "${WORKDIR}/hackrf-${PV}/firmware/cpld/sgpio_if/default.xsvf" hackrf_cpld_default-${PV}.xsvf
+		ln -s hackrf_one_usb_rom_to_ram-${PV}.bin "${ED}/usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin"
+		ln -s hackrf_one_usb_ram-${PV}.dfu "${ED}/usr/share/hackrf/hackrf_one_usb_ram.dfu"
+	else
+		ewarn "The compiled firmware files are only available in the versioned releases, you are on your own for this."
+	fi
+}


             reply	other threads:[~2017-02-20 19:33 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 19:33 Richard Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-07  8:13 [gentoo-commits] repo/gentoo:master commit in: net-wireless/hackrf-tools/ Sam James
2025-08-07  8:13 Sam James
2025-08-05 19:14 Sam James
2025-07-02  7:13 Thomas Beierlein
2024-02-23 19:18 Rick Farina
2023-08-23 20:05 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-23 17:15 Rick Farina
2023-08-23 17:15 Rick Farina
2023-02-01 22:12 Rick Farina
2022-12-26  8:43 Andreas Sturmlechner
2022-09-29 13:57 Rick Farina
2021-10-26 17:48 Rick Farina
2021-03-30 20:26 Rick Farina
2021-03-30 20:26 Rick Farina
2021-03-24 14:40 Rick Farina
2020-08-14 18:31 Rick Farina
2019-09-23 16:20 Rick Farina
2019-09-23 16:20 Rick Farina
2018-06-06  8:13 Andreas Sturmlechner
2018-06-05 17:27 Richard Farina
2018-03-29 22:18 Chris Reffett
2017-10-04  9:15 Michał Górny
2017-02-20 19:33 Richard Farina
2017-01-24 15:34 Richard Farina
2015-08-30 14:17 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487619218.fdaddb86c4cf912b05b75740c6c973d58ffab779.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox