From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: LimeSuite-20.10.0
Date: Tue, 22 Mar 2022 04:55:25 +0100 [thread overview]
Message-ID: <20220322035525.AKDIeGhUNNaDETsR6vuNXiJ_acIIkm2CTs8iMp5fKF0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32573@inbox.vuxu.org>
[-- 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
next prev parent reply other threads:[~2022-03-22 3:55 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-19 3:33 [PR PATCH] [WIP] " 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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220322035525.AKDIeGhUNNaDETsR6vuNXiJ_acIIkm2CTs8iMp5fKF0@z \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).