[arch-commits] Commit in gnuradio-osmosdr/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Wed Aug 21 02:12:45 UTC 2019
Date: Wednesday, August 21, 2019 @ 02:12:44
Author: kkeen
Revision: 500364
upgpkg: gnuradio-osmosdr 0.1.5.r128.f3905d-1
Modified:
gnuradio-osmosdr/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-21 01:19:24 UTC (rev 500363)
+++ PKGBUILD 2019-08-21 02:12:44 UTC (rev 500364)
@@ -3,10 +3,10 @@
pkgname=gnuradio-osmosdr
_pkgname=gr-osmosdr
-_r=127
-_commit=4d83c6067f059b0c5015c3f59f8117bbd361e877
+_r=128
+_commit=f3905d3510dfb3851f946f097a9e2ddaa5fb333b
pkgver=0.1.5.r$_r.${_commit:0:6}
-pkgrel=2
+pkgrel=1
pkgdesc='Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices'
url='https://sdr.osmocom.org/trac/'
arch=('x86_64')
@@ -15,7 +15,9 @@
optdepends=('python2-opengl: osmocom_fft')
makedepends=('git' 'cmake' 'boost' 'python2-cheetah' 'swig')
replaces=('gr-osmosdr')
-source=("git://git.osmocom.org/gr-osmosdr#commit=$_commit")
+#source=("git://git.osmocom.org/gr-osmosdr#commit=$_commit")
+# use this random dude's repo, because where is osmocom?
+source=("git://github.com/igorauad/gr-osmosdr/#commit=$_commit")
md5sums=('SKIP')
# add support for miri, osmo?
@@ -23,21 +25,21 @@
prepare() {
cd $_pkgname
- sed -i 's/python$/python2/' apps/osmocom_siggen_base.py
+ #sed -i 's/python$/python2/' apps/osmocom_siggen_base.py
}
build() {
cd $_pkgname
- mkdir build
+ mkdir -p build
cd build
cmake \
-Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
- -DPYTHON_EXECUTABLE="$(which python2)" \
- -DPYTHON_INCLUDE_DIR="$(echo /usr/include/python2*)" \
- -DPYTHON_LIBRARY="$(echo /usr/lib/libpython2.*.so)" \
+ -DPYTHON_EXECUTABLE="$(which python3)" \
+ -DPYTHON_INCLUDE_DIR="$(echo /usr/include/python3*)" \
+ -DPYTHON_LIBRARY="$(echo /usr/lib/libpython3.*.so)" \
-DCMAKE_INSTALL_PREFIX=/usr ../
make
More information about the arch-commits
mailing list