~ubuntu-branches/ubuntu/raring/recorditnow/raring

« back to all changes in this revision

Viewing changes to src/keymon/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-09 14:54:01 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110109145401-gyckb4airz4fio50
Tags: 0.8.1-0ubuntu1
* New upstream release. (LP: #681270)
  - Update debian/copyright.
* Build-depend on recordmydesktop.
* Add a watch file.
* Drop 01_fix_ftbfs_kwarning_call.diff, fixed upstream.
* Add 01_joschy_install_to_usr_lib.diff.
* Add 02_fix_ftbfs_no-add-needed.diff.
* Add 03_dont_install_header_files.diff.
* Replace dependency on libpolkit-qt-1-0 with policykit-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR})
2
2
 
3
 
 
4
3
set(SRCS
5
4
    event.cpp
6
5
    manager.cpp
 
6
    deviceinfo.cpp
7
7
    device.cpp)
8
8
 
9
 
#SNoop
10
 
kde4_add_library(recorditnow_snoop SHARED ${SRCS})
11
 
target_link_libraries(recorditnow_snoop ${KDE4_KDECORE_LIBS})
12
 
install(TARGETS recorditnow_snoop ${INSTALL_TARGETS_DEFAULT_ARGS})
13
 
 
14
 
if(${KDE_VERSION} VERSION_GREATER "4.3.80")
15
 
    #helper
16
 
    set(HELPER_SRCS
17
 
        device.cpp
18
 
        event.cpp
19
 
        devicehelper.cpp)
20
 
 
21
 
    kde4_add_executable(recorditnow_helper ${HELPER_SRCS})
22
 
    target_link_libraries(recorditnow_helper ${KDE4_KDECORE_LIBS})
23
 
    install(TARGETS recorditnow_helper DESTINATION ${LIBEXEC_INSTALL_DIR})
24
 
    kde4_install_auth_helper_files(recorditnow_helper org.kde.recorditnow.helper root)
25
 
    kde4_install_auth_actions(org.kde.recorditnow.helper helper.actions)
26
 
endif()
 
9
# KeyMon
 
10
kde4_add_library(recorditnow_keymon SHARED ${SRCS})
 
11
target_link_libraries(recorditnow_keymon ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS})
 
12
install(TARGETS recorditnow_keymon ${INSTALL_TARGETS_DEFAULT_ARGS})
 
13
 
 
14
 
 
15
set(KAUTH_HELPER_BACKEND_NAME "DBUS")
 
16
# helper
 
17
set(HELPER_SRCS
 
18
    devicehelper.cpp)
 
19
 
 
20
kde4_add_executable(recorditnow_helper ${HELPER_SRCS})
 
21
target_link_libraries(recorditnow_helper ${KDE4_KDECORE_LIBS} recorditnow_keymon)
 
22
install(TARGETS recorditnow_helper DESTINATION ${LIBEXEC_INSTALL_DIR})
 
23
 
 
24
kde4_install_auth_helper_files(recorditnow_helper org.kde.recorditnow.helper root)
 
25
kde4_install_auth_actions(org.kde.recorditnow.helper helper.actions)
 
26
 
 
27