Skip to content

Commit 99ce073

Browse files
committed
fixed issues. added pxd file.
1 parent f6b31a9 commit 99ce073

21 files changed

Lines changed: 160 additions & 453 deletions

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023-2024 GvozdevLeonid
3+
Copyright (c) 2023-2025 GvozdevLeonid
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

android/libhackrf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class LibhackrfRecipe(NDKRecipe):
1212

13-
url = 'https://github.com/greatscottgadgets/hackrf/releases/download/v{version}/hackrf-{version}.tar.xz'
13+
url = 'https://github.com/greatscottgadgets/hackrf/archive/refs/tags/v{version}.tar.gz'
1414
patches = ('hackrf_android.patch', )
1515
generated_libraries = ('libhackrf.so', )
1616
site_packages_name = 'libhackrf'

android/libhackrf/jni/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
# Copyright (c) 2023-2024 GvozdevLeonid
3+
# Copyright (c) 2023-2025 GvozdevLeonid
44

55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal

android/libhackrf/jni/Application.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
# Copyright (c) 2023-2024 GvozdevLeonid
3+
# Copyright (c) 2023-2025 GvozdevLeonid
44

55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal

android/libhackrf/jni/libhackrf.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
# Copyright (c) 2023-2024 GvozdevLeonid
3+
# Copyright (c) 2023-2025 GvozdevLeonid
44

55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal
@@ -34,8 +34,9 @@ LOCAL_EXPORT_C_INCLUDES := $(LIBUSB_ROOT_ABS)/host/libhackrf/src
3434
LOCAL_CFLAGS := \
3535
-I$(LIBHACKRF_ROOT_ABS)/android/libusb \
3636
-DLIBRARY_VERSION=\"$(LIBRARY_VERSION)\" \
37-
-DLIBRARY_RELEASE=\"$(LIBRARY_RELEASE)\" \
38-
-pthread
37+
-DLIBRARY_RELEASE=\"$(LIBRARY_RELEASE)\"
38+
39+
LOCAL_LDFLAGS := -pthread
3940

4041
LOCAL_LDLIBS := -L$(LOCAL_PATH) -lusb1.0 -llog
4142

android/python_hackrf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class PythonHackrfRecipe(CythonRecipe):
1212
depends = ('python3', 'setuptools', 'numpy', 'pyjnius', 'libhackrf')
1313
site_packages_name = 'python_hackrf'
1414
name = 'python_hackrf'
15-
version = '1.2.7'
15+
version = '1.2.8'
1616

1717
def get_recipe_env(self, arch: Arch) -> dict:
1818
env = super().get_recipe_env(arch)

python_hackrf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '1.2.7'
1+
__version__ = '1.2.8'
22

33
from python_hackrf.pylibhackrf import pyhackrf # noqa F401
44
from python_hackrf.pyhackrf_tools import ( # noqa F401

python_hackrf/pyhackrf_tools/pyhackrf_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
# Copyright (c) 2023-2024 GvozdevLeonid
3+
# Copyright (c) 2023-2025 GvozdevLeonid
44

55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal

python_hackrf/pyhackrf_tools/pyhackrf_operacake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
# Copyright (c) 2023-2024 GvozdevLeonid
3+
# Copyright (c) 2023-2025 GvozdevLeonid
44

55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal

python_hackrf/pyhackrf_tools/pyhackrf_sweep.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
# Copyright (c) 2023-2024 GvozdevLeonid
3+
# Copyright (c) 2023-2025 GvozdevLeonid
44

55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal
@@ -21,7 +21,6 @@
2121
# SOFTWARE.
2222

2323
# cython: language_level=3str
24-
2524
try:
2625
from pyfftw.interfaces.numpy_fft import fft, fftshift # type: ignore
2726
except ImportError:

0 commit comments

Comments
 (0)