New package: uhd-3.13.0.2_1

[ci skip]
This commit is contained in:
Remi Pommarel 2018-11-09 14:33:02 +01:00 committed by maxice8
parent a156c557cb
commit 13575ee0f0
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
5 changed files with 68 additions and 0 deletions

View file

@ -3381,3 +3381,4 @@ libcaf_core.so.0.16.2 bro-2.6.1_1
libcaf_openssl.so.0.16.2 bro-2.6.1_1
libllhttp.so.1 llhttp-1.0.1_1
libpinyin.so.13 libpinyin-2.2.1_1
libuhd.so.3 uhd-3.13.0.2_1

1
srcpkgs/uhd-devel Symbolic link
View file

@ -0,0 +1 @@
uhd

1
srcpkgs/uhd-doc Symbolic link
View file

@ -0,0 +1 @@
uhd

View file

@ -0,0 +1,25 @@
From 5c012cad7858cadcaa85ec295080f3c8b21fdee0 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@ettus.com>
Date: Wed, 9 Jan 2019 09:17:07 -0800
Subject: [PATCH] lib: experts: Add potentially missing but sometimes inferred
include
This adds an include for boost/core/noncopyable.hpp. Without it, builds
would potentially fail on Boost 1.69++.
---
host/lib/include/uhdlib/experts/expert_nodes.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/host/lib/include/uhdlib/experts/expert_nodes.hpp b/host/lib/include/uhdlib/experts/expert_nodes.hpp
index 697ca19c3..8fa183835 100644
--- host/lib/include/uhdlib/experts/expert_nodes.hpp
+++ host/lib/include/uhdlib/experts/expert_nodes.hpp
@@ -12,6 +12,7 @@
#include <uhd/exception.hpp>
#include <uhd/utils/dirty_tracked.hpp>
#include <uhd/types/time_spec.hpp>
+#include <boost/core/noncopyable.hpp>
#include <boost/function.hpp>
#include <boost/thread/recursive_mutex.hpp>
#include <boost/thread.hpp>

40
srcpkgs/uhd/template Normal file
View file

@ -0,0 +1,40 @@
# Template file for 'uhd'
pkgname=uhd
version=3.13.0.2
revision=1
wrksrc="${pkgname}-${version}"
build_wrksrc=host
build_style=cmake
hostmakedepends="doxygen pkg-config"
makedepends="python-Mako libusb-devel python-numpy python-devel boost-devel"
short_desc="Ettus USRP Hardware driver library"
maintainer="Remi Pommarel <repk@triplefau.lt>"
license="GPL-3.0-or-later"
homepage="https://files.ettus.com/"
distfiles="https://github.com/EttusResearch/uhd/archive/v${version}.tar.gz"
checksum=e18d0524cbf571be4847fd7f971dc30c37efd9e7a333761b74e1266a07cbd35b
post_install() {
rm -rf ${DESTDIR}/usr/lib/uhd/tests
}
uhd-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man1
vmove usr/lib/pkgconfig
vmove usr/lib/uhd/examples
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}
uhd-doc_package() {
short_desc+=" - doc files"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}