summarylogtreecommitdiffstats
path: root/wsjtx.patch
diff options
context:
space:
mode:
authorNeal Miller2019-05-27 12:11:03 -0500
committerNeal Miller2019-05-27 12:11:03 -0500
commit6626faf9770c2a821cf581c47047082594884e19 (patch)
tree1a722e01e2ff25b18e0445d869ad2818b2e8322b /wsjtx.patch
parent33022f829114f1fe6cd42f8c5ddc9a7d39465b83 (diff)
downloadaur-6626faf9770c2a821cf581c47047082594884e19.tar.gz
update patch and add option to select tag
Signed-off-by: Neal Miller <meltdown03@gmail.com>
Diffstat (limited to 'wsjtx.patch')
-rw-r--r--wsjtx.patch43
1 files changed, 28 insertions, 15 deletions
diff --git a/wsjtx.patch b/wsjtx.patch
index a03d72db2d5..66d8726d3d2 100644
--- a/wsjtx.patch
+++ b/wsjtx.patch
@@ -1,32 +1,45 @@
-diff -ur /CMakeLists.txt /CMakeLists.txt
---- /CMakeLists.txt 2018-05-31 02:29:47.000000000 +0200
-+++ /CMakeLists.txt 2018-06-03 09:34:15.109877528 +0200
-@@ -861,7 +861,7 @@
+--- CMakeLists.txt 2019-05-27 12:04:08.383328015 -0500
++++ CMakeLists.txt 2019-05-27 12:03:24.470182804 -0500
+@@ -845,7 +845,7 @@
# libhamlib setup
#
set (hamlib_STATIC 1)
--find_package (hamlib 3 REQUIRED)
-+set (hamlib_LIBRARIES hamlib)
+-set (hamlib_LIBRARIES hamlib)
++find_package (hamlib 3 REQUIRED)
find_program (RIGCTL_EXE rigctl)
find_program (RIGCTLD_EXE rigctld)
-
-@@ -1343,7 +1343,8 @@
+ find_program (RIGCTLCOM_EXE rigctlcom)
+@@ -1305,8 +1305,7 @@
)
endif ()
endif ()
--qt5_use_modules (wsjtx SerialPort) # not sure why the interface link library syntax above doesn't work
-+find_package (Qt5SerialPort)
-+target_link_libraries (wsjtx Qt5::SerialPort)
+-find_package (Qt5SerialPort)
+-target_link_libraries (wsjtx Qt5::SerialPort)
++qt5_use_modules (wsjtx SerialPort) # not sure why the interface link library syntax above doesn't work
# make a library for WSJT-X UDP servers
# add_library (wsjtx_udp SHARED ${UDP_library_CXXSRCS})
-@@ -1364,7 +1365,8 @@
+@@ -1327,8 +1326,7 @@
)
target_compile_definitions (wsjtx_udp-static PUBLIC UDP_STATIC_DEFINE)
#qt5_use_modules (wsjtx_udp Network)
--qt5_use_modules (wsjtx_udp-static Network Gui)
-+target_link_libraries (wsjtx_udp-static Qt5::Network Qt5::Gui)
-+
+-target_link_libraries (wsjtx_udp-static Qt5::Network Qt5::Gui)
+-
++qt5_use_modules (wsjtx_udp-static Network Gui)
generate_export_header (wsjtx_udp-static BASE_NAME udp)
add_executable (udp_daemon UDPExamples/UDPDaemon.cpp UDPExamples/udp_daemon.rc ${WSJTX_ICON_FILE})
+@@ -1420,6 +1418,13 @@
+ RENAME rigctld-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
+ )
+
++install (PROGRAMS
++ ${RIGCTLCOM_EXE}
++ DESTINATION ${CMAKE_INSTALL_BINDIR}
++ #COMPONENT runtime
++ RENAME rigctlcom-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
++ )
++
+ install (FILES
+ README
+ COPYING