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