quisk: update to 4.2.50, use Python 3.14

This commit is contained in:
Renee Otten
2026-01-21 10:18:05 -05:00
committed by ra1nb0w
parent f3407e1b31
commit 132f39dd10
2 changed files with 8 additions and 37 deletions
+8 -21
View File
@@ -10,27 +10,20 @@ legacysupport.newest_darwin_requires_legacy 15
name quisk
categories science comms
platforms darwin
license GPL-2
maintainers {ra1nb0w @ra1nb0w} openmaintainer
description QUISK is a Software Defined Radio (SDR) transceiver that can control various radio hardware.
long_description ${description}
long_description {*}${description}
homepage http://james.ahlstrom.name/quisk/
homepage https://james.ahlstrom.name/quisk/
version 4.2.18
checksums rmd160 4330e086566ae7665e3737884a5032a8ce1f0a2b \
sha256 b3adf67bf15fe9dfccbfdc920ebc2ece189a8035637409a260dbdeeb52a2cada \
size 4805151
revision 1
version 4.2.50
checksums rmd160 dfeed1052a763ffeb6ae508d88f2d1c79d049547 \
sha256 1c5661549c4351e14315ba166068ae2581bc7dbfb179604a2a2ffab81883a7ce \
size 13144971
revision 0
python.default_version 39
patchfiles-append \
codec2_fix_freedv.c.patch
depends_build-append \
port:py${python.version}-setuptools
python.default_version 314
depends_lib-append \
port:py${python.version}-pyusb \
@@ -41,12 +34,6 @@ depends_lib-append \
port:codec2 \
port:wdsp
post-patch {
reinplace "s|@PREFIX_LIB@|${prefix}/lib|g" \
${worksrcpath}/freedv.c
}
app.create yes
app.name Quisk
app.executable ${python.prefix}/bin/quisk
@@ -1,16 +0,0 @@
diff --git freedv.c freedv.c
index 39f4e89..921a7a6 100755
--- freedv.c
+++ freedv.c
@@ -48,7 +48,11 @@ HMODULE WINAPI hLib;
#else
#include <dlfcn.h>
void * hLib;
+#ifdef __APPLE__
+#define GET_HANDLE1 hLib = dlopen("@PREFIX_LIB@/libcodec2.dylib", RTLD_LAZY)
+#else
#define GET_HANDLE1 hLib = dlopen("libcodec2.so", RTLD_LAZY)
+#endif
#define GET_HANDLE2 hLib = dlopen("./freedvpkg/libcodec2.so", RTLD_LAZY)
#define GET_HANDLE3 hLib = dlopen("./freedvpkg/libcodec2_32.so", RTLD_LAZY)
#define GET_HANDLE4 hLib = dlopen("./freedvpkg/libcodec2_64.so", RTLD_LAZY)