[arch-commits] Commit in gnuradio-osmosdr/repos (3 files)

Kyle Keen kkeen at archlinux.org
Fri May 29 05:30:08 UTC 2020


    Date: Friday, May 29, 2020 @ 05:30:08
  Author: kkeen
Revision: 636965

archrelease: copy trunk to community-staging-x86_64

Added:
  gnuradio-osmosdr/repos/community-staging-x86_64/
  gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD
    (from rev 636964, gnuradio-osmosdr/trunk/PKGBUILD)
  gnuradio-osmosdr/repos/community-staging-x86_64/gnuradio-osmosdr.pc
    (from rev 636964, gnuradio-osmosdr/trunk/gnuradio-osmosdr.pc)

---------------------+
 PKGBUILD            |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 gnuradio-osmosdr.pc |   15 +++++++++++++++
 2 files changed, 63 insertions(+)

Copied: gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD (from rev 636964, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-29 05:30:08 UTC (rev 636965)
@@ -0,0 +1,48 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com?>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+
+pkgname=gnuradio-osmosdr
+_reponame=gr-osmosdr
+pkgver=0.2.0
+pkgrel=4
+pkgdesc='Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices'
+url='http://osmocom.org/projects/gr-osmosdr'
+arch=('x86_64')
+license=('GPL')
+depends=('gnuradio' 'libvolk' 'gnuradio-iqbal' 'rtl-sdr' 'gnuradio-fcdproplus' 'hackrf' 'bladerf' 'airspy' 'soapysdr')
+optdepends=('python-opengl: osmocom_fft')
+makedepends=('git' 'cmake' 'boost' 'swig')
+replaces=('gr-osmosdr')
+source=("git://git.osmocom.org/gr-osmosdr/#tag=v$pkgver"
+        "gnuradio-osmosdr.pc")
+md5sums=('SKIP'
+         'a62fdf732f8a9a59f667bbda5542a824')
+
+# add support for miri, osmo?
+# figure out what happened to libtool
+
+build() {
+  cd $_reponame
+
+  mkdir -p build
+  cd build
+
+  cmake \
+    -Wno-dev \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPYTHON_EXECUTABLE="$(which python3)" \
+    -DPYTHON_INCLUDE_DIR="$(echo /usr/include/python3*)" \
+    -DPYTHON_LIBRARY="$(echo /usr/lib/libpython3.*.so)" \
+    -DBoost_NO_BOOST_CMAKE=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr ../
+
+  make
+}
+
+package() {
+  cd $_reponame/build
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/gnuradio-osmosdr.pc" "$pkgdir/usr/lib/pkgconfig/gnuradio-osmosdr.pc"
+}

Copied: gnuradio-osmosdr/repos/community-staging-x86_64/gnuradio-osmosdr.pc (from rev 636964, gnuradio-osmosdr/trunk/gnuradio-osmosdr.pc)
===================================================================
--- community-staging-x86_64/gnuradio-osmosdr.pc	                        (rev 0)
+++ community-staging-x86_64/gnuradio-osmosdr.pc	2020-05-29 05:30:08 UTC (rev 636965)
@@ -0,0 +1,15 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: gnuradio-osmosdr
+Description: GNU Radio block for various radio hardware
+URL: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
+Version: v0.2.0
+Requires: gnuradio-runtime gnuradio-blocks
+Requires.private: 
+Conflicts:
+Cflags: -I${includedir} -I/usr/include
+Libs: -L${libdir} -lgnuradio-osmosdr
+Libs.private: -L/usr/lib


More information about the arch-commits mailing list