public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/airspy/
Date: Sat,  9 Nov 2019 19:39:39 +0000 (UTC)	[thread overview]
Message-ID: <1573328361.8daad7e751ac557efb5316b4178fd19188498ffd.zerochaos@gentoo> (raw)

commit:     8daad7e751ac557efb5316b4178fd19188498ffd
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 17:57:22 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 19:39:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8daad7e7

net-wireless/airspy: initial import

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/airspy/Manifest            |  1 +
 net-wireless/airspy/airspy-1.0.9.ebuild | 47 +++++++++++++++++++++++++++++++++
 net-wireless/airspy/airspy-9999.ebuild  | 47 +++++++++++++++++++++++++++++++++
 net-wireless/airspy/metadata.xml        |  9 +++++++
 4 files changed, 104 insertions(+)

diff --git a/net-wireless/airspy/Manifest b/net-wireless/airspy/Manifest
new file mode 100644
index 00000000000..a2e3e8c75c4
--- /dev/null
+++ b/net-wireless/airspy/Manifest
@@ -0,0 +1 @@
+DIST airspy-1.0.9.tar.gz 216852 BLAKE2B 14cc4743b4398fec6fc6defe257b38c620ccca812c8e4da580fe78a99ac0e7a1b104cc05e83ba7b1423586e182da1a77d152485c515f41b4a52ff533e19d9903 SHA512 95030a39f687b0b72115d0279725845637240d8e8639fc2fb7b4b79d24be7aec85243d6d0e0643af358e7b4cf1e81b55b3c093b888411a47c7ed8a59a2aa497c

diff --git a/net-wireless/airspy/airspy-1.0.9.ebuild b/net-wireless/airspy/airspy-1.0.9.ebuild
new file mode 100644
index 00000000000..8a12043c051
--- /dev/null
+++ b/net-wireless/airspy/airspy-1.0.9.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=7
+
+inherit cmake-utils udev
+
+DESCRIPTION="Usemode driver and associated tools for airspy"
+HOMEPAGE="http://www.airspy.com"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/airspy/host.git"
+else
+	SRC_URI="https://github.com/airspy/host/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/airspyone_host-${PV}"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+udev"
+
+DEPEND="virtual/udev
+		virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DINSTALL_UDEV_RULES=$(usex udev)
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	if use udev; then
+		udev_newrules "${D}etc/udev/rules.d/52-airspy.rules" 52-airspy.rules
+		rm -rf "${D}etc"
+	fi
+}
+
+pkg_postinst() {
+	use udev && udev_reload
+}

diff --git a/net-wireless/airspy/airspy-9999.ebuild b/net-wireless/airspy/airspy-9999.ebuild
new file mode 100644
index 00000000000..5c680532bf9
--- /dev/null
+++ b/net-wireless/airspy/airspy-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=7
+
+inherit cmake-utils udev
+
+DESCRIPTION="Usemode driver and associated tools for airspy"
+HOMEPAGE="http://www.airspy.com"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/airspy/host.git"
+else
+	SRC_URI="https://github.com/airspy/host/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/airspyone_host-${PV}"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+udev"
+
+DEPEND="virtual/udev
+		virtual/libusb:0"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DINSTALL_UDEV_RULES=$(usex udev)
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	if use udev; then
+		udev_newrules "${D}etc/udev/rules.d/52-airspy.rules" 52-airspy.rules
+		rm -rf "${D}etc"
+	fi
+}
+
+pkg_postinst() {
+	use udev && udev_reload
+}

diff --git a/net-wireless/airspy/metadata.xml b/net-wireless/airspy/metadata.xml
new file mode 100644
index 00000000000..48e2501c039
--- /dev/null
+++ b/net-wireless/airspy/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+	</maintainer>
+	<longdescription lang="en">
+	</longdescription>
+</pkgmetadata>


             reply	other threads:[~2019-11-10 10:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09 19:39 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-10 14:02 [gentoo-commits] repo/gentoo:master commit in: net-wireless/airspy/ Thomas Deutschmann
2019-11-10 20:35 Michał Górny
2019-12-04  0:25 Rick Farina
2021-03-30 20:29 Rick Farina
2021-08-01 16:15 Rick Farina
2022-03-12 11:30 David Seifert
2022-04-30 17:51 Marek Szuba
2023-02-22 16:35 Rick 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=1573328361.8daad7e751ac557efb5316b4178fd19188498ffd.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