Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
libuhd
Commits:
a65e6586 by Carl Smedstad at 2025-02-08T16:51:09+01:00
upgpkg: 4.8.0.0-2: Add missing deps
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,22 +1,24 @@
pkgbase = libuhd
pkgdesc = Universal Software Radio Peripheral (USRP) userspace driver
pkgver = 4.8.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/EttusResearch/uhd
arch = x86_64
license = GPL-3.0-or-later
checkdepends = python-requests
makedepends = boost
makedepends = cmake
+ makedepends = dpdk
makedepends = git
+ makedepends = pybind11
makedepends = python-mako
makedepends = python-numpy
+ makedepends = python-ruamel-yaml
makedepends = python-setuptools
depends = boost-libs
depends = gcc-libs
depends = glibc
depends = libusb
- depends = orc
optdepends = python-mako: for imgbuilder
optdepends = python-numpy: for Python bindings
optdepends = python: for Python bindings and USRP utils
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=libuhd
pkgver=4.8.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
arch=(x86_64)
url="https://github.com/EttusResearch/uhd"
@@ -14,14 +14,17 @@ depends=(
gcc-libs
glibc
libusb
- orc
)
makedepends=(
boost
cmake
+ # doxygen
+ dpdk
git
+ pybind11
python-mako
python-numpy
+ python-ruamel-yaml
python-setuptools
)
checkdepends=(python-requests)
@@ -35,8 +38,7 @@ source=("git+$url.git#tag=v$pkgver")
sha256sums=('7611ee150deac0d9053d6de662c90767d7edc25319dd23c27ff81ced73aceea5')
build() {
- cd uhd
- cmake -S host -B build \
+ cmake -S uhd/host -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev \
@@ -44,18 +46,17 @@ build() {
-DENABLE_EXAMPLES=ON \
-DENABLE_UTILS=ON \
-DENABLE_TESTS=ON \
- -DENABLE_E300=ON
+ -DENABLE_E300=ON \
+ -DENABLE_SIM=ON
cmake --build build
}
check() {
- cd uhd
ctest --test-dir build --output-on-failure
}
package() {
- cd uhd
DESTDIR="$pkgdir" cmake --install build
- install -vDm644 host/utils/uhd-usrp.rules \
+ install -vDm644 uhd/host/utils/uhd-usrp.rules \
"$pkgdir/usr/lib/udev/rules.d/10-uhd-usrp.rules"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libuhd/-/commit/a65e6586f731bf725e9ec1e200a7317faa1cda86
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libuhd/-/commit/a65e6586f731bf725e9ec1e200a7317faa1cda86
You're receiving this email because of your account on gitlab.archlinux.org.