Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: SDRPlusPlus and airspyhf
@ 2022-07-23  8:27 classabbyamp
  2022-07-25 20:32 ` [PR REVIEW] " paper42
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: classabbyamp @ 2022-07-23  8:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/SDRPlusPlus
https://github.com/void-linux/void-packages/pull/38202

New packages: SDRPlusPlus and airspyhf
- New package: airspyhf-1.6.8
    closes #38198
- New package: SDRPlusPlus-1.0.4
    closes #38200

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



A patch file from https://github.com/void-linux/void-packages/pull/38202.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/SDRPlusPlus-38202.patch --]
[-- Type: text/x-diff, Size: 3853 bytes --]

From 11b822af5473452f41659a7b6cd19b9e23c62db3 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 23 Jul 2022 04:08:18 -0400
Subject: [PATCH 1/2] New package: airspyhf-1.6.8

closes #38198
---
 common/shlibs             |  1 +
 srcpkgs/airspyhf/template | 37 +++++++++++++++++++++++++++++++++++++
 srcpkgs/libairspyhf       |  1 +
 srcpkgs/libairspyhf-devel |  1 +
 4 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/airspyhf/template
 create mode 120000 srcpkgs/libairspyhf
 create mode 120000 srcpkgs/libairspyhf-devel

diff --git a/common/shlibs b/common/shlibs
index c0b708dd7a3d..5c9bbf5c30a5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4175,3 +4175,4 @@ libjaylink.so.0 libjaylink-0.2.0_1
 libnvidia-container.so.1 libnvidia-container-1.10.0_1
 libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
+libairspyhf.so.0 libairspyhf-1.6.8_1
diff --git a/srcpkgs/airspyhf/template b/srcpkgs/airspyhf/template
new file mode 100644
index 000000000000..dc306e6d3333
--- /dev/null
+++ b/srcpkgs/airspyhf/template
@@ -0,0 +1,37 @@
+# Template file for 'airspyhf'
+pkgname=airspyhf
+version=1.6.8
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="libusb-devel"
+short_desc="Usermode driver and tools for Airspy HF+"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="BSD-3-Clause"
+homepage="https://github.com/airspy/airspyhf"
+distfiles="https://github.com/airspy/airspyhf/archive/refs/tags/${version}.tar.gz"
+checksum=cd1e5ae89e09b813b096ae4a328e352c9432a582e03fd7da86760ba60efa77ab
+
+post_install() {
+	vlicense LICENSE
+}
+
+libairspyhf_package() {
+	short_desc+=" - library"
+	pkg_install() {
+		vmove usr/lib/*.so.*
+		vsed -e 's/GROUP="plugdev"/\0, TAG+="uaccess"/' -i tools/52-airspyhf.rules
+		vinstall tools/52-airspyhf.rules 644 usr/lib/udev/rules.d/
+	}
+}
+
+libairspyhf-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/libairspyhf b/srcpkgs/libairspyhf
new file mode 120000
index 000000000000..9a1c1cdae341
--- /dev/null
+++ b/srcpkgs/libairspyhf
@@ -0,0 +1 @@
+airspyhf
\ No newline at end of file
diff --git a/srcpkgs/libairspyhf-devel b/srcpkgs/libairspyhf-devel
new file mode 120000
index 000000000000..9a1c1cdae341
--- /dev/null
+++ b/srcpkgs/libairspyhf-devel
@@ -0,0 +1 @@
+airspyhf
\ No newline at end of file

From afc4be65a9273097b63e23fa261d3d8021cf74f1 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 23 Jul 2022 04:22:58 -0400
Subject: [PATCH 2/2] New package: SDRPlusPlus-1.0.4

closes #38200
---
 srcpkgs/SDRPlusPlus/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/SDRPlusPlus/template

diff --git a/srcpkgs/SDRPlusPlus/template b/srcpkgs/SDRPlusPlus/template
new file mode 100644
index 000000000000..9651aeca246f
--- /dev/null
+++ b/srcpkgs/SDRPlusPlus/template
@@ -0,0 +1,16 @@
+# Template file for 'SDRPlusPlus'
+pkgname=SDRPlusPlus
+version=1.0.4
+revision=1
+build_style=cmake
+configure_args="-DOPT_BUILD_PLUTOSDR_SOURCE=0"
+hostmakedepends="pkg-config"
+makedepends="fftw-devel glfw-devel volk-devel libzstd-devel glew-devel libusb-devel
+ librtlsdr-devel SoapySDR-devel libairspy-devel libairspyhf-devel libhackrf-devel
+ rtaudio-devel alsa-lib-devel pulseaudio-devel jack-devel"
+short_desc="Open source SDR software"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-only"
+homepage="https://github.com/AlexandreRouma/SDRPlusPlus"
+distfiles="https://github.com/AlexandreRouma/SDRPlusPlus/archive/refs/tags/${version}.tar.gz"
+checksum=251256de6725ceb4f9fb2823c7ad825068ad16cf9b5fb894259b173aae5a69ea

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-24  8:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23  8:27 [PR PATCH] New packages: SDRPlusPlus and airspyhf classabbyamp
2022-07-25 20:32 ` [PR REVIEW] " paper42
2022-07-25 20:34 ` paper42
2022-07-25 22:37 ` classabbyamp
2022-07-25 22:39 ` [PR PATCH] [Updated] " classabbyamp
2022-07-28  5:12 ` classabbyamp
2022-07-28  5:14 ` [PR REVIEW] " classabbyamp
2022-07-28  5:16 ` classabbyamp
2022-10-27  2:13 ` github-actions
2022-11-24  8:05 ` [PR PATCH] [Updated] " classabbyamp
2022-11-24  8:17 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).