commit:     0e45015cc9a26c09ecfcfb11eb006caac7269971
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Fri Jun 14 15:55:32 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jun 14 15:57:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e45015c

net-wireless/airspyhf: new package 1.6.8

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 licenses/BSD-3-clause                       | 29 +++++++++++++++++++++++++++++
 net-wireless/airspyhf/Manifest              |  1 +
 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 27 +++++++++++++++++++++++++++
 net-wireless/airspyhf/metadata.xml          | 14 ++++++++++++++
 4 files changed, 71 insertions(+)

diff --git a/licenses/BSD-3-clause b/licenses/BSD-3-clause
new file mode 100644
index 000000000..ef18f7cc9
--- /dev/null
+++ b/licenses/BSD-3-clause
@@ -0,0 +1,29 @@
+BSD 3-Clause License
+
+Copyright (c) 2017, Airspy
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+
+* Neither the name of the copyright holder nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

diff --git a/net-wireless/airspyhf/Manifest b/net-wireless/airspyhf/Manifest
new file mode 100644
index 000000000..cd49aeb78
--- /dev/null
+++ b/net-wireless/airspyhf/Manifest
@@ -0,0 +1 @@
+DIST airspyhf-1.6.8.tar.gz 33527 BLAKE2B 
6b233f2b80fbb166a6bd2b899d43b70349061cc3761514f6197363e63a5b99f256f3a0c10133a7a5c372467adaf4a964b409413c170e0f2ed0abd3435b021b72
 SHA512 
cc327012f51514935b422d07e54f1806f2a22d900a2bfe2e10adac9acca572ada3853709f0c37300b387061bc7559dcf10eae6814a06e22e8c765f1409b66f59

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild 
b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
new file mode 100644
index 000000000..cfb485f1f
--- /dev/null
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="User mode driver for Airspy HF+"
+HOMEPAGE="https://airspy.com/airspy-hf-plus/";
+SRC_URI="https://github.com/airspy/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD-3-clause"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="udevrules"
+DEPEND="dev-build/cmake
+       dev-libs/libusb
+       dev-util/pkgconf"
+inherit cmake
+
+RDEPEND="${DEPEND}"
+
+src_configure(){
+       mycmakeargs+=(
+               -DINSTALL_UDEV_RULES=$(usex udevrules)
+       )
+       cmake_src_configure
+}

diff --git a/net-wireless/airspyhf/metadata.xml 
b/net-wireless/airspyhf/metadata.xml
new file mode 100644
index 000000000..ef1c2a49f
--- /dev/null
+++ b/net-wireless/airspyhf/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Eli Burch</name>
+       </maintainer>
+       <use>
+               <flag name="udevrules">Install udev rules</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">airspy/airspyhf</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to