~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3

« back to all changes in this revision

Viewing changes to Recent-Events/src/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2011-04-20 20:46:51 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110420204651-ftnpzesj6uc7qeul
Tags: 2.3.0~1-0ubuntu1
* New Upstream Version (LP: #723995)
* Upstream short ChangeLog (since 2.3.0~0rc1):
 - Updated translations
 - Updated the integration of the new versions of kwin and compiz
    (Switcher, ShowDesktop, etc.)
 - Removed a lot of useless g_print
 - Updated a few plug-ins to fit with the new version of the API (gldit)
 - Fixed a few bugs
 - Updated MeMenu, MessagingMenu and Status-Notifier to works
    with the latest version of dbusmenu, etc.
* Switch to dpkg-source 3.0 (quilt) format
* debian/cairo-dock-plug-ins.install:
 - Added new files (interfaces for python, ruby, vala and mono)
* debian/control:
 - Added new dependences for new applets (sensors and zeitgeist)
    and new interfaces (python, valac, ruby and mono)
 - Updated the version of cairo-dock build-dependences
* debian/rules:
 - Added a new CMake flag to install python interface in debian/tmp
* Updated debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(MODULE_SRCS
 
5
        applet-struct.h
 
6
        applet-init.c                   applet-init.h
 
7
        applet-config.c                         applet-config.h
 
8
        applet-search.c                         applet-search.h
 
9
        applet-dialog.c                         applet-dialog.h
 
10
        applet-notifications.c          applet-notifications.h
 
11
)
 
12
 
 
13
add_library(${PACKAGE_RECENT_EVENTS} SHARED ${MODULE_SRCS})
 
14
 
 
15
########### compil ###############
 
16
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${recent_eventsdatadir}")
 
17
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
18
add_definitions (-DMY_APPLET_CONF_FILE="Recent-Events.conf")
 
19
add_definitions (-DMY_APPLET_USER_DATA_DIR="Recent-Events")
 
20
add_definitions (-DMY_APPLET_VERSION="${VERSION_RECENT_EVENTS}")
 
21
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_RECENT_EVENTS}")
 
22
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
23
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
 
24
### uncomment the following line to allow multi-instance applet.
 
25
#add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
 
26
### uncomment the following line to allow extended OpenGL drawing.
 
27
#add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
28
 
 
29
include_directories (
 
30
        ${PACKAGE_INCLUDE_DIRS}
 
31
        ${RECENT_EVENTS_INCLUDE_DIRS})
 
32
 
 
33
link_directories (
 
34
        ${PACKAGE_LIBRARY_DIRS}
 
35
        ${RECENT_EVENTS_LIBRARY_DIRS})
 
36
 
 
37
target_link_libraries (${PACKAGE_RECENT_EVENTS}
 
38
        ${PACKAGE_LIBRARIES}
 
39
        ${RECENT_EVENTS_LIBRARIES})
 
40
 
 
41
########### install files ###############
 
42
 
 
43
install(TARGETS ${PACKAGE_RECENT_EVENTS} DESTINATION ${pluginsdir})