File: 0001-buildsystem.patch

package info (click to toggle)
jack-keyboard 2.7.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 372 kB
  • sloc: ansic: 2,099; makefile: 42
file content (25 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Add -lgthread-2.0 to linking flags.
 Install manpages into /usr/share/man
Author: Alessio Treglia <alessio@debian.org>
Forwarded: no
---
 CMakeLists.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- jack-keyboard.orig/CMakeLists.txt
+++ jack-keyboard/CMakeLists.txt
@@ -40,7 +40,7 @@ add_executable(jack-keyboard src/jack-ke
 
 find_package(GTK2 2.2 REQUIRED gtk)
 include_directories(${GTK2_INCLUDE_DIRS})
-target_link_libraries(jack-keyboard ${GTK2_LIBRARIES})
+target_link_libraries(jack-keyboard ${GTK2_LIBRARIES} gthread-2.0)
 
 if(JackEnable)
 find_package(JACK)
@@ -66,4 +66,4 @@ endif()
 install(TARGETS jack-keyboard RUNTIME DESTINATION bin)
 install(FILES pixmaps/jack-keyboard.png DESTINATION share/pixmaps)
 install(FILES src/jack-keyboard.desktop DESTINATION share/applications)
-install(FILES man/jack-keyboard.1 DESTINATION man/man1)
+install(FILES man/jack-keyboard.1 DESTINATION share/man/man1)