[arch-commits] Commit in libuhd/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Wed Apr 22 08:30:51 UTC 2015
Date: Wednesday, April 22, 2015 @ 10:30:50
Author: kkeen
Revision: 131900
upgpkg: libuhd 3.8.3-1 and boost 1.58 rebuild
Modified:
libuhd/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-22 08:29:30 UTC (rev 131899)
+++ PKGBUILD 2015-04-22 08:30:50 UTC (rev 131900)
@@ -3,8 +3,8 @@
# Contributor: Dominik Heidler <dheidler at gmail.com>
pkgname=libuhd
-pkgver=3.8.1
-_verstring=003_008_001
+pkgver=3.8.3
+_verstring='003_008_003-1' # hopefully -X is temporary
pkgrel=1
pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
arch=('x86_64' 'i686')
@@ -15,12 +15,15 @@
makedepends=('cmake' 'boost' 'python2-cheetah')
source=("libuhd-$pkgver.tar.gz::https://github.com/EttusResearch/uhd/archive/release_${_verstring}.tar.gz")
-md5sums=('efdea7f94472aa1f44ebb3e00fe55360')
+md5sums=('7780250fec465db5081a387f1216c128')
build() {
cd "$srcdir/uhd-release_$_verstring/host"
# fix for py2
find -name "*.py" -or -name '*.py.in' | xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
+
+ # fix for boost 1.58, already in git
+ sed -i 's|return NULL;|return uhd::msg_task::msg_type_t(0, uhd::msg_task::msg_payload_t());|' lib/usrp/b200/b200_io_impl.cpp
mkdir -p build
cd build
@@ -29,7 +32,8 @@
-DENABLE_EXAMPLES=OFF \
-DENABLE_UTILS=ON \
-DENABLE_TESTS=OFF \
- -DENABLE_E100=ON
+ -DENABLE_E100=ON \
+ -DENABLE_E300=ON
make
}
More information about the arch-commits
mailing list