~ubuntu-branches/ubuntu/saucy/totem-pl-parser/saucy-proposed

« back to all changes in this revision

Viewing changes to plparse/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-01-26 20:52:06 UTC
  • mfrom: (1.4.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126205206-mj1kg7e81c9f0zgv
Tags: 2.29.1-0ubuntu1
* New upstream release:
  - Add introspection support
  - Remove GTK+ dependency
  - Remove deprecated symbols
  - Add more metadata to XSPF playlist saving
  - Fix compilation on *BSDs
* debian/watch: update to take unstable version
* debian/control.in:
  - add Vcs-Bzr tag
  - add gobject-introspection, libgirepository1.0-dev and gir1.0-glib-2.0
    build-dep
  - remove libgtk2.0-dev build-dep
  - bump package revision as soname bumped
  - add gir1.0-totemplparser-1.0 package
* debian/rules:
  - bump makeshlibs args to new revision
  - call dh_girepository
* debian/libtotem-plparser17.install:
  - renamed from debian/libtotem-plparser12.install
* add debian/gir1.0-totemplparser-1.0.install package
* debian/libtotem-plparser-dev.install:
  - add gir file
* add debian/patches/01_fix_gir_file.patch:
  - fix gir and typelib file to have good release version
* add debian/patches/90autoreconf.patch to include previous patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        totem-pl-parser-builtins.h              \
17
17
        totem-pl-parser-features.h              \
18
18
        totem-pl-parser.h                       \
 
19
        totem-pl-playlist.h                     \
19
20
        totem-disc.h                            \
20
21
        totem-pl-parser-mini.h
21
22
 
22
 
libtotem_plparser_la_SOURCES =                  \
 
23
plparser_sources =                              \
23
24
        totem-pl-parser-builtins.c              \
24
 
        totem-pl-parser-builtins.h              \
25
25
        totem-disc.c                            \
26
 
        totem-disc.h                            \
27
26
        totem-pl-parser.c                       \
28
 
        totem-pl-parser-features.h              \
29
 
        totem-pl-parser.h                       \
30
27
        totem-pl-parser-lines.c                 \
31
 
        totem-pl-parser-lines.h                 \
32
28
        totemplparser-marshal.c                 \
 
29
        totem-pl-parser-media.c                 \
 
30
        totem-pl-parser-misc.c                  \
 
31
        totem-pl-parser-pla.c                   \
 
32
        totem-pl-parser-pls.c                   \
 
33
        totem-pl-parser-podcast.c               \
 
34
        totem-pl-parser-qt.c                    \
 
35
        totem-pl-parser-smil.c                  \
 
36
        totem-pl-parser-wm.c                    \
 
37
        totem-pl-parser-xspf.c
 
38
 
 
39
libtotem_plparser_la_SOURCES =                  \
 
40
        $(plparser_sources)                     \
 
41
        totem-pl-parser-builtins.h              \
 
42
        totem-disc.h                            \
 
43
        totem-pl-parser-features.h              \
 
44
        totem-pl-parser.h                       \
 
45
        totem-pl-parser-lines.h                 \
33
46
        totemplparser-marshal.h                 \
34
 
        totem-pl-parser-media.c                 \
35
47
        totem-pl-parser-media.h                 \
36
 
        totem-pl-parser-misc.c                  \
37
48
        totem-pl-parser-misc.h                  \
38
 
        totem-pl-parser-pla.c                   \
39
49
        totem-pl-parser-pla.h                   \
40
 
        totem-pl-parser-pls.c                   \
41
50
        totem-pl-parser-pls.h                   \
42
 
        totem-pl-parser-podcast.c               \
43
51
        totem-pl-parser-podcast.h               \
44
52
        totem-pl-parser-private.h               \
45
 
        totem-pl-parser-qt.c                    \
46
53
        totem-pl-parser-qt.h                    \
47
 
        totem-pl-parser-smil.c                  \
48
54
        totem-pl-parser-smil.h                  \
49
 
        totem-pl-parser-wm.c                    \
50
55
        totem-pl-parser-wm.h                    \
51
 
        totem-pl-parser-xspf.c                  \
52
56
        totem-pl-parser-xspf.h                  \
 
57
        totem-pl-playlist.c                     \
 
58
        totem-pl-playlist.h                     \
53
59
        xmlparser.h xmlparser.c                 \
54
60
        xmllexer.h xmllexer.c                   \
55
61
        bswap.h
103
109
        totem-pl-parser-wm.c                    \
104
110
        totem-pl-parser-wm.h                    \
105
111
        totem-pl-parser-xspf.c                  \
106
 
        totem-pl-parser-xspf.h
 
112
        totem-pl-parser-xspf.h                  \
 
113
        totem-pl-playlist.c                     \
 
114
        totem-pl-playlist.h
107
115
 
108
116
libtotem_plparser_mini_la_CPPFLAGS = \
109
117
        -I$(top_srcdir)                 \
163
171
        totem-pl-parser-features.h.in   \
164
172
        plparser.symbols                \
165
173
        plparser-mini.symbols
 
174
 
 
175
# Introspection
 
176
-include $(INTROSPECTION_MAKEFILE)
 
177
INTROSPECTION_GIRS =
 
178
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
 
179
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 
180
 
 
181
if HAVE_INTROSPECTION
 
182
introspection_sources = \
 
183
        $(plparser_sources)             \
 
184
        $(plparserinclude_HEADERS)
 
185
 
 
186
TotemPlParser.gir: libtotem-plparser.la Makefile
 
187
TotemPlParser_gir_SCANNERFLAGS = --namespace=TotemPlParser --strip-prefix=TotemPlParser
 
188
TotemPlParser_gir_INCLUDES = GObject-2.0 Gio-2.0
 
189
TotemPlParser_gir_CFLAGS = \
 
190
        $(TOTEM_PLPARSER_CFLAGS)        \
 
191
        $(HAL_CFLAGS)                   \
 
192
        $(DBUS_CFLAGS)                  \
 
193
        $(AM_CFLAGS)                    \
 
194
        -D_FILE_OFFSET_BITS=64          \
 
195
        -D_LARGEFILE64_SOURCE           \
 
196
        -I$(top_srcdir)                 \
 
197
        -I$(top_srcdir)/lib             \
 
198
        -I$(top_builddir)/plparse       \
 
199
        -D_GNU_SOURCE
 
200
TotemPlParser_gir_LIBS = libtotem-plparser.la
 
201
TotemPlParser_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
 
202
INTROSPECTION_GIRS += TotemPlParser.gir
 
203
 
 
204
girdir = $(datadir)/gir-1.0
 
205
dist_gir_DATA = $(INTROSPECTION_GIRS)
 
206
 
 
207
typelibdir = $(libdir)/girepository-1.0
 
208
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
209
 
 
210
CLEANFILES += $(dist_gir_DATA) $(typelib_DATA)
 
211
endif