Commit 5a739e49 authored by Dominique Leuenberger's avatar Dominique Leuenberger Committed by Jean-Baptiste Kempf

AppStream: Mark .appdata.xml for translation

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 782bb952
......@@ -493,7 +493,7 @@ AS_IF([test "${enable_shared}" = "no" -a "${enable_vlc}" != "no"], [
dnl
dnl Gettext stuff
dnl
AM_GNU_GETTEXT_VERSION([0.19.6])
AM_GNU_GETTEXT_VERSION([0.19.7])
AM_GNU_GETTEXT([external], [need-formatstring-macros])
dnl
......@@ -4255,6 +4255,7 @@ AC_CONFIG_FILES([
modules/gui/qt/Makefile
modules/gui/skins2/Makefile
modules/hw/mmal/Makefile
share/vlc.appdata.xml.in
])
AM_COND_IF([HAVE_WIN32], [
......
......@@ -1192,6 +1192,7 @@ modules/visualization/visual/fft.h
modules/visualization/visual/visual.c
modules/visualization/visual/visual.h
modules/visualization/vsxu.cpp
share/vlc.appdata.xml
share/lua/http/dialogs/batch_window.html
share/lua/http/dialogs/browse_window.html
share/lua/http/dialogs/create_stream.html
......
vlc.desktop
vlc.appdata.xml
vlc.appdata.xml.in
......@@ -8,8 +8,12 @@ if !HAVE_DARWIN
desktop_DATA = vlc.desktop
endif
endif
appdatadir = $(datarootdir)/appdata
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = vlc.appdata.xml.in
EXTRA_DIST += vlc.desktop.in vlc.desktop.mimetypes
CLEANFILES += $(desktop_DATA)
CLEANFILES += $(desktop_DATA) $(appdata_DATA)
vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)sed -e 's,\@bindir\@,$(bindir),g' < "$<" > tmp-$@
......@@ -17,8 +21,8 @@ vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
$(AM_V_at)mv -f tmp-$@ $@
vlc.appdata.xml: vlc.appdata.xml.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@
vlc.appdata.xml: vlc.appdata.xml.in
$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
iconsdatadir = $(datadir)/icons/hicolor
icons16dir = $(iconsdatadir)/16x16/apps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment