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

Kyle Keen kkeen at archlinux.org
Fri Mar 13 01:29:13 UTC 2020


    Date: Friday, March 13, 2020 @ 01:29:11
  Author: kkeen
Revision: 595630

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 595629, gnuradio-osmosdr/trunk/PKGBUILD)

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

Copied: gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD (from rev 595629, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-03-13 01:29:11 UTC (rev 595630)
@@ -0,0 +1,43 @@
+# 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=1
+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")
+md5sums=('SKIP')
+
+# add support for miri, osmo?
+
+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
+}



More information about the arch-commits mailing list