updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pokerclock / pokerclock_patch.diff
blob3659475a2322f30bf5b2c4f6cc77c10e71d60ebc
1 diff -Naur pokerclock.orig/CMakeLists.txt pokerclock/CMakeLists.txt
2 --- pokerclock.orig/CMakeLists.txt 2010-06-05 21:40:52.000000000 +0200
3 +++ pokerclock/CMakeLists.txt 2011-05-29 00:05:38.000000000 +0200
4 @@ -16,7 +16,7 @@
5 SET(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
6 SET(SOUND_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/sound)
7 SET(XDG_APPS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/applications/kde4/)
8 -SET(ICON_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/icons/)
9 +SET(ICON_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
11 ADD_DEFINITIONS(-DMAKE_SOUND_PATH="${SOUND_INSTALL_DIR}")
13 diff -Naur pokerclock.orig/src/CMakeLists.txt pokerclock/src/CMakeLists.txt
14 --- pokerclock.orig/src/CMakeLists.txt 2010-06-05 21:40:51.000000000 +0200
15 +++ pokerclock/src/CMakeLists.txt 2011-05-28 23:06:32.000000000 +0200
16 @@ -25,7 +25,7 @@
19 SET(SOUNDS
20 - sounds/event.wav
21 + sounds/pokerclock-event.wav
24 SET(DESKTOP
25 @@ -53,27 +53,12 @@
26 ${CMAKE_CURRENT_SOURCE_DIR} #Pour Qtpie.h
29 -if(MINGW)
30 - ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${RC}.o
31 - COMMAND windres.exe -I${CMAKE_CURRENT_SOURCE_DIR}
32 - -i ${CMAKE_CURRENT_SOURCE_DIR}/${RC}
33 - -o ${CMAKE_CURRENT_BINARY_DIR}/${RC}.o)
34 - list(APPEND SRCS ${CMAKE_CURRENT_BINARY_DIR}/${RC}.o)
36 - ADD_EXECUTABLE(${PROJECT_NAME} WIN32
37 - ${SRCS}
38 - ${MOC_SRCS}
39 - ${UI_HDRS}
40 - ${RC_RCS}
41 - )
42 -elseif(MINGW)
43 ADD_EXECUTABLE(${PROJECT_NAME}
44 ${SRCS}
45 ${MOC_SRCS}
46 ${UI_HDRS}
47 ${RC_RCS}
49 -endif(MINGW)
51 TARGET_LINK_LIBRARIES(${PROJECT_NAME}
52 ${QT_LIBRARIES}
53 diff -Naur pokerclock.orig/src/pokerclock.h pokerclock/src/pokerclock.h
54 --- pokerclock.orig/src/pokerclock.h 2010-06-05 21:40:51.000000000 +0200
55 +++ pokerclock/src/pokerclock.h 2011-05-28 23:05:58.000000000 +0200
56 @@ -41,7 +41,7 @@
57 #define CONF_FILENAME "pokerclock.conf"
58 #define CONF_FILEPATH CONF_PATH + "/" + CONF_FILENAME
60 -#define SOUND_FILENAME "event.wav"
61 +#define SOUND_FILENAME "pokerclock-event.wav"
62 #ifdef DEBUG
63 #define SOUND_FILEPATH "sounds/"SOUND_FILENAME
64 #else