Browse Source

Revert "Fix flatpak patches"

This reverts commit 50e843b952.
chirpmodem-v8.0.0
Neals 10 months ago
parent
commit
d3b6a90045
  1. 12
      flatpak/uhd-disable-ascii-art-dft.patch
  2. 10
      flatpak/uhd-disable-latency-utils.patch

12
flatpak/uhd-disable-ascii-art-dft.patch

@ -14,24 +14,20 @@ index 69e84f95d..26b2306b4 100644 @@ -14,24 +14,20 @@ index 69e84f95d..26b2306b4 100644
-if(CURSES_FOUND)
- include_directories(${CURSES_INCLUDE_DIR})
- add_executable(rx_ascii_art_dft rx_ascii_art_dft.cpp)
- target_link_libraries(rx_ascii_art_dft
- PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options)
- target_link_libraries(rx_ascii_art_dft uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES})
- UHD_INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
+#if(CURSES_FOUND)
+# include_directories(${CURSES_INCLUDE_DIR})
+# add_executable(rx_ascii_art_dft rx_ascii_art_dft.cpp)
+# target_link_libraries(rx_ascii_art_dft
+# PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options)
+# target_link_libraries(rx_ascii_art_dft uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES})
+# UHD_INSTALL(TARGETS rx_ascii_art_dft RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
- add_executable(twinrx_freq_hopping twinrx_freq_hopping.cpp)
- target_link_libraries(twinrx_freq_hopping
- PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options)
- target_link_libraries(twinrx_freq_hopping uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES})
- UHD_INSTALL(TARGETS twinrx_freq_hopping RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
-endif(CURSES_FOUND)
+# add_executable(twinrx_freq_hopping twinrx_freq_hopping.cpp)
+# target_link_libraries(twinrx_freq_hopping
+# PUBLIC uhd ${CURSES_LIBRARIES} Boost::program_options)
+# target_link_libraries(twinrx_freq_hopping uhd ${CURSES_LIBRARIES} ${Boost_LIBRARIES})
+# UHD_INSTALL(TARGETS twinrx_freq_hopping RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
+#endif(CURSES_FOUND)

10
flatpak/uhd-disable-latency-utils.patch

@ -38,17 +38,15 @@ index e4cd4d171..e806d8da0 100644 @@ -38,17 +38,15 @@ index e4cd4d171..e806d8da0 100644
- foreach(source ${sources})
- get_filename_component(name ${source} NAME_WE)
- add_executable(${name} ${source} ${latency_lib_path})
- LIBUHD_APPEND_SOURCES(${name})
- target_link_libraries(${name}
- PUBLIC uhd Boost::program_options ${CURSES_LIBRARIES})
- UHD_INSTALL(TARGETS ${name} RUNTIME DESTINATION ${latency_comp_dest} COMPONENT ${latency_comp_name})
- LIBUHD_APPEND_SOURCES(${name})
- target_link_libraries(${name} uhd ${Boost_LIBRARIES} ${CURSES_LIBRARIES})
- UHD_INSTALL(TARGETS ${name} RUNTIME DESTINATION ${latency_comp_dest} COMPONENT ${latency_comp_name})
- endforeach(source)
+# foreach(source ${sources})
+# get_filename_component(name ${source} NAME_WE)
+# add_executable(${name} ${source} ${latency_lib_path})
+# LIBUHD_APPEND_SOURCES(${name})
+# target_link_libraries(${name}
+# PUBLIC uhd Boost::program_options ${CURSES_LIBRARIES})
+# target_link_libraries(${name} uhd ${Boost_LIBRARIES} ${CURSES_LIBRARIES})
+# UHD_INSTALL(TARGETS ${name} RUNTIME DESTINATION ${latency_comp_dest} COMPONENT ${latency_comp_name})
+# endforeach(source)

Loading…
Cancel
Save