From 09510cd15d44e94f0d47755d5bf8d572d9e4ca6c 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 00000000000000..e70244f342ab91 --- /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 00000000000000..b73fd13cd62f7f --- /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 f47865c0cfadb64c129d4f99ec66076d80bfe0f1 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 393b7436cefa27..59443ab0157800 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 2c920f19b5dd15..8d30817ce3411c 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 50b6cc89581e2347355192074ced67f6145d84c9 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 48d8acd9e6d389..5d23934afa7d55 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 33f90d53da1d09ac979d47c0428d9ab10f5c9837 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 a1e1f75c8f6bc2..164f1cce947022 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 3bec44ec7de4447553d9c33142c3c94b87464d13 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 ccf41d0e87b457..255ee7b753add3 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)"