[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2020-12-12 Thread Felix Yan via arch-commits
Date: Saturday, December 12, 2020 @ 15:30:24
  Author: felixonmars
Revision: 773310

upgpkg: soapyosmo 0.2.5-8: boost 1.75.0 rebuild

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-12 15:28:41 UTC (rev 773309)
+++ PKGBUILD2020-12-12 15:30:24 UTC (rev 773310)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=7
+pkgrel=8
 pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2020-12-06 Thread Felix Yan via arch-commits
Date: Sunday, December 6, 2020 @ 22:21:09
  Author: felixonmars
Revision: 771274

upgpkg: soapyosmo 0.2.5-7: boost 1.74.0 rebuild

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-06 22:20:31 UTC (rev 771273)
+++ PKGBUILD2020-12-06 22:21:09 UTC (rev 771274)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=6
+pkgrel=7
 pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'
@@ -49,4 +49,3 @@
 
   make DESTDIR="$pkgdir" install
 }
-


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD boost-1.73.patch)

2020-12-06 Thread Evangelos Foutras via arch-commits
Date: Sunday, December 6, 2020 @ 22:19:01
  Author: foutrelis
Revision: 771267

Fix build with boost 1.73

Added:
  soapyosmo/trunk/boost-1.73.patch
Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |7 +++--
 boost-1.73.patch |   72 +
 2 files changed, 77 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-06 22:17:19 UTC (rev 771266)
+++ PKGBUILD2020-12-06 22:19:01 UTC (rev 771267)
@@ -16,11 +16,14 @@
 'libosmosdr: OsmoSDR support'
 'rtl-sdr: RTL-SDR support')
 #'bladerf: BladeRF support'
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
-sha512sums=('a1aa5f3c84f5e9cf8cc0329445836162586c3fd301f126310e2a3131c170f1d213fcb214162a28c448a49f57fcf177b7a00d10967ba88a8434a6ac26fa2264e8')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz"
+boost-1.73.patch)
+sha512sums=('a1aa5f3c84f5e9cf8cc0329445836162586c3fd301f126310e2a3131c170f1d213fcb214162a28c448a49f57fcf177b7a00d10967ba88a8434a6ac26fa2264e8'
+
'98c9152445c919618dbc31e0056129e0734b60cbf2ee86903c6b7206883e8b6ba64dbe64e96fdebdb3f18abbb3b68aefa19ba3b177664d4fa61995be4c05ef64')
 
 prepare() {
   cd $_pkgname-$_gitver
+  patch -Np1 -i ../boost-1.73.patch
   sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS 
"${CMAKE_CXX_FLAGS} -pthread")|' CMakeLists.txt
   sed -i 's|SET(BOOST_REQUIRED_COMPONENTS|SET(BOOST_REQUIRED_COMPONENTS 
chrono|' CMakeLists.txt gr-osmosdr/CMakeLists.txt
 }

Added: boost-1.73.patch
===
--- boost-1.73.patch(rev 0)
+++ boost-1.73.patch2020-12-06 22:19:01 UTC (rev 771267)
@@ -0,0 +1,72 @@
+diff -upr 
SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/airspy/airspy_source_c.cc 
SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/airspy/airspy_source_c.cc
+--- SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/airspy/airspy_source_c.cc   
2017-04-30 01:03:31.0 +0300
 SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/airspy/airspy_source_c.cc
2020-12-07 00:10:20.896211424 +0200
+@@ -33,7 +33,6 @@
+ 
+ #include 
+ #include 
+-#include 
+ #include 
+ #include 
+ 
+diff -upr 
SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/hackrf/hackrf_sink_c.cc 
SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/hackrf/hackrf_sink_c.cc
+--- SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/hackrf/hackrf_sink_c.cc 
2017-04-30 01:03:31.0 +0300
 SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/hackrf/hackrf_sink_c.cc  
2020-12-07 00:16:19.417763264 +0200
+@@ -39,7 +39,6 @@
+ 
+ #include 
+ #include 
+-#include 
+ #include 
+ #include 
+ 
+diff -upr 
SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/hackrf/hackrf_source_c.cc 
SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/hackrf/hackrf_source_c.cc
+--- SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/hackrf/hackrf_source_c.cc   
2017-04-30 01:03:31.0 +0300
 SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/hackrf/hackrf_source_c.cc
