mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Update SDRplay to 3.12.1
This commit is contained in:
parent
7133cb6d74
commit
76286c376e
4 changed files with 1670 additions and 1757 deletions
|
@ -35,7 +35,7 @@ include_directories(src ${UHD_INCLUDE_DIRS})
|
||||||
# TODO: create FindSdrplay.cmake for this
|
# TODO: create FindSdrplay.cmake for this
|
||||||
add_library(sdrplay /usr/local/include/sdrplay_api.h)
|
add_library(sdrplay /usr/local/include/sdrplay_api.h)
|
||||||
set_target_properties(sdrplay PROPERTIES LINKER_LANGUAGE C)
|
set_target_properties(sdrplay PROPERTIES LINKER_LANGUAGE C)
|
||||||
target_link_libraries(sdrplay PUBLIC /usr/local/lib/libsdrplay_api.so.3.07)
|
target_link_libraries(sdrplay PUBLIC /usr/local/lib/libsdrplay_api.so.3.12)
|
||||||
|
|
||||||
add_executable(blah2
|
add_executable(blah2
|
||||||
src/blah2.cpp
|
src/blah2.cpp
|
||||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -23,12 +23,12 @@ RUN cd /blah2/lib && vcpkg integrate install \
|
||||||
&& vcpkg install --clean-after-build
|
&& vcpkg install --clean-after-build
|
||||||
|
|
||||||
# install SDRplay API
|
# install SDRplay API
|
||||||
RUN chmod +x /blah2/lib/sdrplay-3.0.7/SDRplay_RSP_API-Linux-3.07.1.run \
|
RUN chmod +x /blah2/lib/sdrplay-3.12.1/SDRplay_RSP_API-Linux-3.12.1.run \
|
||||||
&& /blah2/lib/sdrplay-3.0.7/SDRplay_RSP_API-Linux-3.07.1.run --tar -xvf -C /blah2/lib/sdrplay-3.0.7 \
|
&& /blah2/lib/sdrplay-3.12.1/SDRplay_RSP_API-Linux-3.12.1.run --tar -xvf -C /blah2/lib/sdrplay-3.12.1 \
|
||||||
&& cp /blah2/lib/sdrplay-3.0.7/x86_64/libsdrplay_api.so.3.07 /usr/local/lib/libsdrplay_api.so \
|
&& cp /blah2/lib/sdrplay-3.12.1/x86_64/libsdrplay_api.so.3.12 /usr/local/lib/libsdrplay_api.so \
|
||||||
&& cp /blah2/lib/sdrplay-3.0.7/x86_64/libsdrplay_api.so.3.07 /usr/local/lib/libsdrplay_api.so.3.07 \
|
&& cp /blah2/lib/sdrplay-3.12.1/x86_64/libsdrplay_api.so.3.12 /usr/local/lib/libsdrplay_api.so.3.12 \
|
||||||
&& cp /blah2/lib/sdrplay-3.0.7/inc/* /usr/local/include \
|
&& cp /blah2/lib/sdrplay-3.12.1/inc/* /usr/local/include \
|
||||||
&& chmod 644 /usr/local/lib/libsdrplay_api.so /usr/local/lib/libsdrplay_api.so.3.07 \
|
&& chmod 644 /usr/local/lib/libsdrplay_api.so /usr/local/lib/libsdrplay_api.so.3.12 \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
# install UHD API
|
# install UHD API
|
||||||
|
|
File diff suppressed because it is too large
Load diff
1663
lib/sdrplay-3.12.1/SDRplay_RSP_API-Linux-3.12.1.run
Normal file
1663
lib/sdrplay-3.12.1/SDRplay_RSP_API-Linux-3.12.1.run
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue