sout: chromecast: use stream info helpers in sout_access_out_sys_t
[vlc.git] / share / Makefile.am
blobe5b801a5be1d6b3444ecddace13cfd0ce8d3f9db
1 CLEANFILES = skins2/default.vlt
2 MOSTLYCLEANFILES =
3 EXTRA_DIST =
5 desktopdir = $(datadir)/applications
6 if !HAVE_WIN32
7 if !HAVE_DARWIN
8 desktop_DATA = vlc.desktop
9 appdatadir = $(datarootdir)/metainfo
10 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
11 appdata_in_files = vlc.appdata.xml.in
12 endif
13 endif
15 EXTRA_DIST += vlc.desktop.in vlc.desktop.mimetypes
16 CLEANFILES += $(desktop_DATA) $(appdata_DATA)
18 vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
19         $(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' $(srcdir)/vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; \
20         sed \
21                 -e 's,\@bindir\@,$(bindir),g' \
22                  -e "s,\@MIMETYPES\@,$$mimetypes,g" < "$<" > tmp-$@
23         $(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
24         $(AM_V_at)mv -f tmp-$@ $@
26 vlc.appdata.xml: vlc.appdata.xml.in
27         $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ || cp $< $@
29 iconsdatadir = $(datadir)/icons/hicolor
30 icons16dir = $(iconsdatadir)/16x16/apps
31 icons32dir = $(iconsdatadir)/32x32/apps
32 icons48dir = $(iconsdatadir)/48x48/apps
33 icons128dir = $(iconsdatadir)/128x128/apps
34 icons256dir = $(iconsdatadir)/256x256/apps
36 if !HAVE_WIN32
37 dist_pkgdata_DATA = icons/vlc.ico
38 dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
39 dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
40                         icons/32x32/vlc-xmas.xpm
41 dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-xmas.png
42 dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-xmas.png \
43                      icons/128x128/vlc-kb.png
44 dist_icons256_DATA = icons/256x256/vlc.png
46 nobase_dist_pkgdata_SCRIPTS = \
47         utils/gnome-vlc-default.sh \
48         utils/audio-vlc-default.sh \
49         utils/video-vlc-default.sh \
50         $(NULL)
51 endif
53 EXTRA_DIST += \
54         $(skins2_default_vlt_FILES) \
55         $(DIST_icons) \
56         $(DIST_http_lua) \
57         $(DIST_solid)
59 nobase_pkgdata_DATA =
60 nobase_pkglibexec_SCRIPTS =
61 nobase_dist_pkgdata_DATA =
62 if BUILD_SKINS
63 nobase_pkgdata_DATA += skins2/default.vlt
64 nobase_dist_pkgdata_DATA += $(DIST_skins2)
65 endif
66 if KDE_SOLID
67 soliddata_DATA = $(DIST_solid)
68 endif
70 DIST_icons = \
71         vlc512x512.png
73 DIST_skins2 = \
74         skins2/fonts/FreeSans.ttf \
75         skins2/fonts/FreeSansBold.ttf \
76         skins2/skin.dtd \
77         skins2/skin.catalog \
78         skins2/winamp2.xml
80 skins2_default_vlt_FILES = \
81         skins2/default/theme.xml \
82         skins2/default/subX/about.png \
83         skins2/default/subX/eq.png \
84         skins2/default/subX/font.otf \
85         skins2/default/subX/main.png \
86         skins2/default/subX/playtreeglyphs.png \
87         skins2/default/subX/pl.png \
88         skins2/default/subX/sysbuttons.png \
89         skins2/default/subX/vol_anim.png \
90         skins2/default/subX/vol_slider.png
92 skins2/default.vlt: $(skins2_default_vlt_FILES)
93         $(AM_V_at)mkdir -p skins2
94         $(AM_V_at)rm -f -- skins2/default.vlt.tmp
95         $(AM_V_GEN)GZIP=--no-name \
96         tar cvvzf skins2/default.vlt.tmp \
97                 --owner=root --group=root --directory="$(srcdir)/skins2" \
98                 default/
99         $(AM_V_at)mv -f -- skins2/default.vlt.tmp skins2/default.vlt
102 # LUA
104 luac_verbose = $(luac_verbose_$(V))
105 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
106 luac_verbose_0 = @echo "  LUAC   $@";
108 .lua.luac:
109         $(AM_V_at)for f in $(EXTRA_DIST); do \
110                 test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
111                 if test $$f = $<; then \
112                         exit 0; \
113                 fi; \
114         done; \
115         echo "Attempt to byte-compile unknown file: $(<)!"; \
116         exit 1
117         $(AM_V_at)mkdir -p "$$(dirname '$@')"
118         $(luac_verbose)$(LUAC) -o $@ $<
120 if BUILD_LUA
121 nobase_pkglibexec_SCRIPTS += \
122         lua/extensions/VLSub.luac \
123         lua/intf/cli.luac \
124         lua/intf/dummy.luac \
125         lua/intf/dumpmeta.luac \
126         lua/intf/luac.luac \
127         lua/intf/http.luac \
128         lua/intf/modules/host.luac \
129         lua/intf/modules/httprequests.luac \
130         lua/intf/telnet.luac \
131         lua/meta/art/02_frenchtv.luac \
132         lua/meta/art/03_lastfm.luac \
133         lua/meta/art/01_googleimage.luac \
134         lua/meta/art/00_musicbrainz.luac \
135         lua/meta/reader/filename.luac \
136         lua/modules/common.luac \
137         lua/modules/dkjson.luac \
138         lua/modules/sandbox.luac \
139         lua/modules/simplexml.luac \
140         lua/playlist/anevia_streams.luac \
141         lua/playlist/anevia_xml.luac \
142         lua/playlist/appletrailers.luac \
143         lua/playlist/bbc_co_uk.luac \
144         lua/playlist/cue.luac \
145         lua/playlist/dailymotion.luac \
146         lua/playlist/jamendo.luac \
147         lua/playlist/koreus.luac \
148         lua/playlist/liveleak.luac \
149         lua/playlist/newgrounds.luac \
150         lua/playlist/rockbox_fm_presets.luac \
151         lua/playlist/soundcloud.luac \
152         lua/playlist/vimeo.luac \
153         lua/playlist/vocaroo.luac \
154         lua/playlist/youtube.luac \
155         lua/playlist/twitch.luac \
156         lua/sd/icecast.luac \
157         lua/sd/jamendo.luac \
158         $(NULL)
160 nobase_doc_DATA = \
161         lua/README.txt \
162         lua/extensions/README.txt \
163         lua/http/requests/README.txt \
164         lua/intf/README.txt \
165         lua/intf/dumpmeta.lua \
166         lua/meta/README.txt \
167         lua/meta/art/README.txt \
168         lua/meta/art/01_googleimage.lua \
169         lua/meta/fetcher/README.txt \
170         lua/meta/reader/README.txt \
171         lua/meta/reader/filename.lua \
172         lua/playlist/README.txt \
173         lua/playlist/liveleak.lua \
174         lua/playlist/youtube.lua \
175         lua/sd/README.txt \
176         lua/sd/icecast.lua \
177         lua/sd/icast.lua \
178         $(NULL)
180 nobase_dist_pkgdata_DATA += \
181         lua/http/view.html \
182         lua/http/mobile.html \
183         lua/http/dialogs/create_stream.html \
184         lua/http/dialogs/equalizer_window.html \
185         lua/http/dialogs/mosaic_window.html \
186         lua/http/dialogs/batch_window.html \
187         lua/http/dialogs/error_window.html \
188         lua/http/dialogs/browse_window.html \
189         lua/http/dialogs/stream_window.html \
190         lua/http/dialogs/offset_window.html \
191         lua/http/dialogs/stream_config_window.html \
192         lua/http/custom.lua \
193         lua/http/vlm.html \
194         lua/http/images/buttons.png \
195         lua/http/images/speaker-32.png \
196         lua/http/images/vlc-48.png \
197         lua/http/images/Audio-48.png \
198         lua/http/images/Folder-48.png \
199         lua/http/images/Other-48.png \
200         lua/http/images/Back-48.png \
201         lua/http/images/Video-48.png \
202         lua/http/images/vlc16x16.png \
203         lua/http/mobile_equalizer.html \
204         lua/http/vlm_export.html \
205         lua/http/mobile_browse.html \
206         lua/http/favicon.ico \
207         lua/http/mobile_view.html \
208         lua/http/requests/playlist.xml \
209         lua/http/requests/playlist.json \
210         lua/http/requests/README.txt \
211         lua/http/requests/playlist_jstree.xml \
212         lua/http/requests/browse.xml \
213         lua/http/requests/browse.json \
214         lua/http/requests/vlm_cmd.xml \
215         lua/http/requests/status.xml \
216         lua/http/requests/status.json \
217         lua/http/requests/vlm.xml \
218         lua/http/index.html \
219         lua/http/css/ui-lightness/jquery-ui-1.8.13.custom.css \
220         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png \
221         lua/http/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png \
222         lua/http/css/ui-lightness/images/ui-icons_ffffff_256x240.png \
223         lua/http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png \
224         lua/http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png \
225         lua/http/css/ui-lightness/images/ui-icons_222222_256x240.png \
226         lua/http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png \
227         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png \
228         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png \
229         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png \
230         lua/http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png \
231         lua/http/css/ui-lightness/images/ui-icons_228ef1_256x240.png \
232         lua/http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png \
233         lua/http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png \
234         lua/http/css/main.css \
235         lua/http/css/mobile.css \
236         lua/http/js/ui.js \
237         lua/http/js/common.js \
238         lua/http/js/jquery.jstree.js \
239         lua/http/js/controllers.js
240 endif
241 MOSTLYCLEANFILES += $(nobase_pkgdata_DATA)
243 EXTRA_DIST += \
244         lua/README.txt \
245         lua/extensions/README.txt \
246         lua/extensions/VLSub.lua \
247         lua/intf/README.txt \
248         lua/intf/cli.lua \
249         lua/intf/dummy.lua \
250         lua/intf/dumpmeta.lua \
251         lua/intf/http.lua \
252         lua/intf/luac.lua \
253         lua/intf/modules/host.lua \
254         lua/intf/modules/httprequests.lua \
255         lua/intf/telnet.lua \
256         lua/meta/README.txt \
257         lua/meta/art/README.txt \
258         lua/meta/art/02_frenchtv.lua \
259         lua/meta/art/03_lastfm.lua \
260         lua/meta/art/01_googleimage.lua \
261         lua/meta/art/00_musicbrainz.lua \
262         lua/meta/fetcher/README.txt \
263         lua/meta/reader/README.txt \
264         lua/meta/reader/filename.lua \
265         lua/modules/common.lua \
266         lua/modules/dkjson.lua \
267         lua/modules/sandbox.lua \
268         lua/modules/simplexml.lua \
269         lua/playlist/README.txt \
270         lua/playlist/anevia_streams.lua \
271         lua/playlist/anevia_xml.lua \
272         lua/playlist/appletrailers.lua \
273         lua/playlist/bbc_co_uk.lua \
274         lua/playlist/break.lua \
275         lua/playlist/cue.lua \
276         lua/playlist/dailymotion.lua \
277         lua/playlist/extreme.lua \
278         lua/playlist/france2.lua \
279         lua/playlist/jamendo.lua \
280         lua/playlist/katsomo.lua \
281         lua/playlist/koreus.lua \
282         lua/playlist/lelombrik.lua \
283         lua/playlist/liveleak.lua \
284         lua/playlist/metacafe.lua \
285         lua/playlist/mpora.lua \
286         lua/playlist/newgrounds.lua \
287         lua/playlist/pinkbike.lua \
288         lua/playlist/rockbox_fm_presets.lua \
289         lua/playlist/soundcloud.lua \
290         lua/playlist/vimeo.lua \
291         lua/playlist/vocaroo.lua \
292         lua/playlist/youtube.lua \
293         lua/playlist/twitch.lua \
294         lua/playlist/zapiks.lua \
295         lua/sd/README.txt \
296         lua/sd/fmc.lua \
297         lua/sd/icecast.lua \
298         lua/sd/icast.lua \
299         lua/sd/jamendo.lua
300 DIST_solid = \
301         solid/vlc-openbd.desktop \
302         solid/vlc-opencda.desktop \
303         solid/vlc-opendvd.desktop \
304         solid/vlc-openvcd.desktop