[vlc-commits] [Git][videolan/vlc][master] appdata: fix AppStream metadata file name, other small fixes
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Dec 4 07:51:23 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
a66e0130 by AsciiWolf at 2024-12-04T07:37:42+00:00
appdata: fix AppStream metadata file name, other small fixes
The file name should match the app id
Also add OARS metadata, fix default screenshot and fix component type
- - - - -
5 changed files:
- configure.ac
- po/POTFILES.in
- share/.gitignore
- share/Makefile.am
- share/vlc.appdata.xml.in.in → share/org.videolan.vlc.appdata.xml.in.in
Changes:
=====================================
configure.ac
=====================================
@@ -4900,7 +4900,7 @@ AC_CONFIG_FILES([
lib/Makefile
bin/Makefile
test/Makefile
- share/vlc.appdata.xml.in
+ share/org.videolan.vlc.appdata.xml.in
])
AM_COND_IF([HAVE_WIN32], [
=====================================
po/POTFILES.in
=====================================
@@ -1387,7 +1387,7 @@ share/lua/http/mobile.html
share/lua/http/mobile_browse.html
share/lua/http/mobile_equalizer.html
share/lua/http/mobile_view.html
-share/vlc.appdata.xml.in.in
+share/org.videolan.vlc.appdata.xml.in.in
# qt .ui files
=====================================
share/.gitignore
=====================================
@@ -1,4 +1,4 @@
vlc.desktop
vlc-*.desktop
-vlc.appdata.xml
-vlc.appdata.xml.in
+org.videolan.vlc.appdata.xml
+org.videolan.vlc.appdata.xml.in
=====================================
share/Makefile.am
=====================================
@@ -62,7 +62,7 @@ if !HAVE_WIN32
if !HAVE_DARWIN
desktop_DATA = vlc.desktop vlc-openbd.desktop vlc-opendvd.desktop vlc-openvcd.desktop vlc-opencda.desktop
appdatadir = $(datarootdir)/metainfo
-appdata_DATA = vlc.appdata.xml
+appdata_DATA = org.videolan.vlc.appdata.xml
endif
endif
@@ -78,7 +78,7 @@ CLEANFILES += $(desktop_DATA) $(appdata_DATA)
$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
$(AM_V_at)mv -f tmp-$@ $@
-vlc.appdata.xml: vlc.appdata.xml.in
+org.videolan.vlc.appdata.xml: org.videolan.vlc.appdata.xml.in
$(AM_V_GEN)$(MSGFMT) --xml --template "$<" -d "$(top_srcdir)/po" \
-o "$@.tmp" || \
cp $< $@.tmp
=====================================
share/vlc.appdata.xml.in.in → share/org.videolan.vlc.appdata.xml.in.in
=====================================
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016-2017 Jean-Baptiste Kempf CC-0 -->
-<component type="desktop">
+<component type="desktop-application">
<id>org.videolan.vlc</id>
<launchable type="desktop-id">vlc.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
@@ -31,11 +31,12 @@
<screenshot type="default">
<image>https://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-poney.jpg</image>
</screenshot>
- <screenshot type="default">
+ <screenshot>
<image>https://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-open.jpg</image>
</screenshot>
- <screenshot type="default">
+ <screenshot>
<image>https://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg</image>
</screenshot>
</screenshots>
+ <content_rating type="oars-1.1" />
</component>
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a66e01306dd5a072cf9e7e61763be967f8648110
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a66e01306dd5a072cf9e7e61763be967f8648110
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list