From ccb43fd50a841fd419e47d4f94ee9c9cb8b35137 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 16 Dec 2023 11:00:29 -0600 Subject: [PATCH 1/5] New package: cpu_features-0.9.0 --- srcpkgs/cpu_features-devel | 1 + srcpkgs/cpu_features/template | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 120000 srcpkgs/cpu_features-devel create mode 100644 srcpkgs/cpu_features/template diff --git a/srcpkgs/cpu_features-devel b/srcpkgs/cpu_features-devel new file mode 120000 index 0000000000000..e70244f342ab9 --- /dev/null +++ b/srcpkgs/cpu_features-devel @@ -0,0 +1 @@ +cpu_features \ No newline at end of file diff --git a/srcpkgs/cpu_features/template b/srcpkgs/cpu_features/template new file mode 100644 index 0000000000000..d89008324c2aa --- /dev/null +++ b/srcpkgs/cpu_features/template @@ -0,0 +1,21 @@ +# Template file for 'cpu_features' +pkgname=cpu_features +version=0.9.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=NO" +short_desc="Cross platform C99 library to get cpu features at runtime" +maintainer="Andrew Benson " +license="Apache-2.0" +homepage="https://github.com/google/cpu_features" +distfiles="https://github.com/google/cpu_features/archive/v${version}.tar.gz" +checksum=bdb3484de8297c49b59955c3b22dba834401bc2df984ef5cfc17acbe69c5018e + +cpu_features-devel_package() { + short_desc+=" - development files" + depends+=" $sourcepkg>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib + } +} From 6fd4f887ff8e2d6d588f816aa79d1e743ba38c2c Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 16 Dec 2023 10:27:42 -0600 Subject: [PATCH 2/5] volk: update to 3.1.0. --- common/shlibs | 2 +- srcpkgs/volk/template | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 393b7436cefa2..59443ab015780 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3188,7 +3188,7 @@ libarcan_tui.so.0.15 arcan-0.6.1.1_1 libarcan_a12.so.0.1 arcan-0.6.1.1_1 liblwipv6.so.2 lwipv6-1.5a_1 libpipewire-0.3.so.0 libpipewire-0.3.6_1 -libvolk.so.3.0 volk-3.0.0_1 +libvolk.so.3.1 volk-3.1.0_1 libgnuradio-runtime.so.3.10.5 gnuradio-3.10.5.0_1 libgnuradio-pmt.so.3.10.5 gnuradio-3.10.5.0_1 libgnuradio-blocks.so.3.10.5 gnuradio-3.10.5.0_1 diff --git a/srcpkgs/volk/template b/srcpkgs/volk/template index 2c920f19b5dd1..8d30817ce3411 100644 --- a/srcpkgs/volk/template +++ b/srcpkgs/volk/template @@ -1,20 +1,20 @@ # Template file for 'volk' pkgname=volk -version=3.0.0 -revision=2 +version=3.1.0 +revision=1 _cpu_features_gitrev="188d0d3c383689cdb6bb70dc6da2469faec84f61" create_wrksrc=yes build_style=cmake configure_args="-DENABLE_LGPL=OFF" hostmakedepends="pkg-config python3-cheetah3 git python3-Mako python3-six" -makedepends="python3-cheetah3 python3-devel python3-Mako python3-six" +makedepends="python3-cheetah3 python3-devel python3-Mako python3-six cpu_features-devel" short_desc="Vector-Optimized Library of Kernels" maintainer="Andrew Benson " license="LGPL-3.0-or-later" homepage="http://libvolk.org/" distfiles="https://github.com/gnuradio/volk/archive/v${version}.tar.gz https://github.com/google/cpu_features/archive/${_cpu_features_gitrev}.tar.gz" -checksum="617c25a5a240e41e50d695851925541b19e011d516c3e0c288a5aeefb3ceb7fd +checksum="9a46d85d24435b8f221e1ae03d4e9e8458d4281e3e4d2b541a8844a55b7526ac ef383c81e84e7ce56eeb9207ded6937f0aefd6747c319d8d3265e6d9be164db1" case "$XBPS_TARGET_MACHINE" in From 5a19d5199a16ac331c821087819cc16810553180 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 16 Dec 2023 11:03:13 -0600 Subject: [PATCH 3/5] SDRPlusPlus: rebuild for volk --- srcpkgs/SDRPlusPlus/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/SDRPlusPlus/template b/srcpkgs/SDRPlusPlus/template index 48d8acd9e6d38..5d23934afa7d5 100644 --- a/srcpkgs/SDRPlusPlus/template +++ b/srcpkgs/SDRPlusPlus/template @@ -1,7 +1,7 @@ # Template file for 'SDRPlusPlus' pkgname=SDRPlusPlus version=1.0.4 -revision=2 +revision=3 build_style=cmake configure_args="-DOPT_BUILD_PLUTOSDR_SOURCE=0" hostmakedepends="pkg-config" From b1353463da75bd904582b78b1c6fdb9c7de670b2 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 16 Dec 2023 11:03:13 -0600 Subject: [PATCH 4/5] gnuradio: rebuild for volk --- srcpkgs/gnuradio/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gnuradio/template b/srcpkgs/gnuradio/template index a1e1f75c8f6bc..164f1cce94702 100644 --- a/srcpkgs/gnuradio/template +++ b/srcpkgs/gnuradio/template @@ -1,7 +1,7 @@ # Template file for 'gnuradio' pkgname=gnuradio version=3.10.5.1 -revision=5 +revision=6 build_style=cmake conf_files="/etc/gnuradio/conf.d/*" configure_args="-DMATHJAX2_USE_ROOT=/usr/share/mathjax From 22db9e4f74f7b2a161ef39697e0e48cd20d7b3ac Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 16 Dec 2023 11:03:13 -0600 Subject: [PATCH 5/5] gqrx: rebuild for volk --- srcpkgs/gqrx/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gqrx/template b/srcpkgs/gqrx/template index ccf41d0e87b45..255ee7b753add 100644 --- a/srcpkgs/gqrx/template +++ b/srcpkgs/gqrx/template @@ -1,7 +1,7 @@ # Template file for 'gqrx' pkgname=gqrx version=2.17.3 -revision=1 +revision=2 build_style=cmake configure_args="$(vopt_if gr_audio -DLINUX_AUDIO_BACKEND=Gr-audio) $(vopt_if portaudio -DLINUX_AUDIO_BACKEND=Portaudio)"