~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to libcheese/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
INCLUDES = \
 
1
AM_CPPFLAGS = \
2
2
        -DDATADIR=\"$(datadir)\" \
3
3
        -DPREFIX=\""$(prefix)"\" \
4
4
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
7
7
        -DPACKAGE_LOCALEDIR=\""$(datadir)/locale"\" \
8
8
        -DAPPNAME_DATA_DIR=\"$(pkgdatadir)\" \
9
9
        -DGNOME_DESKTOP_USE_UNSTABLE_API=1 \
10
 
        $(CHEESE_CFLAGS)
 
10
        $(CHEESE_CFLAGS) \
 
11
        $(CHEESE_GTK_CFLAGS)
11
12
 
12
 
lib_LTLIBRARIES = libcheese-gtk.la
13
 
noinst_LTLIBRARIES = libcheesecommon.la
 
13
lib_LTLIBRARIES = libcheese.la libcheese-gtk.la
14
14
 
15
15
EXTRA_DIST = cheese-gtk.symbols
16
16
CLEANFILES =
26
26
glib_enum_headers = $(top_srcdir)/libcheese/cheese-widget.h
27
27
include $(top_srcdir)/Makefile.am.enums
28
28
 
29
 
libcheese_gtk_la_CFLAGS = $(CHEESE_CFLAGS)
30
 
 
31
 
libcheesecommon_la_SOURCES = \
32
 
        cheese-gconf.c \
33
 
        cheese-gconf.h \
 
29
libcheese_gtk_la_CFLAGS = \
 
30
        $(CHEESE_CFLAGS) \
 
31
        $(CHEESE_GTK_CFLAGS)
 
32
 
 
33
libcheese_la_CFLAGS = \
 
34
        $(CHEESE_CFLAGS)
 
35
 
 
36
libcheese_la_SOURCES = \
34
37
        cheese-fileutil.c \
35
38
        cheese-fileutil.h \
36
39
        cheese-camera.c \
39
42
        cheese-camera-device.h \
40
43
        cheese-camera-device-monitor.c \
41
44
        cheese-camera-device-monitor.h \
42
 
        cheese-flash.h \
43
 
        cheese-flash.c \
44
 
        cheese-countdown.c \
45
 
        cheese-countdown.h \
 
45
        cheese-effect.c \
 
46
        cheese-effect.h \
46
47
        $(BUILT_SOURCES)
47
48
 
48
49
libcheese_gtk_la_SOURCES = \
49
50
        cheese-avatar-chooser.c \
50
51
        cheese-avatar-chooser.h \
 
52
        cheese-aspect-frame.c \
 
53
        cheese-aspect-frame.h \
51
54
        um-crop-area.c \
52
55
        um-crop-area.h \
53
56
        cheese-widget.c \
54
57
        cheese-widget.h \
55
58
        cheese-widget-private.h \
 
59
        cheese-flash.h \
 
60
        cheese-flash.c \
56
61
        $(NULL)
57
62
 
58
63
# FIXME when we have a .pc file, and sonames
59
64
cheesedir = $(includedir)/cheese
60
 
cheese_HEADERS = cheese-widget.h cheese-avatar-chooser.h cheese-camera-device-monitor.h
 
65
cheese_HEADERS = cheese-widget.h cheese-avatar-chooser.h cheese-camera.h cheese-effect.h cheese-camera-device.h cheese-camera-device-monitor.h
 
66
 
 
67
libcheese_la_LIBADD = \
 
68
        $(CHEESE_LIBS)
 
69
libcheese_la_LDFLAGS = \
 
70
        -version-info $(LIBCHEESE_LT_VERSION) \
 
71
        $(AM_LDFLAGS)
61
72
 
62
73
libcheese_gtk_la_LIBADD = \
63
 
        libcheesecommon.la \
64
 
        $(CHEESE_LIBS)
 
74
        libcheese.la \
 
75
        $(CHEESE_LIBS) \
 
76
        $(CHEESE_GTK_LIBS)
65
77
libcheese_gtk_la_LDFLAGS = \
66
 
        -version-info $(CHEESE_LT_VERSION)              \
 
78
        -version-info $(LIBCHEESE_GTK_LT_VERSION)               \
67
79
        -export-symbols $(srcdir)/cheese-gtk.symbols    \
68
80
        -no-undefined                                   \
69
81
        $(AM_LDFLAGS)
 
82
 
 
83
-include $(INTROSPECTION_MAKEFILE)
 
84
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
 
85
        --warn-all
 
86
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 
87
introspection_sources = $(libcheese_la_SOURCES) \
 
88
        cheese-marshal.h \
 
89
        cheese-enum-types.h
 
90
 
 
91
if HAVE_INTROSPECTION
 
92
INTROSPECTION_GIRS = Cheese-3.0.gir
 
93
 
 
94
Cheese-3.0.gir: libcheese.la
 
95
Cheese_3_0_gir_INCLUDES = GObject-2.0 \
 
96
        GLib-2.0 \
 
97
        Gst-0.10 \
 
98
        GstBase-0.10 \
 
99
        cairo-1.0 \
 
100
        Clutter-1.0 \
 
101
        GdkPixbuf-2.0
 
102
Cheese_3_0_gir_CFLAGS = -I$(srcdir) $(INCLUDES) \
 
103
        $(CHEESE_CFLAGS)
 
104
Cheese_3_0_gir_LIBS = libcheese.la
 
105
Cheese_3_0_gir_FILES = $(introspection_sources)
 
106
Cheese_3_0_gir_SCANNERFLAGS = --verbose --warn-all --pkg-export cheese
 
107
 
 
108
girdir = $(datadir)/gir-1.0
 
109
gir_DATA = $(INTROSPECTION_GIRS)
 
110
 
 
111
typelibdir = $(libdir)/girepository-1.0
 
112
typelib_DATA = Cheese-3.0.typelib
 
113
 
 
114
CLEANFILES += $(gir_DATA) $(typelib_DATA)
 
115
endif