Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
051695ef by Mathieu Velten at 2026-02-08T09:06:01+00:00
share: add desktop files to open BR/DVD/CDA/VCD
Signed-off-by: Thomas Guillem <[email protected]>
(cherry picked from commit 488e0d6b644a6231dec87aad26e0e5052a17cbc2)
- - - - -
6 changed files:
- share/Makefile.am
- + share/vlc-openbd.desktop.in
- + share/vlc-opencda.desktop.in
- + share/vlc-opendvd.desktop.in
- + share/vlc-openvcd.desktop.in
- share/vlc.desktop.mimetypes
Changes:
=====================================
share/Makefile.am
=====================================
@@ -5,16 +5,17 @@ EXTRA_DIST =
desktopdir = $(datadir)/applications
if !HAVE_WIN32
if !HAVE_DARWIN
-desktop_DATA = vlc.desktop
+desktop_DATA = vlc.desktop vlc-openbd.desktop vlc-opendvd.desktop
vlc-openvcd.desktop vlc-opencda.desktop
appdatadir = $(datarootdir)/metainfo
appdata_DATA = org.videolan.vlc.appdata.xml
endif
endif
EXTRA_DIST += vlc.desktop.in vlc.desktop.mimetypes
+EXTRA_DIST += vlc-openbd.desktop.in vlc-opendvd.desktop.in
vlc-openvcd.desktop.in vlc-opencda.desktop.in
CLEANFILES += $(desktop_DATA) $(appdata_DATA)
-vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
+%.desktop: %.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g'
$(srcdir)/vlc.desktop.mimetypes | $(EGREP) -v '^$$' | tr "\n" ';')"; \
sed \
-e 's,\@bindir\@,$(bindir),g' \
=====================================
share/vlc-openbd.desktop.in
=====================================
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=VLC media player (Blu-ray)
+NoDisplay=true
+Exec=@bindir@/vlc --started-from-file bluray://%f
+Icon=vlc
+Terminal=false
+Type=Application
+MimeType=x-content/video-bluray
=====================================
share/vlc-opencda.desktop.in
=====================================
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=VLC media player (Audio CD)
+NoDisplay=true
+Exec=@bindir@/vlc --started-from-file cdda://%f
+Icon=vlc
+Terminal=false
+Type=Application
+MimeType=x-content/audio-cdda
=====================================
share/vlc-opendvd.desktop.in
=====================================
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=VLC media player (DVD)
+NoDisplay=true
+Exec=@bindir@/vlc --started-from-file dvd://%f
+Icon=vlc
+Terminal=false
+Type=Application
+MimeType=x-content/video-dvd
=====================================
share/vlc-openvcd.desktop.in
=====================================
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=VLC media player (VCD)
+NoDisplay=true
+Exec=@bindir@/vlc --started-from-file vcd://%f
+Icon=vlc
+Terminal=false
+Type=Application
+MimeType=x-content/video-vcd;x-content/video-svcd
=====================================
share/vlc.desktop.mimetypes
=====================================
@@ -119,10 +119,6 @@ x-scheme-handler/icyx # Icecast
# Linux desktop environment hooks for ISOs etc.
application/x-cd-image
-x-content/video-vcd
-x-content/video-svcd
-x-content/video-dvd
-x-content/audio-cdda
x-content/audio-player
# Playlists / text/xml list with URLs
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/051695eff23c41d343ab7622c42443a5ea8044d8
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/051695eff23c41d343ab7622c42443a5ea8044d8
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits