[arch-commits] Commit in hamlib/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Jul 30 13:12:47 UTC 2020
Date: Thursday, July 30, 2020 @ 13:12:47
Author: ffy00
Revision: 665912
upgpkg: hamlib 3.3-8 (Lua 5.4 rebuild 2)
Sorry for the bad history! hamlib is not compiling with the current UHD so I had
to disable it. See https://github.com/Hamlib/Hamlib/issues/355.
Modified:
hamlib/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-30 12:27:00 UTC (rev 665911)
+++ PKGBUILD 2020-07-30 13:12:47 UTC (rev 665912)
@@ -7,8 +7,8 @@
arch=('x86_64')
url='https://hamlib.github.io'
license=('GPL' 'LGPL')
-depends=('perl' 'python' 'lua' 'tcl' 'libxml2' 'libusb-compat' 'libtool' 'libuhd')
-makedepends=('swig')
+depends=('perl' 'python' 'lua' 'tcl' 'libxml2' 'libusb-compat' 'libtool' 'libuhd' 'boost-libs')
+makedepends=('swig' 'boost')
source=("https://github.com/Hamlib/Hamlib/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
'fix-lua-5.4.patch::https://github.com/Hamlib/Hamlib/commit/038b87b29913b5264c00eafaf06a3cc13dc16db7.patch')
sha512sums=('4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80'
@@ -20,8 +20,11 @@
cd $pkgname-$pkgver
sed -i 's|usrp|uhd|g' configure.ac
+ sed -i 's|#include <usrp_standard.h>|#include <uhd.h>|' kit/usrp_impl.cc
patch -p1 -i ../fix-lua-5.4.patch
+
+ autoreconf -vif
}
build() {
@@ -35,7 +38,7 @@
--with-tcl-binding \
--with-lua-binding \
--with-xml-support \
- --enable-uhd
+ --disable-uhd # https://github.com/Hamlib/Hamlib/issues/355
make
}
More information about the arch-commits
mailing list