[arch-commits] Commit in sdrangel/trunk (PKGBUILD sdrangel.install)

Filipe Laíns ffy00 at archlinux.org
Sat May 18 21:11:47 UTC 2019


    Date: Saturday, May 18, 2019 @ 21:11:47
  Author: ffy00
Revision: 467896

upgpkg: sdrangel 4.8.0-2

don't use newer SIMD instructions
fix .desktop name

Added:
  sdrangel/trunk/sdrangel.install
Modified:
  sdrangel/trunk/PKGBUILD

------------------+
 PKGBUILD         |   14 +++++++++-----
 sdrangel.install |    4 ++++
 2 files changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-18 20:54:45 UTC (rev 467895)
+++ PKGBUILD	2019-05-18 21:11:47 UTC (rev 467896)
@@ -3,7 +3,7 @@
 
 pkgname=sdrangel
 pkgver=4.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt5/OpenGL SDR and signal analyzer frontend'
 arch=('x86_64')
 url='https://github.com/f4exb/sdrangel'
@@ -19,13 +19,16 @@
             'bladerf: BladeRF support'
             'airspy: AirSPY support'
             'codec2: Coded2 speech codec support')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" sdrangel-opencv4.patch)
+install=$pkgname.install
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+        'sdrangel-opencv4.patch')
 sha512sums=('d560a415e050044cede2f553aba7fe33ac0dcd1f201a50782b8ef6656190221ea14a643face3746b3c1308b6c923bc6d0be9ac6e8442c8af7ac0dfed9b0b2ce3'
             'bc9519a0f08cc6372b3290ed475e3a70b71d4a29f2cedefd349f9ba220a9d446c05c02ca648f068ee298612b85faeda96d45d186120555382b2df99596576e7e')
 
 prepare() {
-  sed -i 's|sdrangel_icon.xpm|sdrangel.xpm|' $pkgname-$pkgver/desktop/sdrangel.desktop
   cd $pkgname-$pkgver
+
+  sed -i 's|sdrangel_icon.xpm|sdrangel.xpm|' desktop/sdrangel.desktop
   patch -p1 -i ../sdrangel-opencv4.patch # Fix build with openCV 4
 }
 
@@ -37,7 +40,8 @@
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLIBDSDCC_INCLUDE_DIR=/usr/include/dsdcc \
-    -DCM256CC_INCLUDE_DIR=/usr/include/cm256cc
+    -DCM256CC_INCLUDE_DIR=/usr/include/cm256cc \
+    -DENABLE_DISTRIBUTION=ON
 
   make
 }
@@ -49,6 +53,6 @@
 
   # Install .desktop file
   install -Dm 644 ../desktop/sdrangel_icon.xpm "$pkgdir"/usr/share/pixmaps/sdrangel.xpm
-  install -Dm 644 ../desktop/sdrangel.desktop "$pkgdir"/usr/share/applications/adrangel.desktop
+  install -Dm 644 ../desktop/sdrangel.desktop "$pkgdir"/usr/share/applications/sdrangel.desktop
 }
 

Added: sdrangel.install
===================================================================
--- sdrangel.install	                        (rev 0)
+++ sdrangel.install	2019-05-18 21:11:47 UTC (rev 467896)
@@ -0,0 +1,4 @@
+post_install(){
+    echo "The binaries in the package have limited SIMD support."
+    echo "Please consider using sdrangel-simd from the AUR if you are using sdrangel from any kind of DSP application or anything else that might be benefit from SIMD extensions."
+}



More information about the arch-commits mailing list