mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
community/libuhd to 3.15.0.0-1
This commit is contained in:
parent
b40c633a9d
commit
bd5fea6eaf
1 changed files with 6 additions and 12 deletions
|
@ -5,25 +5,19 @@
|
|||
# - set -DNEON_SIMD_ENABLE=OFF
|
||||
|
||||
pkgname=libuhd
|
||||
pkgver=3.14.1.0
|
||||
pkgrel=2
|
||||
pkgver=3.15.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
|
||||
arch=('x86_64')
|
||||
url="http://www.ettus.com/kb/category/software-documentation/uhd-manual"
|
||||
license=('GPL')
|
||||
depends=('boost-libs' 'orc' 'libusb')
|
||||
optdepends=('python2: usrp utils')
|
||||
makedepends=('cmake' 'boost' 'python2-mako')
|
||||
optdepends=('python: usrp utils')
|
||||
makedepends=('cmake' 'boost' 'python-mako')
|
||||
# gpsd? dpdk?
|
||||
|
||||
source=("libuhd-$pkgver.tar.gz::https://github.com/EttusResearch/uhd/archive/v$pkgver.tar.gz")
|
||||
md5sums=('2eaad9beeff8c6d9716c93d580fb7b1c')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/uhd-$pkgver"
|
||||
# fix for py2
|
||||
find -name "*.py" -or -name '*.py.in' | xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
|
||||
}
|
||||
md5sums=('cf589d5130ebd8348e3dbf129a7c5c38')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/uhd-$pkgver/host"
|
||||
|
@ -31,7 +25,7 @@ build() {
|
|||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||||
-DENABLE_EXAMPLES=OFF \
|
||||
-DENABLE_UTILS=ON \
|
||||
-DENABLE_TESTS=OFF \
|
||||
|
|
Loading…
Reference in a new issue