[arch-commits] Commit in soapysdr/repos/community-x86_64 (4 files)

Filipe Laíns ffy00 at archlinux.org
Sun Apr 5 19:45:56 UTC 2020


    Date: Sunday, April 5, 2020 @ 19:45:56
  Author: ffy00
Revision: 611934

archrelease: copy trunk to community-x86_64

Added:
  soapysdr/repos/community-x86_64/PKGBUILD
    (from rev 611933, soapysdr/trunk/PKGBUILD)
  soapysdr/repos/community-x86_64/python-3.8.patch
    (from rev 611933, soapysdr/trunk/python-3.8.patch)
Deleted:
  soapysdr/repos/community-x86_64/PKGBUILD
  soapysdr/repos/community-x86_64/python-3.8.patch

------------------+
 PKGBUILD         |   94 +++++++++++++++++++++++++----------------------------
 python-3.8.patch |   60 ++++++++++++++++-----------------
 2 files changed, 75 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-05 19:45:48 UTC (rev 611933)
+++ PKGBUILD	2020-04-05 19:45:56 UTC (rev 611934)
@@ -1,49 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
-
-pkgname=soapysdr
-_pkgname=SoapySDR
-pkgver=0.7.1
-_gitver=soapy-sdr-$pkgver
-pkgrel=5
-pkgdesc='Vendor and platform neutral SDR support library'
-arch=('x86_64')
-url='https://github.com/pothosware/SoapySDR'
-license=('Boost')
-depends=('python' 'boost-libs')
-makedepends=('cmake' 'boost' 'swig' 'doxygen')
-optdepends=('soapyairspy: Airspy backend'
-            'soapyaudio: Audio devices backend'
-            'soapybladerf: BladeRF backend'
-            'soapyhackrf: HackRF backend'
-            'soapynetsdr: NetSDR backend'
-            'soapyosmo: OsmoSDR backend'
-            'soapyremote: SoapySDR remote support'
-            'soapyrtlsdr: rtl-sdr backend'
-            'soapyuhd: UHD backend')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz"
-        'python-3.8.patch')
-sha512sums=('9b2c4251d6362faecf770df021b74e3b387b99699ae4f7d3f145801e2acc901a3803f7b4d2cd50267013f1add6658703dfa5db6db28b8a645f1f8230117123cd'
-            '5815af9e2da0e06f8ade6305f12701beb73c906508d087cb24c9c88e0c53fb9d5d03876c475b33a483e2224d4ad8a96a6cc949786dbd5e759b1e6622b9f18d40')
-
-prepare() {
-  cd $_pkgname-$_gitver
-  patch -Np1 -i ../python-3.8.patch
-}
-
-build() {
-  mkdir -p $_pkgname-$_gitver/build
-  cd $_pkgname-$_gitver/build
-
-  cmake .. \
-    -DSOAPY_SDR_EXTVER=ARCH \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
-
-  make
-}
-
-package() {
-  cd $_pkgname-$_gitver/build
-
-  make DESTDIR="$pkgdir" install
-}

