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

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Matthias Klumpp
  • Date: 2013-07-30 12:34:46 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130730123446-cgzujaj03pc61drn
Tags: 0.8.1-1
* New upstream release: 0.8.1
* Depend on software-properties-kde instead of suggesting it (Closes: #696583)
* Add patch to make AppStream loading more failsafe

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
set(HAVE_LISTALLER ${LISTALLER})
27
27
message(STATUS "Building Apper with Listaller modules: " ${LISTALLER})
28
28
 
29
 
if (HAVE_APPSTREAM)
30
 
    # path to the categories.xml menus
31
 
    set(AS_CATEGORIES_PATH "${CMAKE_INSTALL_PREFIX}/share/app-info"
32
 
        CACHE STRING "AppStream categories path")
33
 
    message(STATUS "AppStream categories path: " ${AS_CATEGORIES_PATH})
34
 
endif (HAVE_APPSTREAM)
35
 
 
36
29
if (DEBCONF_SUPPORT)
37
30
    # Tries to find the package, when it finds it HAVE_DEBCONFKDE is set in config.h
38
31
    find_package(DebconfKDE REQUIRED)
41
34
    message(STATUS "Building with Debconf support")
42
35
endif (DEBCONF_SUPPORT)
43
36
 
44
 
set(APP_VERSION 0.8.0)
 
37
set(APP_VERSION 0.8.1)
45
38
 
46
39
# command to edit the packages origins
47
40
set(EDIT_ORIGNS_DESKTOP_NAME "" CACHE STRING "Edit origins desktop name")
54
47
               ${CMAKE_CURRENT_BINARY_DIR}/config.h)
55
48
 
56
49
include(FindPkgConfig)
57
 
set(QPACKAGEKIT_MIN_VERSION 0.8.5)
 
50
set(QPACKAGEKIT_MIN_VERSION 0.8.8)
58
51
pkg_check_modules(QPACKAGEKIT2 REQUIRED packagekit-qt2>=${QPACKAGEKIT_MIN_VERSION})
59
52
macro_log_feature(QPACKAGEKIT2_FOUND "packagekit-qt2" "The Qt library to use PackageKit" "http://www.packagekit.org" TRUE ${QPACKAGEKIT_MIN_VERSION} "")
60
53
include(KDE4Defaults)
77
70
add_subdirectory(Apper)
78
71
add_subdirectory(PkSession)
79
72
add_subdirectory(apperd)
 
73
add_subdirectory(declarative-plugins)
80
74
add_subdirectory(plasmoid)
81
75
add_subdirectory(doc)
82
76
if(LISTALLER)