~ubuntu-branches/ubuntu/trusty/totem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/plparse/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Josselin Mouette, Loic Minier, Sjoerd Simons
  • Date: 2008-09-10 15:38:34 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080910153834-kxne946nj2b5squf
Tags: 2.22.2-4
[ Josselin Mouette ]
* Change the recommends on g-c-c to one on g-s-d. Also move it to
  totem-plugins, which is the package providing the media keys
  functionality.
* Change the depends on dbus to dbus-x11.

[ Loic Minier ]
* Let totem-gstreamer recommend gnome-app-install for easy codec
  installation.

[ Josselin Mouette ]
* 02_flv.patch: the canonical MIME type for Flash videos is 
  video/x-flv, not video/flv. Closes: #486468.

[ Sjoerd Simons ]
* 30_fix_youtube_plugin.patch: Set the server as a keyword argument to be
  compatible with both old and new versions of python-gdata. Fixes searching
  for youtube videos
* debian/control.in: Fix double Recommend field for totem-gstreamer

[ Josselin Mouette ]
* rules: rally disable the vala plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
noinst_PROGRAMS = test-parser
2
 
 
3
 
test_parser_SOURCES = test-parser.c
4
 
 
5
 
test_parser_CPPFLAGS = \
6
 
        -I$(top_srcdir)                 \
7
 
        -I$(top_builddir)/src/plparser  \
8
 
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"\
9
 
        $(AM_CPPFLAGS)
10
 
 
11
 
test_parser_CFLAGS = \
12
 
        $(EXTRA_GNOME_CFLAGS)   \
13
 
        $(HAL_CFLAGS)           \
14
 
        $(DBUS_CFLAGS)          \
15
 
        $(AM_CFLAGS)
16
 
 
17
 
test_parser_LDADD = \
18
 
        $(EXTRA_GNOME_LIBS) \
19
 
        libtotem-plparser.la
20
 
 
21
 
lib_LTLIBRARIES = libtotem-plparser.la
22
 
noinst_LTLIBRARIES = libtotem-plparser-mini.la
23
 
 
24
 
MARSHALFILES = totemplparser-marshal.c totemplparser-marshal.h
25
 
BUILT_SOURCES = $(MARSHALFILES)
26
 
 
27
 
totemplparser-marshal.c: totemplparser-marshal.h
28
 
         ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header --body > totemplparser-marshal.c )
29
 
totemplparser-marshal.h: totemplparser-marshal.list
30
 
        ( $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal $(srcdir)/totemplparser-marshal.list --header > totemplparser-marshal.h )
31
 
 
32
 
plparserincludedir = $(includedir)/totem/1/plparser
33
 
plparserinclude_HEADERS =                       \
34
 
        totem-pl-parser-builtins.h              \
35
 
        totem-pl-parser-features.h              \
36
 
        totem-pl-parser.h                       \
37
 
        totem-disc.h
38
 
 
39
 
libtotem_plparser_la_SOURCES =                  \
40
 
        totem-pl-parser-builtins.c              \
41
 
        totemplparser-marshal.c                 \
42
 
        totemplparser-marshal.h                 \
43
 
        totem-disc.c                            \
44
 
        totem-pl-parser.c
45
 
 
46
 
libtotem_plparser_la_CPPFLAGS = \
47
 
        -I$(top_srcdir)                         \
48
 
        -I$(top_builddir)/src/plparser          \
49
 
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"\
50
 
        $(AM_CPPFLAGS)
51
 
 
52
 
libtotem_plparser_la_CFLAGS = \
53
 
        $(EXTRA_GNOME_CFLAGS)   \
54
 
        $(HAL_CFLAGS)           \
55
 
        $(DBUS_CFLAGS)          \
56
 
        $(AM_CFLAGS)
57
 
 
58
 
libtotem_plparser_la_LIBADD = \
59
 
        $(TOTEM_PLPARSER_LIBS)                  \
60
 
        $(HAL_LIBS)
61
 
 
62
 
libtotem_plparser_la_LDFLAGS =                  \
63
 
        -version-info $(PLPARSER_LT_VERSION)    \
64
 
        -no-undefined                           \
65
 
        $(AM_LDFLAGS)
66
 
 
67
 
libtotem_plparser_mini_la_SOURCES = \
68
 
        totem-pl-parser-mini.h  \
69
 
        totem-pl-parser.c
70
 
 
71
 
libtotem_plparser_mini_la_CPPFLAGS = \
72
 
        -I$(top_srcdir)                 \
73
 
        -I$(top_builddir)/src/plparser  \
74
 
        -DTOTEM_PL_PARSER_MINI          \
75
 
        $(AM_CPPFLAGS)
76
 
 
77
 
libtotem_plparser_mini_la_CFLAGS = \
78
 
        $(TOTEM_PLPARSER_MINI_CFLAGS)   \
79
 
        $(AM_CFLAGS)
80
 
 
81
 
libtotem_plparser_mini_la_LIBADD = \
82
 
        $(TOTEM_PLPARSER_MINI_LIBS)
83
 
 
84
 
libtotem_plparser_mini_la_LDFLAGS = \
85
 
        -no-undefined   \
86
 
        $(AM_LDFLAGS)
87
 
 
88
 
totem-pl-parser-builtins.h: stamp-totem-pl-parser-builtins.h
89
 
        @true
90
 
 
91
 
stamp-totem-pl-parser-builtins.h: totem-pl-parser.h Makefile
92
 
        (cd $(srcdir) && $(GLIB_MKENUMS) \
93
 
                        --fhead "#ifndef __TOTEM_PL_PARSER_BUILTINS_H__\n#define __TOTEM_PL_PARSER_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
94
 
                        --fprod "/* enumerations from \"@filename@\" */\n" \
95
 
                        --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define TOTEM_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
96
 
                        --ftail "G_END_DECLS\n\n#endif /* __TOTEM_PL_PARSER_BUILTINS_H__ */" totem-pl-parser.h) >> xgen-gtbh \
97
 
        && (cmp -s xgen-gtbh totem-pl-parser-builtins.h || cp xgen-gtbh totem-pl-parser-builtins.h ) \
98
 
        && rm -f xgen-gtbh \
99
 
        && echo timestamp > $(@F)
100
 
 
101
 
totem-pl-parser-builtins.c: totem-pl-parser.h Makefile totem-pl-parser-builtins.h
102
 
        (cd $(srcdir) && $(GLIB_MKENUMS) \
103
 
                        --fhead "#include \"totem-pl-parser.h\"\n#include \"totem-pl-parser-builtins.h\"" \
104
 
                        --fprod "\n/* enumerations from \"@filename@\" */" \
105
 
                        --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {" \
106
 
                        --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
107
 
                        --vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n" \
108
 
                totem-pl-parser.h ) > xgen-gtbc \
109
 
        && cp xgen-gtbc totem-pl-parser-builtins.c  \
110
 
        && rm -f xgen-gtbc
111
 
 
112
 
CLEANFILES = \
113
 
        totem-pl-parser-builtins.h \
114
 
        totem-pl-parser-builtins.c \
115
 
        stamp-totem-pl-parser-builtins.h \
116
 
        $(BUILT_SOURCES)
117
 
 
118
 
EXTRA_DIST = \
119
 
        totemplparser-marshal.list \
120
 
        totem-pl-parser-features.h.in