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

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