[arch-commits] Commit in limesuite/repos (2 files)

Antonio Rojas arojas at archlinux.org
Mon Mar 25 22:09:54 UTC 2019


    Date: Monday, March 25, 2019 @ 22:09:53
  Author: arojas
Revision: 443509

archrelease: copy trunk to community-staging-x86_64

Added:
  limesuite/repos/community-staging-x86_64/
  limesuite/repos/community-staging-x86_64/PKGBUILD
    (from rev 443508, limesuite/trunk/PKGBUILD)

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

Copied: limesuite/repos/community-staging-x86_64/PKGBUILD (from rev 443508, limesuite/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-03-25 22:09:53 UTC (rev 443509)
@@ -0,0 +1,73 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=limesuite
+pkgver=19.01.0
+pkgrel=2
+pkgdesc='Driver and GUI for LMS7002M-based SDR platforms (LimeSDR, Novena RF7, etc.)'
+arch=('x86_64')
+url='https://github.com/myriadrf/LimeSuite'
+license=('Apache')
+depends=('sqlite3' 'wxgtk2' 'freeglut' 'libusb>=1.0' 'soapysdr' 'wget' 'gnuplot' 'glew' 'fltk')
+makedepends=('cmake' 'doxygen' 'octave')
+optdepends=('octave: Octave plugin')
+provides=('soapylms7')
+conflicts=('soapylms7')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('e7fdd680c9998b0a2cc9aad5b00b925f33efbca3e1149a89f3937629851dd1eb8fe23ffab0b47b4c9e0c7952e491e086f6394dae62f166e4f4688474200086ce')
+
+prepare() {
+  cd LimeSuite-$pkgver
+
+  # Change mode to 666 and ommit plugdev group
+  sed -i 's|MODE="660", GROUP="plugdev"|MODE="666"|g' udev-rules/64-limesuite.rules
+}
+
+build() {
+  mkdir -p LimeSuite-$pkgver/build
+  cd LimeSuite-$pkgver/build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DENABLE_UTILITIES=True \
+    -DENABLE_LIME_UTIL=True \
+    -DCMAKE_SKIP_RPATH=True \
+    -DENABLE_DESKTOP=False \
+    -DENABLE_SOAPY_LMS7=True \
+    -DENABLE_EVB7COM=True \
+    -DENABLE_PCIE_XILLYBUS=True \
+    -DENABLE_REMOTE=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_OCTAVE=True \
+    -DENABLE_API_DOXYGEN=True \
+    -DLIME_SUITE_EXTVER=$pkgver
+
+ #    -DENABLE_NOVENARF7=True \
+
+  make
+}
+
+package() {
+  cd LimeSuite-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+
+  # Install udev rules, changing mode to 666 and ommitting plugdev group
+  install -Dm 644 ../udev-rules/64-limesuite.rules "$pkgdir"/etc/udev/rules.d/64-limesuite.rules
+
+  # Install icons and .desktop file
+  install -Dm 644 ../Desktop/lime-suite-128.png "$pkgdir"/usr/share/pixmaps/lime-suite.png
+  install -Dm 755 ../Desktop/lime-suite.desktop "$pkgdir"/usr/share/applications/lime-suite.desktop
+
+  # Install documentation
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r --no-preserve=ownership ../docs/LMS_API_Documentation/* "$pkgdir"/usr/share/doc/$pkgname
+}
+



More information about the arch-commits mailing list