Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: LimeSuite-20.10.0
@ 2021-08-19  3:33 classabbyamp
  2021-08-19  7:09 ` classabbyamp
                   ` (53 more replies)
  0 siblings, 54 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-19  3:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

[WIP] New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl



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

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

From 4b97eed0d3cb76f5348c79df3f6b0642a756b74a Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 89 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 93 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..e6341eed7cb6
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,89 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+#archs="i686 x86_64"
+# TODO TEST PKG, ARCHS
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=$pkgver"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	arm[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
@ 2021-08-19  7:09 ` classabbyamp
  2021-08-20  2:32 ` classabbyamp
                   ` (52 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-19  7:09 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-901666093

Comment:
### Current issues:
- [ ] aarch64 and aarch64-musl fail because LimeSuite's cmake adds `-march=native`, which doesn't work
- [ ] all the non-cross builds fail because LimeSuite's shlib isn't being found/resolved even though it's added to common/shlibs
  - this was previously resolved locally but has appeared again in the CI 

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

* Re: [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
  2021-08-19  7:09 ` classabbyamp
@ 2021-08-20  2:32 ` classabbyamp
  2021-08-21  0:20 ` [PR PATCH] [Updated] " classabbyamp
                   ` (51 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-20  2:32 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-901666093

Comment:
### Current issues:
- [ ] aarch64 and aarch64-musl fail because LimeSuite's cmake adds `-march=native`, which doesn't work
- [ ] all the non-cross builds fail because LimeSuite's shlib isn't being found/resolved even though it's added to common/shlibs
  - ~~this was previously resolved locally but has appeared again in the CI~~ locally, it happened when installing LimeSuite; now, it happens with SoapyLMS7 (and can be reproduced locally)

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

* Re: [PR PATCH] [Updated] [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
  2021-08-19  7:09 ` classabbyamp
  2021-08-20  2:32 ` classabbyamp
@ 2021-08-21  0:20 ` classabbyamp
  2021-08-21  0:27 ` classabbyamp
                   ` (50 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  0:20 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

[WIP] New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl



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

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

From bd59ba86cd577199429c30223981af7e3b8458fc Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 89 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 93 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..8a24c2f256ef
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,89 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DCMAKE_BUILD_TYPE=Release
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	arm[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (2 preceding siblings ...)
  2021-08-21  0:20 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-08-21  0:27 ` classabbyamp
  2021-08-21  0:29 ` classabbyamp
                   ` (49 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  0:27 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-901666093

Comment:
### Current issues:
- [ ] aarch64 and aarch64-musl fail because LimeSuite's cmake adds `-march=native`, which doesn't work
- [x] all the non-cross builds fail because LimeSuite's shlib isn't being found/resolved even though it's added to common/shlibs
  - ~~this was previously resolved locally but has appeared again in the CI~~ locally, it happened when installing LimeSuite; now, it happens with SoapyLMS7 (and can be reproduced locally)

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

* Re: [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (3 preceding siblings ...)
  2021-08-21  0:27 ` classabbyamp
@ 2021-08-21  0:29 ` classabbyamp
  2021-08-21  1:23 ` [PR PATCH] [Updated] " classabbyamp
                   ` (48 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  0:29 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-901666093

Comment:
### Current issues:
- [ ] aarch64 and aarch64-musl fail because LimeSuite's cmake adds `-march=native`, which doesn't work
- [x] all the non-cross builds fail because LimeSuite's shlib isn't being found/resolved even though it's added to common/shlibs
  - ~~this was previously resolved locally but has appeared again in the CI~~ locally, it happened when installing LimeSuite; now, it happens with SoapyLMS7 (and can be reproduced locally)
  - caused by non-standard soname `libLimeSuite.so.20.10-1`

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

* Re: [PR PATCH] [Updated] [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (4 preceding siblings ...)
  2021-08-21  0:29 ` classabbyamp
@ 2021-08-21  1:23 ` classabbyamp
  2021-08-21  1:31 ` classabbyamp
                   ` (47 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  1:23 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

[WIP] New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl



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

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

From 4217e4ef5d027dfab3a5b2137bcbbce1d9735ae9 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 99 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 103 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..60849d128ebf
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,99 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DCMAKE_BUILD_TYPE=Release
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	arm[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+# On aarch64*, cmake adds `-march=native` to the build flags,
+# which is invalid and conflicts with the xbps-provided `-march=armv8-a`
+case "$XBPS_TARGET_MACHINE" in
+	aarch64*)
+		configure_args+=" -DENABLE_SIMD_FLAGS=none"
+		;;
+	*)
+		;;
+esac
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [WIP] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (5 preceding siblings ...)
  2021-08-21  1:23 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-08-21  1:31 ` classabbyamp
  2021-08-21  1:36 ` classabbyamp
                   ` (46 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  1:31 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-901666093

Comment:
### Current issues:
- [x] aarch64 and aarch64-musl fail because LimeSuite's cmake adds `-march=native`, which doesn't work
- [x] all the non-cross builds fail because LimeSuite's shlib isn't being found/resolved even though it's added to common/shlibs
  - ~~this was previously resolved locally but has appeared again in the CI~~ locally, it happened when installing LimeSuite; now, it happens with SoapyLMS7 (and can be reproduced locally)
  - caused by non-standard soname `libLimeSuite.so.20.10-1`

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (6 preceding siblings ...)
  2021-08-21  1:31 ` classabbyamp
@ 2021-08-21  1:36 ` classabbyamp
  2021-08-21  3:05 ` q66
                   ` (45 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  1:36 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-901666093

Comment:
### ~~Current issues:~~ All solved
- [x] aarch64 and aarch64-musl fail because LimeSuite's cmake adds `-march=native`, which doesn't work
- [x] all the non-cross builds fail because LimeSuite's shlib isn't being found/resolved even though it's added to common/shlibs
  - ~~this was previously resolved locally but has appeared again in the CI~~ locally, it happened when installing LimeSuite; now, it happens with SoapyLMS7 (and can be reproduced locally)
  - caused by non-standard soname `libLimeSuite.so.20.10-1`

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (7 preceding siblings ...)
  2021-08-21  1:36 ` classabbyamp
@ 2021-08-21  3:05 ` q66
  2021-08-21  4:14 ` [PR PATCH] [Updated] " classabbyamp
                   ` (44 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-21  3:05 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903044744

Comment:
`-march=native` should be dropped on *every* architecture 

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (8 preceding siblings ...)
  2021-08-21  3:05 ` q66
@ 2021-08-21  4:14 ` classabbyamp
  2021-08-21  4:15 ` classabbyamp
                   ` (43 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  4:14 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl



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

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

From cf8be636ac156c7d4ca1dbfc36239bc5f9a0d4cd Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 94 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 98 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..1aec9ee25d1e
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,94 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DCMAKE_BUILD_TYPE=Release
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		# Octave is not built on arm, so the limesuite octave plugin is not built
+		configure_args+=" -DENABLE_OCTAVE=False"
+
+		# On arm, cmake adds `-march=native` to the build flags,
+		# which is invalid and conflicts with the xbps-provided `-march` value.
+		# This does not happen on x86 because the default SIMD_FLAGS is not "native".
+		configure_args+=" -DENABLE_SIMD_FLAGS=none"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (9 preceding siblings ...)
  2021-08-21  4:14 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-08-21  4:15 ` classabbyamp
  2021-08-21  4:52 ` [PR PATCH] [Updated] " classabbyamp
                   ` (42 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  4:15 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903053387

Comment:
@q66, on x86, `-march=native` is never added because of logic in the cmake file. I've made sure it gets caught on arm though.

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (10 preceding siblings ...)
  2021-08-21  4:15 ` classabbyamp
@ 2021-08-21  4:52 ` classabbyamp
  2021-08-21 11:19 ` q66
                   ` (41 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21  4:52 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl
  - [x] armv7l
  - [ ] armv6l-musl



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

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

From ed4f990cc4252e42804d68e32af48a74c72c05fa Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 98 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 102 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..53d8e9fa7580
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,98 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DCMAKE_BUILD_TYPE=Release
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		# Octave is not built on arm, so the limesuite octave plugin is not built
+		configure_args+=" -DENABLE_OCTAVE=False"
+
+		# On arm, cmake adds `-march=native` to the build flags,
+		# which is invalid and conflicts with the xbps-provided `-march` value.
+		# This does not happen on x86 because the default SIMD_FLAGS is not "native".
+		configure_args+=" -DENABLE_SIMD_FLAGS=none"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (11 preceding siblings ...)
  2021-08-21  4:52 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-08-21 11:19 ` q66
  2021-08-21 17:08 ` classabbyamp
                   ` (40 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-21 11:19 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903101530

Comment:
that logic is still wrong since not just x86 and arm exists 

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (12 preceding siblings ...)
  2021-08-21 11:19 ` q66
@ 2021-08-21 17:08 ` classabbyamp
  2021-08-21 17:09 ` classabbyamp
                   ` (39 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21 17:08 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903146262

Comment:
@q66 ok I'll just patch the -march line out of the cmake file instead

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (13 preceding siblings ...)
  2021-08-21 17:08 ` classabbyamp
@ 2021-08-21 17:09 ` classabbyamp
  2021-08-21 17:10 ` [PR PATCH] [Updated] " classabbyamp
                   ` (38 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21 17:09 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903146262

Comment:
@q66 ok I'll just patch the -march line out of the cmake file instead, if xbps adds the proper -march on every platform itself

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (14 preceding siblings ...)
  2021-08-21 17:09 ` classabbyamp
@ 2021-08-21 17:10 ` classabbyamp
  2021-08-21 17:46 ` q66
                   ` (37 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21 17:10 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From c710f4a63f68ff7b355614eace03adadfdd13761 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs                                 |  1 +
 srcpkgs/LimeSuite-devel                       |  1 +
 srcpkgs/LimeSuite-doc                         |  1 +
 .../LimeSuite/patches/no-march-native.patch   | 12 +++
 srcpkgs/LimeSuite/template                    | 92 +++++++++++++++++++
 srcpkgs/SoapyLMS7                             |  1 +
 6 files changed, 108 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/patches/no-march-native.patch
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/patches/no-march-native.patch b/srcpkgs/LimeSuite/patches/no-march-native.patch
new file mode 100644
index 000000000000..3e25a03cd9b9
--- /dev/null
+++ b/srcpkgs/LimeSuite/patches/no-march-native.patch
@@ -0,0 +1,12 @@
+`-march=native` is not needed because xbps adds the proper -march itself
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -121,7 +121,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
+     SET_PROPERTY(CACHE ENABLE_SIMD_FLAGS PROPERTY STRINGS none native SSE3 SSE4.2 AVX AVX2) 
+ 
+     if(${ENABLE_SIMD_FLAGS} MATCHES "native")
+-        add_definitions(-march=native)
+         if(X86)
+             add_definitions(-mfpmath=both)
+         endif()
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..db8235474a77
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,92 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (15 preceding siblings ...)
  2021-08-21 17:10 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-08-21 17:46 ` q66
  2021-08-21 18:31 ` classabbyamp
                   ` (36 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-21 17:46 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903151501

Comment:
this is not needed, your previous thing would've been fine, just make it not arch-conditional

there are no flags needed, the appropriate arch baseline defaults are builtin into the compiler

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (16 preceding siblings ...)
  2021-08-21 17:46 ` q66
@ 2021-08-21 18:31 ` classabbyamp
  2021-08-21 18:37 ` classabbyamp
                   ` (35 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21 18:31 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903157776

Comment:
for SIMD? This program does a lot of DSP/high-bandwidth data handling, so I would think enabling SIMD stuff would be wanted. See [upstream](https://github.com/myriadrf/LimeSuite/blob/master/CMakeLists.txt#L111-L141).

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (17 preceding siblings ...)
  2021-08-21 18:31 ` classabbyamp
@ 2021-08-21 18:37 ` classabbyamp
  2021-08-21 19:05 ` q66
                   ` (34 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-21 18:37 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903157776

Comment:
for SIMD? This program does a lot of DSP/high-bandwidth data handling, so I would think enabling SIMD stuff would be wanted. See [upstream](https://github.com/myriadrf/LimeSuite/blob/master/CMakeLists.txt#L111-L141), it's not just turning `-march=native` on or off.

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (18 preceding siblings ...)
  2021-08-21 18:37 ` classabbyamp
@ 2021-08-21 19:05 ` q66
  2021-08-21 19:06 ` q66
                   ` (33 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-21 19:05 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903162360

Comment:
x86_64 guarantees at least SSE2, so that's implied by the compiler, and anything newer is not available on all CPUs, so we don't want it in packages (if a binary SIGILLs on any computer Void can run on, that's bad news)

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (19 preceding siblings ...)
  2021-08-21 19:05 ` q66
@ 2021-08-21 19:06 ` q66
  2021-08-21 19:08 ` q66
                   ` (32 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-21 19:06 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903162360

Comment:
x86_64 guarantees at least SSE2, so that's implied by the compiler (in other words, the likes oh `-msse -msse2` are completely useless NOOPs), and anything newer is not available on all CPUs, so we don't want it in packages (if a binary SIGILLs on any computer Void can run on, that's bad news)

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (20 preceding siblings ...)
  2021-08-21 19:06 ` q66
@ 2021-08-21 19:08 ` q66
  2021-08-22  4:04 ` classabbyamp
                   ` (31 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-21 19:08 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903162360

Comment:
x86_64 guarantees at least SSE2, so that's implied by the compiler (in other words, the likes oh `-msse -msse2` are completely useless NOOPs, similarly e.g. on  `ppc64le` you get implied `-maltivec -mvsx`, etc), and anything newer is not available on all CPUs, so we don't want it in packages (if a binary SIGILLs on any computer Void can run on, that's bad news)

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (21 preceding siblings ...)
  2021-08-21 19:08 ` q66
@ 2021-08-22  4:04 ` classabbyamp
  2021-08-22  4:04 ` classabbyamp
                   ` (30 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-22  4:04 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903210074

Comment:
So which option do you recommend be set, if any? `none native SSE3 SSE4.2 AVX AVX2`

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (22 preceding siblings ...)
  2021-08-22  4:04 ` classabbyamp
@ 2021-08-22  4:04 ` classabbyamp
  2021-08-22  7:23 ` q66
                   ` (29 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-22  4:04 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903210074

Comment:
I see. So which option do you recommend be set, if any? `none native SSE3 SSE4.2 AVX AVX2`

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (23 preceding siblings ...)
  2021-08-22  4:04 ` classabbyamp
@ 2021-08-22  7:23 ` q66
  2021-08-22 14:45 ` [PR PATCH] [Updated] " classabbyamp
                   ` (28 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: q66 @ 2021-08-22  7:23 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-903226133

Comment:
none

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (24 preceding siblings ...)
  2021-08-22  7:23 ` q66
@ 2021-08-22 14:45 ` classabbyamp
  2021-11-05 23:23 ` classabbyamp
                   ` (27 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-08-22 14:45 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 70cdfe1fd58371f7e04a9e34b5290e5e3a944c67 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 93 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 97 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..278a3c81eac7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4006,3 +4006,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..95292170dc94
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,93 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DENABLE_SIMD_FLAGS=none
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (25 preceding siblings ...)
  2021-08-22 14:45 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-11-05 23:23 ` classabbyamp
  2021-11-05 23:27 ` [PR REVIEW] " Duncaen
                   ` (26 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-05 23:23 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From b006b432a5697ea27040bde2ea19c61c5175f9ab Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 93 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 97 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 60647122b3dd..ce2ac3ffed78 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4039,3 +4039,4 @@ libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
 libavif.so.13 libavif-0.9.3_1
 libkdumpfile.so.8 libkdumpfile-0.4.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..95292170dc94
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,93 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+	-DENABLE_SIMD_FLAGS=none
+	-DENABLE_UTILITIES=True
+	-DENABLE_LIME_UTIL=True
+	-DCMAKE_SKIP_RPATH=True
+	-DENABLE_DESKTOP=False
+	-DENABLE_SOAPY_LMS7=True
+	-DENABLE_PCIE_XILLYBUS=True
+	-DENABLE_QUICKTEST=True
+	-DENABLE_MCU_TESTBENCH=True
+	-DENABLE_FTDI=True
+	-DENABLE_FX3=True
+	-DENABLE_STREAM_UNITE=True
+	-DENABLE_EXAMPLES=True
+	-DENABLE_HEADERS=True
+	-DENABLE_GUI=True
+	-DENABLE_API_DOXYGEN=True
+	-DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="
+	gnuplot
+	wxWidgets-gtk3-devel
+	libusb-devel
+	SoapySDR-devel
+	libfreeglut-devel
+	fltk-devel
+	glew-devel
+	sqlite-devel
+	libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (26 preceding siblings ...)
  2021-11-05 23:23 ` classabbyamp
@ 2021-11-05 23:27 ` Duncaen
  2021-11-05 23:40 ` [PR PATCH] [Updated] " classabbyamp
                   ` (25 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: Duncaen @ 2021-11-05 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r744023972

Comment:
we generally indent with a single space inside of quotes.

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (27 preceding siblings ...)
  2021-11-05 23:27 ` [PR REVIEW] " Duncaen
@ 2021-11-05 23:40 ` classabbyamp
  2021-11-13  3:40 ` classabbyamp
                   ` (24 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-05 23:40 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 3733717cc1e2abdfbe2037f24f7bf760add08f34 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 85 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 89 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 60647122b3dd..ce2ac3ffed78 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4039,3 +4039,4 @@ libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
 libavif.so.13 libavif-0.9.3_1
 libkdumpfile.so.8 libkdumpfile-0.4.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..8e8fe9127f62
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,85 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (28 preceding siblings ...)
  2021-11-05 23:40 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-11-13  3:40 ` classabbyamp
  2021-11-13  3:42 ` [PR REVIEW] " abenson
                   ` (23 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  3:40 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From bf6ba1d0ce9bab7afc0b745dfd54991b2df049db Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  2 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 85 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 5f6154c610de..8b17df87716c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4062,3 +4062,5 @@ libomalloc-0.9.6.so singular-4.2.1_1
 libsingular_resources-4.2.1.so singular-4.2.1_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libkdumpfile.so.8 libkdumpfile-0.4.0_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..8e8fe9127f62
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,85 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (29 preceding siblings ...)
  2021-11-13  3:40 ` classabbyamp
@ 2021-11-13  3:42 ` abenson
  2021-11-13  3:43 ` abenson
                   ` (22 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2021-11-13  3:42 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748676620

Comment:
I don't think this is needed

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (30 preceding siblings ...)
  2021-11-13  3:42 ` [PR REVIEW] " abenson
@ 2021-11-13  3:43 ` abenson
  2021-11-13  3:44 ` abenson
                   ` (21 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2021-11-13  3:43 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748676658

Comment:
This probably isn't needed unless its used outside of `LimeSuite`

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (31 preceding siblings ...)
  2021-11-13  3:43 ` abenson
@ 2021-11-13  3:44 ` abenson
  2021-11-13  3:47 ` classabbyamp
                   ` (20 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2021-11-13  3:44 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748676694

Comment:
This should be its own commit for `libkdumpfile`

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (32 preceding siblings ...)
  2021-11-13  3:44 ` abenson
@ 2021-11-13  3:47 ` classabbyamp
  2021-11-13  3:53 ` classabbyamp
                   ` (19 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  3:47 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748676953

Comment:
it's needed for the SoapyLMS7 subpkg

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (33 preceding siblings ...)
  2021-11-13  3:47 ` classabbyamp
@ 2021-11-13  3:53 ` classabbyamp
  2021-11-13  3:56 ` [PR PATCH] [Updated] " classabbyamp
                   ` (18 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  3:53 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748677478

Comment:
not even sure how that got in there, I have no memory of putting it there and it seem to build fine without...

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (34 preceding siblings ...)
  2021-11-13  3:53 ` classabbyamp
@ 2021-11-13  3:56 ` classabbyamp
  2021-11-13  4:09 ` [PR REVIEW] " classabbyamp
                   ` (17 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  3:56 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 5bc2a097955e33e32f5715f79c996afe9be554d6 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 84 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 88 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 5f6154c610de..513c6a31c28b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4062,3 +4062,4 @@ libomalloc-0.9.6.so singular-4.2.1_1
 libsingular_resources-4.2.1.so singular-4.2.1_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..fd9be287df04
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,84 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (35 preceding siblings ...)
  2021-11-13  3:56 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-11-13  4:09 ` classabbyamp
  2021-11-13  4:12 ` classabbyamp
                   ` (16 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  4:09 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748678748

Comment:
I believe it was added because of this: https://github.com/void-linux/void-packages/runs/4196787171?check_suite_focus=true#step:9:156

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (36 preceding siblings ...)
  2021-11-13  4:09 ` [PR REVIEW] " classabbyamp
@ 2021-11-13  4:12 ` classabbyamp
  2021-11-13  4:12 ` classabbyamp
                   ` (15 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  4:12 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748678748

Comment:
I believe it was added because of this: https://github.com/void-linux/void-packages/runs/4196787171?check_suite_focus=true#step:9:156

Is `shlib_provides` the correct solutions?

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (37 preceding siblings ...)
  2021-11-13  4:12 ` classabbyamp
@ 2021-11-13  4:12 ` classabbyamp
  2021-11-13  6:06 ` [PR PATCH] [Updated] " classabbyamp
                   ` (14 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  4:12 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748678748

Comment:
I believe it was added because of this: https://github.com/void-linux/void-packages/runs/4196787171?check_suite_focus=true#step:9:156

Is `shlib_provides` the correct solution?

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (38 preceding siblings ...)
  2021-11-13  4:12 ` classabbyamp
@ 2021-11-13  6:06 ` classabbyamp
  2021-11-13 15:20 ` [PR REVIEW] " abenson
                   ` (13 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13  6:06 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 983e71813123e17eff5f8ef8295dc9148dfca9d7 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 85 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 89 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 5f6154c610de..513c6a31c28b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4062,3 +4062,4 @@ libomalloc-0.9.6.so singular-4.2.1_1
 libsingular_resources-4.2.1.so singular-4.2.1_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..8e8fe9127f62
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,85 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (39 preceding siblings ...)
  2021-11-13  6:06 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-11-13 15:20 ` abenson
  2021-11-13 16:34 ` [PR PATCH] [Updated] " classabbyamp
                   ` (12 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: abenson @ 2021-11-13 15:20 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748733512

Comment:
`short_desc+=" - documentation"`

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (40 preceding siblings ...)
  2021-11-13 15:20 ` [PR REVIEW] " abenson
@ 2021-11-13 16:34 ` classabbyamp
  2021-11-13 16:36 ` [PR REVIEW] " classabbyamp
                   ` (11 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13 16:34 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 6fe1de73a625cf1ac0feec95841a999cc6da4b2c Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 86 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 5f6154c610de..513c6a31c28b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4062,3 +4062,4 @@ libomalloc-0.9.6.so singular-4.2.1_1
 libsingular_resources-4.2.1.so singular-4.2.1_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..16fa4dfc03d1
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,86 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR REVIEW] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (41 preceding siblings ...)
  2021-11-13 16:34 ` [PR PATCH] [Updated] " classabbyamp
@ 2021-11-13 16:36 ` classabbyamp
  2022-02-04 18:05 ` [PR PATCH] [Updated] " classabbyamp
                   ` (10 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2021-11-13 16:36 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#discussion_r748740674

Comment:
added

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (42 preceding siblings ...)
  2021-11-13 16:36 ` [PR REVIEW] " classabbyamp
@ 2022-02-04 18:05 ` classabbyamp
  2022-03-05 22:47 ` classabbyamp
                   ` (9 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-02-04 18:05 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 094948024d120f94cde8643a3e581e264680a124 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 86 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 76df17e8ba13..9c62e8fed234 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4102,3 +4102,4 @@ libkaddressbookprivate.so.5 kaddressbook-21.08.3_1
 libcodec2.so.1.0 codec2-1.0.1_1
 libx86emu.so.3 libx86emu-3.4_1
 libdeflate.so.0 libdeflate-1.8_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..16fa4dfc03d1
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,86 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (43 preceding siblings ...)
  2022-02-04 18:05 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-03-05 22:47 ` classabbyamp
  2022-03-06  3:14 ` classabbyamp
                   ` (8 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-03-05 22:47 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 1da860a7d2a5e32e46f167339cd990fc51d23daf Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 86 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 250e1e0b8cb5..300de582eccd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4142,3 +4142,4 @@ librz_util.so.0.3.4 rizin-0.3.4_1
 librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..16fa4dfc03d1
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,86 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (44 preceding siblings ...)
  2022-03-05 22:47 ` classabbyamp
@ 2022-03-06  3:14 ` classabbyamp
  2022-03-22  2:12 ` classabbyamp
                   ` (7 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-03-06  3:14 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 04561f128803954c9d9fada07106b0bbda51ce00 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 86 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 250e1e0b8cb5..300de582eccd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4142,3 +4142,4 @@ librz_util.so.0.3.4 rizin-0.3.4_1
 librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..16fa4dfc03d1
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,86 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (45 preceding siblings ...)
  2022-03-06  3:14 ` classabbyamp
@ 2022-03-22  2:12 ` classabbyamp
  2022-03-22  3:55 ` classabbyamp
                   ` (6 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-03-22  2:12 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] x86_64-musl (cross)
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)



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

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

From 70c1554c0d7b1c3761245b90a901386911bd0fb2 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 86 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 2d8a8b8b0df3..c8f164934ae6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4142,3 +4142,4 @@ librz_util.so.0.3.4 rizin-0.3.4_1
 librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..16fa4dfc03d1
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,86 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ -DLIME_SUITE_EXTVER=${version}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+# Octave is not built on arm, so the limesuite octave plugin is not built
+case "$XBPS_TARGET_MACHINE" in
+	armv[67]*|aarch64*)
+		configure_args+=" -DENABLE_OCTAVE=False"
+		;;
+	*)
+		configure_args+=" -DENABLE_OCTAVE=True"
+		makedepends+=" octave"
+		;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		vinstall Desktop/lime-suite-$res.png 644 usr/share/pixmaps
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (46 preceding siblings ...)
  2022-03-22  2:12 ` classabbyamp
@ 2022-03-22  3:55 ` classabbyamp
  2022-03-22  3:57 ` classabbyamp
                   ` (5 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-03-22  3:55 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 2b6745d7a749226b895bf167b8af1f0f7849dbc5 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 90 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 94 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 2d8a8b8b0df3..c8f164934ae6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4142,3 +4142,4 @@ librz_util.so.0.3.4 rizin-0.3.4_1
 librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..5063f1c51054
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,90 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+_commit=4536882c7f921e0011f7821c25b2ea651cabf500
+wrksrc="$pkgname-$_commit"
+version=20.10.0+1
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ $(vopt_bool octave ENABLE_OCTAVE)
+ -DLIME_SUITE_EXTVER=${version}_${revision}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel $(vopt_if octave octave)"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+# distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/${_commit}.tar.gz"
+checksum=b32f114225339ec109367c43deef6cd06518acc3e68167c3e3e39b50f1ca4834
+shlib_provides="libLimeSuite.so.20.10-1"
+
+build_options="octave"
+desc_option_octave="Enable the LimeSuite Octave plugin"
+
+# Octave is not built on arm, so don't enable the build option by default on those archs
+case "$XBPS_TARGET_MACHINE" in
+	arm*|aarch64*) build_options_default="" ;;
+	*) build_options_default="octave" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		_icon_dir="usr/share/icons/hicolor/${res}x${res}/apps"
+		vmkdir $_icon_dir
+		vinstall Desktop/lime-suite-$res.png 644 $_icon_dir lime-suite.png
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (47 preceding siblings ...)
  2022-03-22  3:55 ` classabbyamp
@ 2022-03-22  3:57 ` classabbyamp
  2022-04-02 21:13 ` paper42
                   ` (4 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-03-22  3:57 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From dad1892c174bd5dd1e57ee22a4fcb13d4f1a5406 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 87 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 91 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 2d8a8b8b0df3..c8f164934ae6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4142,3 +4142,4 @@ librz_util.so.0.3.4 rizin-0.3.4_1
 librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..44f119784ffd
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,87 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ $(vopt_bool octave ENABLE_OCTAVE)
+ -DLIME_SUITE_EXTVER=${version}_${revision}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel $(vopt_if octave octave)"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+build_options="octave"
+desc_option_octave="Enable the LimeSuite Octave plugin"
+
+# Octave is not built on arm, so don't enable the build option by default on those archs
+case "$XBPS_TARGET_MACHINE" in
+	arm*|aarch64*) build_options_default="" ;;
+	*) build_options_default="octave" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		_icon_dir="usr/share/icons/hicolor/${res}x${res}/apps"
+		vmkdir $_icon_dir
+		vinstall Desktop/lime-suite-$res.png 644 $_icon_dir lime-suite.png
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (48 preceding siblings ...)
  2022-03-22  3:57 ` classabbyamp
@ 2022-04-02 21:13 ` paper42
  2022-04-02 21:33 ` [PR PATCH] [Updated] " classabbyamp
                   ` (3 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: paper42 @ 2022-04-02 21:13 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-1086725418

Comment:
please resolve the conflict in common/shlibs

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (49 preceding siblings ...)
  2022-04-02 21:13 ` paper42
@ 2022-04-02 21:33 ` classabbyamp
  2022-04-02 21:33 ` classabbyamp
                   ` (2 subsequent siblings)
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-04-02 21:33 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 7915a943ed2601588e99818da3bdf16bae63bebd Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 87 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 91 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 7079375524fc..b0c6fe696e5e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4145,3 +4145,4 @@ librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
 libaravis-0.8.so.0 libaravis-0.8.21_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..44f119784ffd
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,87 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ $(vopt_bool octave ENABLE_OCTAVE)
+ -DLIME_SUITE_EXTVER=${version}_${revision}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel $(vopt_if octave octave)"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+build_options="octave"
+desc_option_octave="Enable the LimeSuite Octave plugin"
+
+# Octave is not built on arm, so don't enable the build option by default on those archs
+case "$XBPS_TARGET_MACHINE" in
+	arm*|aarch64*) build_options_default="" ;;
+	*) build_options_default="octave" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		_icon_dir="usr/share/icons/hicolor/${res}x${res}/apps"
+		vmkdir $_icon_dir
+		vinstall Desktop/lime-suite-$res.png 644 $_icon_dir lime-suite.png
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (50 preceding siblings ...)
  2022-04-02 21:33 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-04-02 21:33 ` classabbyamp
  2022-04-03  0:06 ` [PR PATCH] [Updated] " classabbyamp
  2022-04-03  8:20 ` [PR PATCH] [Merged]: " paper42
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-04-02 21:33 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32573#issuecomment-1086728094

Comment:
@paper42 done.

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

* Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (51 preceding siblings ...)
  2022-04-02 21:33 ` classabbyamp
@ 2022-04-03  0:06 ` classabbyamp
  2022-04-03  8:20 ` [PR PATCH] [Merged]: " paper42
  53 siblings, 0 replies; 55+ messages in thread
From: classabbyamp @ 2022-04-03  0:06 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages limesdr
https://github.com/void-linux/void-packages/pull/32573

New package: LimeSuite-20.10.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 65d1c7f96eb7bd05954d56d8fedb2314c5dcf233 Mon Sep 17 00:00:00 2001
From: Abigail G <dev@kb6.ee>
Date: Wed, 18 Aug 2021 23:10:00 -0400
Subject: [PATCH] New package: LimeSuite-20.10.0

---
 common/shlibs              |  1 +
 srcpkgs/LimeSuite-devel    |  1 +
 srcpkgs/LimeSuite-doc      |  1 +
 srcpkgs/LimeSuite/template | 87 ++++++++++++++++++++++++++++++++++++++
 srcpkgs/SoapyLMS7          |  1 +
 5 files changed, 91 insertions(+)
 create mode 120000 srcpkgs/LimeSuite-devel
 create mode 120000 srcpkgs/LimeSuite-doc
 create mode 100644 srcpkgs/LimeSuite/template
 create mode 120000 srcpkgs/SoapyLMS7

diff --git a/common/shlibs b/common/shlibs
index 7079375524fc..b0c6fe696e5e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4145,3 +4145,4 @@ librz_lang.so.0.3.4 rizin-0.3.4_1
 librz_search.so.0.3.4 rizin-0.3.4_1
 librz_bin.so.0.3.4 rizin-0.3.4_1
 libaravis-0.8.so.0 libaravis-0.8.21_1
+libLimeSuite.so.20.10-1 LimeSuite-20.10.0_1
diff --git a/srcpkgs/LimeSuite-devel b/srcpkgs/LimeSuite-devel
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-devel
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite-doc b/srcpkgs/LimeSuite-doc
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/LimeSuite-doc
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file
diff --git a/srcpkgs/LimeSuite/template b/srcpkgs/LimeSuite/template
new file mode 100644
index 000000000000..44f119784ffd
--- /dev/null
+++ b/srcpkgs/LimeSuite/template
@@ -0,0 +1,87 @@
+# Template file for 'LimeSuite'
+pkgname=LimeSuite
+version=20.10.0
+revision=1
+build_style=cmake
+build_helper=cmake-wxWidgets-gtk3
+configure_args="
+ -DENABLE_SIMD_FLAGS=none
+ -DENABLE_UTILITIES=True
+ -DENABLE_LIME_UTIL=True
+ -DCMAKE_SKIP_RPATH=True
+ -DENABLE_DESKTOP=False
+ -DENABLE_SOAPY_LMS7=True
+ -DENABLE_PCIE_XILLYBUS=True
+ -DENABLE_QUICKTEST=True
+ -DENABLE_MCU_TESTBENCH=True
+ -DENABLE_FTDI=True
+ -DENABLE_FX3=True
+ -DENABLE_STREAM_UNITE=True
+ -DENABLE_EXAMPLES=True
+ -DENABLE_HEADERS=True
+ -DENABLE_GUI=True
+ -DENABLE_API_DOXYGEN=True
+ $(vopt_bool octave ENABLE_OCTAVE)
+ -DLIME_SUITE_EXTVER=${version}_${revision}"
+hostmakedepends="doxygen"
+makedepends="gnuplot wxWidgets-gtk3-devel libusb-devel SoapySDR-devel libfreeglut-devel
+ fltk-devel glew-devel sqlite-devel libgomp-devel $(vopt_if octave octave)"
+depends="wget"
+short_desc="Driver and GUI for LimeSDR/LMS7002M-based SDR platforms"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="Apache-2.0"
+homepage="https://myriadrf.org/projects/lime-suite/"
+distfiles="https://github.com/myriadrf/LimeSuite/archive/refs/tags/v${version}.tar.gz"
+checksum=f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467
+shlib_provides="libLimeSuite.so.20.10-1"
+
+build_options="octave"
+desc_option_octave="Enable the LimeSuite Octave plugin"
+
+# Octave is not built on arm, so don't enable the build option by default on those archs
+case "$XBPS_TARGET_MACHINE" in
+	arm*|aarch64*) build_options_default="" ;;
+	*) build_options_default="octave" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vinstall udev-rules/64-limesuite.rules 644 usr/lib/udev/rules.d
+
+	for res in 16 22 32 48 64 128; do
+		_icon_dir="usr/share/icons/hicolor/${res}x${res}/apps"
+		vmkdir $_icon_dir
+		vinstall Desktop/lime-suite-$res.png 644 $_icon_dir lime-suite.png
+	done
+	vinstall Desktop/lime-suite.desktop 755 usr/share/applications
+}
+
+LimeSuite-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+LimeSuite-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vdoc docs/lms7_api_quick_start_guide.pdf
+		vdoc docs/StreamProtocol.pdf
+		vcopy docs/LMS_API_Documentation usr/share/doc/$pkgname
+	}
+}
+
+SoapyLMS7_package() {
+	short_desc="SoapySDR module for LimeSDR/LMS7002M"
+	pkg_install() {
+		vmove usr/lib/SoapySDR/modules0.7/libLMS7Support.so
+	}
+}
diff --git a/srcpkgs/SoapyLMS7 b/srcpkgs/SoapyLMS7
new file mode 120000
index 000000000000..4431f3d5064a
--- /dev/null
+++ b/srcpkgs/SoapyLMS7
@@ -0,0 +1 @@
+LimeSuite
\ No newline at end of file

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

* Re: [PR PATCH] [Merged]: New package: LimeSuite-20.10.0
  2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
                   ` (52 preceding siblings ...)
  2022-04-03  0:06 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-04-03  8:20 ` paper42
  53 siblings, 0 replies; 55+ messages in thread
From: paper42 @ 2022-04-03  8:20 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: LimeSuite-20.10.0
https://github.com/void-linux/void-packages/pull/32573

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

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

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


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2022-04-03  8:20 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  3:33 [PR PATCH] [WIP] New package: LimeSuite-20.10.0 classabbyamp
2021-08-19  7:09 ` classabbyamp
2021-08-20  2:32 ` classabbyamp
2021-08-21  0:20 ` [PR PATCH] [Updated] " classabbyamp
2021-08-21  0:27 ` classabbyamp
2021-08-21  0:29 ` classabbyamp
2021-08-21  1:23 ` [PR PATCH] [Updated] " classabbyamp
2021-08-21  1:31 ` classabbyamp
2021-08-21  1:36 ` classabbyamp
2021-08-21  3:05 ` q66
2021-08-21  4:14 ` [PR PATCH] [Updated] " classabbyamp
2021-08-21  4:15 ` classabbyamp
2021-08-21  4:52 ` [PR PATCH] [Updated] " classabbyamp
2021-08-21 11:19 ` q66
2021-08-21 17:08 ` classabbyamp
2021-08-21 17:09 ` classabbyamp
2021-08-21 17:10 ` [PR PATCH] [Updated] " classabbyamp
2021-08-21 17:46 ` q66
2021-08-21 18:31 ` classabbyamp
2021-08-21 18:37 ` classabbyamp
2021-08-21 19:05 ` q66
2021-08-21 19:06 ` q66
2021-08-21 19:08 ` q66
2021-08-22  4:04 ` classabbyamp
2021-08-22  4:04 ` classabbyamp
2021-08-22  7:23 ` q66
2021-08-22 14:45 ` [PR PATCH] [Updated] " classabbyamp
2021-11-05 23:23 ` classabbyamp
2021-11-05 23:27 ` [PR REVIEW] " Duncaen
2021-11-05 23:40 ` [PR PATCH] [Updated] " classabbyamp
2021-11-13  3:40 ` classabbyamp
2021-11-13  3:42 ` [PR REVIEW] " abenson
2021-11-13  3:43 ` abenson
2021-11-13  3:44 ` abenson
2021-11-13  3:47 ` classabbyamp
2021-11-13  3:53 ` classabbyamp
2021-11-13  3:56 ` [PR PATCH] [Updated] " classabbyamp
2021-11-13  4:09 ` [PR REVIEW] " classabbyamp
2021-11-13  4:12 ` classabbyamp
2021-11-13  4:12 ` classabbyamp
2021-11-13  6:06 ` [PR PATCH] [Updated] " classabbyamp
2021-11-13 15:20 ` [PR REVIEW] " abenson
2021-11-13 16:34 ` [PR PATCH] [Updated] " classabbyamp
2021-11-13 16:36 ` [PR REVIEW] " classabbyamp
2022-02-04 18:05 ` [PR PATCH] [Updated] " classabbyamp
2022-03-05 22:47 ` classabbyamp
2022-03-06  3:14 ` classabbyamp
2022-03-22  2:12 ` classabbyamp
2022-03-22  3:55 ` classabbyamp
2022-03-22  3:57 ` classabbyamp
2022-04-02 21:13 ` paper42
2022-04-02 21:33 ` [PR PATCH] [Updated] " classabbyamp
2022-04-02 21:33 ` classabbyamp
2022-04-03  0:06 ` [PR PATCH] [Updated] " classabbyamp
2022-04-03  8:20 ` [PR PATCH] [Merged]: " paper42

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).