[arch-commits] Commit in soapyosmo/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Sunday, April 5, 2020 @ 19:47:52
  Author: ffy00
Revision: 611948

archrelease: copy trunk to community-x86_64

Added:
  soapyosmo/repos/community-x86_64/PKGBUILD
    (from rev 611947, soapyosmo/trunk/PKGBUILD)
Deleted:
  soapyosmo/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-05 19:47:46 UTC (rev 611947)
+++ PKGBUILD	2020-04-05 19:47:52 UTC (rev 611948)
@@ -1,49 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=soapyosmo
-_pkgname=SoapyOsmo
-pkgver=0.2.5
-_gitver=soapy-osmo-$pkgver
-pkgrel=5
-pkgdesc='Soapy SDR 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() {
-  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() {
-  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
-}
-

Copied: soapyosmo/repos/community-x86_64/PKGBUILD (from rev 611947, soapyosmo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-05 19:47:52 UTC (rev 611948)
@@ -0,0 +1,49 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapyosmo
+_pkgname=SoapyOsmo
+pkgver=0.2.5
+_gitver=soapy-osmo-$pkgver
+pkgrel=6
+pkgdesc='Soapy SDR 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() {
+  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() {
+  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
+}
+



More information about the arch-commits mailing list