mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Added Debian files for 2.3.0
This commit is contained in:
parent
1de9b39178
commit
4398a7426a
@ -535,7 +535,7 @@ if (BUILD_DEBIAN)
|
||||
add_subdirectory(libhackrf)
|
||||
add_subdirectory(librtlsdr)
|
||||
add_subdirectory(libbladerf)
|
||||
add_subdirectory(libsdrplay)
|
||||
add_subdirectory(libmirisdr)
|
||||
endif (BUILD_DEBIAN)
|
||||
|
||||
add_subdirectory(plugins)
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -21,5 +21,5 @@
|
||||
# dh_make generated override targets
|
||||
# This is example for Cmake (See https://bugs.debian.org/641051 )
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/sdrangel -DBUILD_TYPE=DEBIAN -DLIBCM256CCSRC=/z1/development/cm256cc -DLIBDSDCCSRC=/z1/development/dsdcc -DLIBAIRSPYSRC=/z1/development/libairspy -DLIBHACKRFSRC=/z1/development/hackrf/host -DLIBRTLSDRSRC=/z1/development/librtlsdr.f4exb -DLIBMBELIBSRC=/z1/development/mbelib -DLIBSERIALDVSRC=/z1/development/serialDV -DLIBBLADERFSRC=/z1/softs/bladeRF -DLIBBLADERFCOMMONSRC=/z1/softs/bladeRF/host/common -DLIBBLADERFLIBSRC=/z1/softs/bladeRF/host/libraries/libbladeRF
|
||||
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/sdrangel -DBUILD_TYPE=DEBIAN -DLIBCM256CCSRC=/z1/development/cm256cc -DLIBDSDCCSRC=/z1/development/dsdcc -DLIBAIRSPYSRC=/z1/development/libairspy -DLIBHACKRFSRC=/z1/development/hackrf/host -DLIBRTLSDRSRC=/z1/development/librtlsdr.f4exb -DLIBMBELIBSRC=/z1/development/mbelib -DLIBSERIALDVSRC=/z1/development/serialDV -DLIBBLADERFSRC=/z1/softs/bladeRF -DLIBBLADERFCOMMONSRC=/z1/softs/bladeRF/host/common -DLIBBLADERFLIBSRC=/z1/softs/bladeRF/host/libraries/libbladeRF -DLIBMIRISDRSRC=/z1/development/libmirisdr-4
|
||||
|
||||
|
55
libmirisdr/CMakeLists.txt
Normal file
55
libmirisdr/CMakeLists.txt
Normal file
@ -0,0 +1,55 @@
|
||||
project(mirisdr)
|
||||
|
||||
find_package(LibUSB)
|
||||
|
||||
set(mirisdr_SOURCES
|
||||
${LIBMIRISDRSRC}/src/libmirisdr.c
|
||||
${LIBMIRISDRSRC}/src/getopt/getopt.c
|
||||
)
|
||||
|
||||
set(mirisdr_HEADERS
|
||||
${LIBMIRISDRSRC}/include/mirisdr.h
|
||||
${LIBMIRISDRSRC}/include/mirisdr_export.h
|
||||
${LIBMIRISDRSRC}/src/getopt/getopt.h
|
||||
${LIBMIRISDRSRC}/src/convert/252_s16.c
|
||||
${LIBMIRISDRSRC}/src/convert/336_s16.c
|
||||
${LIBMIRISDRSRC}/src/convert/384_s16.c
|
||||
${LIBMIRISDRSRC}/src/convert/504_s16.c
|
||||
${LIBMIRISDRSRC}/src/convert/504_s8.c
|
||||
${LIBMIRISDRSRC}/src/convert/base.c
|
||||
${LIBMIRISDRSRC}/src/adc.c
|
||||
${LIBMIRISDRSRC}/src/async.c
|
||||
${LIBMIRISDRSRC}/src/constants.h
|
||||
${LIBMIRISDRSRC}/src/convenience.c
|
||||
${LIBMIRISDRSRC}/src/devices.c
|
||||
${LIBMIRISDRSRC}/src/gain.c
|
||||
${LIBMIRISDRSRC}/src/gain.h
|
||||
${LIBMIRISDRSRC}/src/hard.c
|
||||
${LIBMIRISDRSRC}/src/hard.h
|
||||
${LIBMIRISDRSRC}/src/reg.c
|
||||
${LIBMIRISDRSRC}/src/soft.c
|
||||
${LIBMIRISDRSRC}/src/soft.h
|
||||
${LIBMIRISDRSRC}/src/streaming.c
|
||||
${LIBMIRISDRSRC}/src/structs.h
|
||||
${LIBMIRISDRSRC}/src/sync.c
|
||||
)
|
||||
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${LIBUSB_INCLUDE_DIR}
|
||||
${LIBMIRISDRSRC}/include
|
||||
${LIBMIRISDRSRC}/src
|
||||
)
|
||||
|
||||
add_definitions(-DQT_SHARED)
|
||||
|
||||
add_library(mirisdr SHARED
|
||||
${mirisdr_SOURCES}
|
||||
)
|
||||
|
||||
target_link_libraries(mirisdr
|
||||
${LIBUSB_LIBRARIES}
|
||||
)
|
||||
|
||||
install(TARGETS mirisdr DESTINATION lib)
|
@ -67,6 +67,7 @@ if (BUILD_DEBIAN)
|
||||
add_subdirectory(hackrf)
|
||||
add_subdirectory(rtlsdr)
|
||||
add_subdirectory(bladerf)
|
||||
add_subdirectory(sdrplay)
|
||||
endif (BUILD_DEBIAN)
|
||||
|
||||
add_subdirectory(filesource)
|
||||
|
@ -31,7 +31,7 @@ else (BUILD_DEBIAN)
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${LIBRTLSDR_INCLUDE_DIR}
|
||||
${LIBRTLSDRSRC}/include
|
||||
)
|
||||
endif (BUILD_DEBIAN)
|
||||
|
||||
|
@ -24,7 +24,8 @@ if (BUILD_DEBIAN)
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${LIBMIRISDR_INCLUDE_DIR}
|
||||
${LIBMIRISDRSRC}/include
|
||||
${LIBMIRISDRSRC}/src
|
||||
)
|
||||
else (BUILD_DEBIAN)
|
||||
include_directories(
|
||||
|
Loading…
Reference in New Issue
Block a user