2020-12-07 00:11:15.317449319 +0200
+@@ -32,7 +32,7 @@
+ 
+ #include 
+ #include 
+-#include 
++#include 
+ #include 
+ #include 
+ 
+@@ -125,10 +125,10 @@ hackrf_source_c::hackrf_source_c (const
+ 
+   // create a lookup table for gr_complex values
+   for (unsigned int i = 0; i <= 0x; i++) {
+-#ifdef BOOST_LITTLE_ENDIAN
++#ifdef BOOST_ENDIAN_LITTLE_BYTE
+ _lut.push_back( gr_complex( (float(int8_t(i & 0xff))) * (1.0f/128.0f),
+ (float(int8_t(i >> 8))) * (1.0f/128.0f) ) );
+-#else // BOOST_BIG_ENDIAN
++#else // BOOST_ENDIAN_BIG_BYTE
+ _lut.push_back( gr_complex( (float(int8_t(i >> 8))) * (1.0f/128.0f),
+ (float(int8_t(i & 0xff))) * (1.0f/128.0f) ) );
+ #endif
+diff -upr SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/rtl/rtl_source_c.cc 
SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/rtl/rtl_source_c.cc
+--- SoapyOsmo-soapy-osmo-0.2.5.orig/gr-osmosdr/lib/rtl/rtl_source_c.cc 
2017-04-30 01:03:31.0 +0300
 SoapyOsmo-soapy-osmo-0.2.5/gr-osmosdr/lib/rtl/rtl_source_c.cc  
2020-12-07 00:14:15.811581477 +0200
+@@ -32,7 +32,7 @@
+ 
+ #include 
+ #include 
+-#include 
++#include 
+ #include 
+ 
+ #include 
+@@ -173,10 +173,10 @@ rtl_source_c::rtl_source_c (const std::s
+ 
+   // create a lookup table for gr_complex values
+   for (unsigned int i = 0; i <= 0x; i++) {
+-#ifdef BOOST_LITTLE_ENDIAN
++#ifdef BOOST_ENDIAN_LITTLE_BYTE
+ _lut.push_back( gr_complex( (float(i & 0xff) - 127.4f) * (1.0f/128.0f),
+ (float(i >> 8) - 127.4f) * (1.0f/128.0f) ) );
+-#else // BOOST_BIG_ENDIAN
++#else // BOOST_ENDIAN_BIG_BYTE
+ _lut.push_back( gr_complex( (float(i >> 8) - 127.4f) * (1.0f/128.0f),
+ (float(i & 0xff) - 127.4f) * (1.0f/128.0f) ) 
);
+ #endif


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2020-04-05 Thread Filipe Laíns via arch-commits
Date: Sunday, April 5, 2020 @ 19:47:46
  Author: ffy00
Revision: 611947

upgpkg: soapyosmo 0.2.5-6 (rebuild for soapysdr 0.7.2)

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-05 19:47:42 UTC (rev 611946)
+++ PKGBUILD2020-04-05 19:47:46 UTC (rev 611947)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=5
+pkgrel=6
 pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2020-03-12 Thread Kyle Keen via arch-commits
Date: Friday, March 13, 2020 @ 02:55:26
  Author: kkeen
Revision: 595635

upgpkg: soapyosmo 0.2.5-5  osmosdr rebuild

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-13 02:46:38 UTC (rev 595634)
+++ PKGBUILD2020-03-13 02:55:26 UTC (rev 595635)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=4
+pkgrel=5
 pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 02:21:02
  Author: felixonmars
Revision: 556972

boost 1.72.0 rebuild

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-28 02:20:43 UTC (rev 556971)
+++ PKGBUILD2020-01-28 02:21:02 UTC (rev 556972)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=3
+pkgrel=4
 pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2019-09-13 Thread Evangelos Foutras via arch-commits
Date: Friday, September 13, 2019 @ 13:18:59
  Author: foutrelis
Revision: 510326

boost 1.71.0 rebuild

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-13 13:17:54 UTC (rev 510325)
+++ PKGBUILD2019-09-13 13:18:59 UTC (rev 510326)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=2
+pkgrel=3
 pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2019-09-13 Thread Evangelos Foutras via arch-commits
Date: Friday, September 13, 2019 @ 13:17:54
  Author: foutrelis
Revision: 510325

Fix prepare()

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-13 13:13:25 UTC (rev 510324)
+++ PKGBUILD2019-09-13 13:17:54 UTC (rev 510325)
@@ -20,8 +20,9 @@
 
sha512sums=('a1aa5f3c84f5e9cf8cc0329445836162586c3fd301f126310e2a3131c170f1d213fcb214162a28c448a49f57fcf177b7a00d10967ba88a8434a6ac26fa2264e8')
 
 prepare() {
-  sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS 
"${CMAKE_CXX_FLAGS} -pthread")|' $_pkgname-$_gitver/CMakeLists.txt
-  sed 's|SET(BOOST_REQUIRED_COMPONENTS|SET(BOOST_REQUIRED_COMPONENTS chrono|' 
-i CMakeLists.txt gr-osmosdr/CMakeLists.txt
+  cd $_pkgname-$_gitver
+  sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS 
"${CMAKE_CXX_FLAGS} -pthread")|' CMakeLists.txt
+  sed -i 's|SET(BOOST_REQUIRED_COMPONENTS|SET(BOOST_REQUIRED_COMPONENTS 
chrono|' CMakeLists.txt gr-osmosdr/CMakeLists.txt
 }
 
 build() {


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2019-09-13 Thread Levente Polyak via arch-commits
Date: Friday, September 13, 2019 @ 10:15:42
  Author: anthraxx
Revision: 510141

add required boost chrono lib for boost 1.71

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-13 10:14:54 UTC (rev 510140)
+++ PKGBUILD2019-09-13 10:15:42 UTC (rev 510141)
@@ -21,6 +21,7 @@
 
 prepare() {
   sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS 
"${CMAKE_CXX_FLAGS} -pthread")|' $_pkgname-$_gitver/CMakeLists.txt
+  sed 's|SET(BOOST_REQUIRED_COMPONENTS|SET(BOOST_REQUIRED_COMPONENTS chrono|' 
-i CMakeLists.txt gr-osmosdr/CMakeLists.txt
 }
 
 build() {


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2019-05-26 Thread Filipe Laíns via arch-commits
Date: Sunday, May 26, 2019 @ 11:06:00
  Author: ffy00
Revision: 470826

Standardize $pkgdesc between all SoapySDR plugins

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-26 10:05:25 UTC (rev 470825)
+++ PKGBUILD2019-05-26 11:06:00 UTC (rev 470826)
@@ -5,7 +5,7 @@
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
 pkgrel=2
-pkgdesc='SoapySDR plugins for OsmoSDR devices'
+pkgdesc='Soapy SDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'
 license=('GPL3')
@@ -34,7 +34,7 @@
-DUSE_OSMO_HACKRF=ON \
-DUSE_OSMO_AIRSPY=ON
 
-#  -DUSE_OSMO_BLADERF=ON \
+#  -DUSE_OSMO_BLADERF=ON
 
   make
 }


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2019-01-15 Thread Evangelos Foutras via arch-commits
Date: Tuesday, January 15, 2019 @ 09:14:54
  Author: foutrelis
Revision: 423221

boost 1.69.0 rebuild

Modified:
  soapyosmo/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-15 09:13:54 UTC (rev 423220)
+++ PKGBUILD2019-01-15 09:14:54 UTC (rev 423221)
@@ -4,7 +4,7 @@
 _pkgname=SoapyOsmo
 pkgver=0.2.5
 _gitver=soapy-osmo-$pkgver
-pkgrel=1
+pkgrel=2
 pkgdesc='SoapySDR plugins for OsmoSDR devices'
 arch=('x86_64')
 url='https://github.com/pothosware/SoapyOsmo'


[arch-commits] Commit in soapyosmo/trunk (PKGBUILD)

2018-11-24 Thread Filipe Laíns via arch-commits
Date: Saturday, November 24, 2018 @ 19:55:20
  Author: ffy00
Revision: 409643

upgpkg: soapyosmo 0.2.5-1

Added:
  soapyosmo/trunk/PKGBUILD

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

Added: PKGBUILD
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-24 19:55:20 UTC (rev 409643)
@@ -0,0 +1,47 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+pkgname=soapyosmo
+_pkgname=SoapyOsmo
+pkgver=0.2.5
+_gitver=soapy-osmo-$pkgver
+pkgrel=1
+pkgdesc='SoapySDR plugins for OsmoSDR devices'
+arch=('x86_64')
+url='https://github.com/pothosware/SoapyOsmo'
+license=('GPL3')
+depends=('soapysdr' 'gnuradio-osmosdr' 'boost-libs')
+makedepends=('cmake' 'boost' 'airspy' 'hackrf' 'libosmosdr' 'rtl-sdr') # 
'bladerf'
+optdepends=('airspy: AirSpy support'
+'hackrf: HackRF support'
+'libosmosdr: OsmoSDR support'
+'rtl-sdr: RTL-SDR support')
+#'bladerf: BladeRF support'
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('a1aa5f3c84f5e9cf8cc0329445836162586c3fd301f126310e2a3131c170f1d213fcb214162a28c448a49f57fcf177b7a00d10967ba88a8434a6ac26fa2264e8')
+
+prepare() {
+  sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS 
"${CMAKE_CXX_FLAGS} -pthread")|' $_pkgname-$_gitver/CMakeLists.txt
+}
+
+build() {
+  mkdir -p $_pkgname-$_gitver/build
+  cd $_pkgname-$_gitver/build
+
+  cmake .. \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DUSE_OSMO_RTLSDR=ON \
+   -DUSE_OSMO_HACKRF=ON \
+   -DUSE_OSMO_AIRSPY=ON
+
+#  -DUSE_OSMO_BLADERF=ON \
+
+  make
+}
+
+package() {
+  cd $_pkgname-$_gitver/build
+
+  make DESTDIR="$pkgdir" install
+}
+