Copied: soapysdr/repos/community-x86_64/PKGBUILD (from rev 611933, soapysdr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-05 19:45:56 UTC (rev 611934)
@@ -0,0 +1,45 @@
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+
+pkgname=soapysdr
+_pkgname=SoapySDR
+pkgver=0.7.2
+_gitver=soapy-sdr-$pkgver
+pkgrel=1
+pkgdesc='Vendor and platform neutral SDR support library'
+arch=('x86_64')
+url='https://github.com/pothosware/SoapySDR'
+license=('Boost')
+depends=('python')
+makedepends=('cmake' 'swig' 'doxygen' 'graphviz')
+optdepends=('soapyairspy: Airspy backend'
+            'soapyaudio: Audio devices backend'
+            'soapybladerf: BladeRF backend'
+            'soapyhackrf: HackRF backend'
+            'soapynetsdr: NetSDR backend'
+            'soapyosmo: OsmoSDR backend'
+            'soapyremote: SoapySDR remote support'
+            'soapyrtlsdr: rtl-sdr backend'
+            'soapyuhd: UHD backend')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371')
+
+build() {
+  mkdir -p $_pkgname-$_gitver/build
+  cd $_pkgname-$_gitver/build
+
+  cmake .. \
+    -DSOAPY_SDR_EXTVER=ARCH \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+
+  make
+}
+
+package() {
+  cd $_pkgname-$_gitver/build
+
+  make DESTDIR="$pkgdir" install
+
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r -a --no-preserve=ownership docs/html "$pkgdir"/usr/share/doc/$pkgname
+}

Deleted: python-3.8.patch
===================================================================
--- python-3.8.patch	2020-04-05 19:45:48 UTC (rev 611933)
+++ python-3.8.patch	2020-04-05 19:45:56 UTC (rev 611934)
@@ -1,30 +0,0 @@
-From 4dcd956d1a79fbb346303e786ac2d9448f191ba3 Mon Sep 17 00:00:00 2001
-From: Josh Blum <josh at joshknows.com>
-Date: Mon, 3 Jun 2019 23:27:16 -0500
-Subject: [PATCH] Remove --no-undefined linker flag for python 3.8
-
-The -Wl,--no-undefined linker flag cannot be consistently applied for
-all projects linked against SoapySDR because starting in python3.8 the
---ldflags no longer include the python library, and there are supposed
-to be missing symbols which will be provided at runtime by the
-interpreter.
----
- Changelog.txt                      | 1 +
- cmake/Modules/SoapySDRConfig.cmake | 4 ----
- 2 files changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/cmake/Modules/SoapySDRConfig.cmake b/cmake/Modules/SoapySDRConfig.cmake
-index 95a751c..f74d6c9 100644
---- a/cmake/Modules/SoapySDRConfig.cmake
-+++ b/cmake/Modules/SoapySDRConfig.cmake
-@@ -74,10 +74,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
-         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
-     endif()
- 
--    #force a compile-time error when symbols are missing
--    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
--    set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
--
-     #common warnings to help encourage good coding practices
-     add_compile_options(-Wall)
-     add_compile_options(-Wextra)

Copied: soapysdr/repos/community-x86_64/python-3.8.patch (from rev 611933, soapysdr/trunk/python-3.8.patch)
===================================================================
--- python-3.8.patch	                        (rev 0)
+++ python-3.8.patch	2020-04-05 19:45:56 UTC (rev 611934)
@@ -0,0 +1,30 @@
+From 4dcd956d1a79fbb346303e786ac2d9448f191ba3 Mon Sep 17 00:00:00 2001
+From: Josh Blum <josh at joshknows.com>
+Date: Mon, 3 Jun 2019 23:27:16 -0500
+Subject: [PATCH] Remove --no-undefined linker flag for python 3.8
+
+The -Wl,--no-undefined linker flag cannot be consistently applied for
+all projects linked against SoapySDR because starting in python3.8 the
+--ldflags no longer include the python library, and there are supposed
+to be missing symbols which will be provided at runtime by the
+interpreter.
+---
+ Changelog.txt                      | 1 +
+ cmake/Modules/SoapySDRConfig.cmake | 4 ----
+ 2 files changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/cmake/Modules/SoapySDRConfig.cmake b/cmake/Modules/SoapySDRConfig.cmake
+index 95a751c..f74d6c9 100644
+--- a/cmake/Modules/SoapySDRConfig.cmake
++++ b/cmake/Modules/SoapySDRConfig.cmake
+@@ -74,10 +74,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
+         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
+     endif()
+ 
+-    #force a compile-time error when symbols are missing
+-    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
+-    set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
+-
+     #common warnings to help encourage good coding practices
+     add_compile_options(-Wall)
+     add_compile_options(-Wextra)



More information about the arch-commits mailing list