~ubuntu-branches/debian/stretch/apper/stretch

« back to all changes in this revision

Viewing changes to Sentinel/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Matthias Klumpp
  • Date: 2013-06-24 14:32:36 UTC
  • mfrom: (8.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130624143236-8259lpdjgnrjxiik
Tags: 0.8.0-2
* Upload to unstable (Closes: #696585, #697996, #708090)
* Add patch to compile against new QPK API

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
find_package(KDE4Internal REQUIRED)
2
 
find_package(KDE4Workspace REQUIRED)
3
 
 
4
 
set(sentinel_SRCS
5
 
    StatusNotifierItem.cpp
6
 
    TransactionTrayIcon.cpp
7
 
    TransactionJob.cpp
8
 
    TransactionWatcher.cpp
9
 
    AbstractIsRunning.cpp
10
 
    RefreshCacheTask.cpp
11
 
    UpdateIcon.cpp
12
 
    DistroUpgrade.cpp
13
 
    DBusInterface.cpp
14
 
    PkInterface.cpp
15
 
    PkInstallPackageNames.cpp
16
 
    PkSearchFile.cpp
17
 
    PkIsInstalled.cpp
18
 
    PkInstallMimeTypes.cpp
19
 
    PkInstallGStreamerResources.cpp
20
 
    PkInstallFontconfigResources.cpp
21
 
    PkInstallPlasmaResources.cpp
22
 
    FilesModel.cpp
23
 
    PkInstallPackageFiles.cpp
24
 
    PkInstallProvideFiles.cpp
25
 
    PkInstallCatalogs.cpp
26
 
    PkRemovePackageByFiles.cpp
27
 
    PkInstallPrinterDrivers.cpp
28
 
    ApperSentinel.cpp
29
 
    IntroDialog.cpp
30
 
    ReviewChanges.cpp
31
 
    SessionTask.cpp
32
 
    main.cpp
33
 
)
34
 
 
35
 
qt4_add_dbus_adaptor(sentinel_SRCS
36
 
    org.kde.ApperSentinel.xml
37
 
    DBusInterface.h
38
 
    DBusInterface
39
 
)
40
 
 
41
 
qt4_add_dbus_adaptor(sentinel_SRCS
42
 
    org.freedesktop.PackageKit.xml
43
 
    PkInterface.h
44
 
    PkInterface
45
 
)
46
 
 
47
 
kde4_add_ui_files(sentinel_SRCS
48
 
    IntroDialog.ui
49
 
    ReviewChanges.ui
50
 
    SessionTask.ui
51
 
)
52
 
 
53
 
kde4_add_executable(apper-sentinel
54
 
    ${sentinel_SRCS}
55
 
)
56
 
 
57
 
target_link_libraries(apper-sentinel
58
 
    ${KDE4WORKSPACE_KWORKSPACE_LIBS}
59
 
    ${KDE4_KDEUI_LIBS}
60
 
    ${KDE4_KIO_LIBS}
61
 
    ${KDE4_SOLID_LIBS}
62
 
    ${QPACKAGEKIT2_LIBRARIES}
63
 
    ${DEBCONF_KDE_LIB}
64
 
    ${QT_QTXMLPATTERNS_LIBRARY}
65
 
    apper
66
 
)
67
 
 
68
 
set_target_properties(apper-sentinel PROPERTIES INSTALL_RPATH ${LIB_INSTALL_DIR}/apper)
69
 
 
70
 
install(TARGETS apper-sentinel DESTINATION ${LIBEXEC_INSTALL_DIR})
71
 
 
72
 
install(FILES ApperSentinel.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ApperSentinel)
73
 
 
74
 
include(PkgConfigGetVar)
75
 
dbus_add_activation_service(org.kde.ApperSentinel.service.in)
76
 
dbus_add_activation_service(org.freedesktop.PackageKit.service.in)
77