~ubuntu-branches/ubuntu/vivid/deja-dup/vivid-proposed

« back to all changes in this revision

Viewing changes to .pc/drop-u1.patch/deja-dup/widgets/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-04-02 15:47:13 UTC
  • Revision ID: package-import@ubuntu.com-20140402154713-5d4lqwd60rmu1y9u
Tags: 30.0-0ubuntu3
* Drop U1 backend (LP: #1300916)
* Provide a temporary home for tests to pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Mode: CMake; indent-tabs-mode: nil; tab-width: 2 -*-
 
2
#
 
3
# This file is part of Déjà Dup.
 
4
# For copyright information, see AUTHORS.
 
5
#
 
6
# Déjà Dup is free software; you can redistribute it and/or modify
 
7
# it under the terms of the GNU General Public License as published by
 
8
# the Free Software Foundation; either version 3 of the License, or
 
9
# (at your option) any later version.
 
10
#
 
11
# Déjà Dup is distributed in the hope that it will be useful, but
 
12
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
# General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with Déjà Dup.  If not, see <http://www.gnu.org/licenses/>.
 
18
 
 
19
vala_precompile(VALA_C ConfigBool.vala
 
20
                       ConfigChoice.vala
 
21
                       ConfigDelete.vala
 
22
                       ConfigEntry.vala
 
23
                       ConfigFolder.vala
 
24
                       ConfigLabel.vala
 
25
                       ConfigLabelBackupDate.vala
 
26
                       ConfigLabelDescription.vala
 
27
                       ConfigLabelLocation.vala
 
28
                       ConfigList.vala
 
29
                       ConfigLocation.vala
 
30
                       ConfigLocationCustom.vala
 
31
                       ConfigLocationDAV.vala
 
32
                       ConfigLocationFile.vala
 
33
                       ConfigLocationFTP.vala
 
34
                       ConfigLocationRackspace.vala
 
35
                       ConfigLocationS3.vala
 
36
                       ConfigLocationSSH.vala
 
37
                       ConfigLocationSMB.vala
 
38
                       ConfigLocationTable.vala
 
39
                       ConfigLocationU1.vala
 
40
                       ConfigLocationVolume.vala
 
41
                       ConfigPeriod.vala
 
42
                       ConfigRelPath.vala
 
43
                       ConfigURLPart.vala
 
44
                       ConfigURLPartBool.vala
 
45
                       ConfigWidget.vala
 
46
                       WidgetUtils.vala
 
47
                PACKAGES gtk+-3.0 libnotify libpeas-1.0 libsecret-1 ${UNITY_PACKAGE}
 
48
                CUSTOM_VAPIS ${CMAKE_BINARY_DIR}/libdeja/deja.vapi
 
49
                             ${CMAKE_SOURCE_DIR}/vapi/config.vapi
 
50
                             ${CMAKE_SOURCE_DIR}/vapi/uriutils.vapi
 
51
                OPTIONS ${COMMON_VFLAGS}
 
52
                GENERATE_VAPI widgets
 
53
                GENERATE_HEADER widgets)
 
54
add_library(widgets SHARED ${VALA_C})
 
55
target_link_libraries(widgets deja ${GTK_LDFLAGS} ${NOTIFY_LDFLAGS} ${PEAS_LDFLAGS} ${SECRET_LDFLAGS} ${UNITY_LDFLAGS})
 
56
set_target_properties(widgets PROPERTIES
 
57
                      INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}/libdeja;${CMAKE_SOURCE_DIR}/libdeja"
 
58
                      COMPILE_FLAGS "${GTK_CFLAGS} ${NOTIFY_CFLAGS} ${PEAS_CFLAGS} ${SECRET_CFLAGS} ${UNITY_CFLAGS} ${COMMON_CFLAGS}")
 
59
install(TARGETS widgets DESTINATION "${PKG_LIBDIR}")