Date: Thursday, May 5, 2022 @ 06:45:43 Author: arojas Revision: 1195478
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 1195477, gnuradio-osmosdr/trunk/PKGBUILD) gnuradio-osmosdr/repos/community-staging-x86_64/gnuradio-osmosdr.pc (from rev 1195477, gnuradio-osmosdr/trunk/gnuradio-osmosdr.pc) ---------------------+ PKGBUILD | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ gnuradio-osmosdr.pc | 15 +++++++++++++ 2 files changed, 70 insertions(+) Copied: gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD (from rev 1195477, gnuradio-osmosdr/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-05 06:45:43 UTC (rev 1195478) @@ -0,0 +1,55 @@ +# Maintainer: Kyle Keen <keen...@gmail.com?> +# Contributor: Dominik Heidler <dheid...@gmail.com> + +pkgname=gnuradio-osmosdr +_reponame=gr-osmosdr +pkgver=0.2.3 +_commit=a100eb02 # WHY no new tag for gr39 & pybind? +pkgrel=10 +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' 'hackrf' 'bladerf' 'airspy' 'soapysdr') +optdepends=('python-opengl: osmocom_fft') +makedepends=('git' 'cmake' 'boost' 'spdlog') +replaces=('gr-osmosdr') +#source=("git://git.osmocom.org/gr-osmosdr/#tag=v$pkgver" +source=("git://git.osmocom.org/gr-osmosdr/#commit=$_commit" + "gnuradio-osmosdr.pc") +md5sums=('SKIP' + 'a62fdf732f8a9a59f667bbda5542a824') + +# add support for miri, osmo? +# figure out what happened to libtool +# gnuradio-fcdproplus doesn't support pybind, remove from osmosdr for now + +prepare() { + cd $_reponame +} + +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 1195477, gnuradio-osmosdr/trunk/gnuradio-osmosdr.pc) =================================================================== --- community-staging-x86_64/gnuradio-osmosdr.pc (rev 0) +++ community-staging-x86_64/gnuradio-osmosdr.pc 2022-05-05 06:45:43 UTC (rev 1195478) @@ -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