* ./debian/vlc.mime: the vlc packages registers with the Debian MIME system.
authorSam Hocevar <sam@videolan.org>
Sat, 31 May 2003 23:41:49 +0000 (23:41 +0000)
committerSam Hocevar <sam@videolan.org>
Sat, 31 May 2003 23:41:49 +0000 (23:41 +0000)
debian/rules
debian/vlc.mime [new file with mode: 0644]

index 87073c0..ddcf4d1 100755 (executable)
@@ -351,6 +351,7 @@ binary-arch: build install
        dh_installdocs -p vlc
 #      dh_installexamples
        dh_installmenu
        dh_installdocs -p vlc
 #      dh_installexamples
        dh_installmenu
+       dh_installmime
        dh_installman doc/vlc.1 -p vlc
        dh_installman doc/vlc-config.1 -p libvlc0-dev
 #      dh_installchangelogs ChangeLog -p vlc
        dh_installman doc/vlc.1 -p vlc
        dh_installman doc/vlc-config.1 -p libvlc0-dev
 #      dh_installchangelogs ChangeLog -p vlc
diff --git a/debian/vlc.mime b/debian/vlc.mime
new file mode 100644 (file)
index 0000000..34c58b7
--- /dev/null
@@ -0,0 +1,32 @@
+video/mpeg; vlc %s; description="MPEG Video"; test=test -n "$DISPLAY"; priority=7
+video/mpeg; vlc -I rc -V aalib %s; needsterminal; description="MPEG Video"; priority=4
+video/x-mpeg; vlc %s; description="MPEG Video"; test=test -n "$DISPLAY"; priority=7
+video/x-mpeg; vlc -I rc -V aalib %s; needsterminal; description="MPEG Video"; priority=4
+video/mpeg-system; vlc %s; description="MPEG Video"; test=test -n "$DISPLAY"; priority=7
+video/mpeg-system; vlc -I rc -V aalib %s; needsterminal; description="MPEG Video"; priority=4
+video/x-mpeg-system; vlc %s; description="MPEG Video"; test=test -n "$DISPLAY"; priority=7
+video/x-mpeg-system; vlc -I rc -V aalib %s; needsterminal; description="MPEG Video"; priority=4
+
+video/mpeg4; vlc %s; description="MPEG-4 Video"; test=test -n "$DISPLAY"; priority=7
+video/mpeg4; vlc -I rc -V aalib %s; needsterminal; description="MPEG-4 Video"; priority=4
+audio/mpeg4; vlc %s; description="MPEG-4 Audio"; test=test -n "$DISPLAY"; priority=7
+audio/mpeg4; vlc -I rc -V aalib %s; needsterminal; description="MPEG-4 Audio"; priority=4
+application/mpeg4-iod; vlc %s; description="MPEG-4 Video"; test=test -n "$DISPLAY"; priority=7
+application/mpeg4-iod; vlc -I rc -V aalib %s; needsterminal; description="MPEG-4 Video"; priority=4
+application/mpeg4-muxcodetable; vlc %s; description="MPEG-4 Video"; test=test -n "$DISPLAY"; priority=7
+application/mpeg4-muxcodetable; vlc -I rc -V aalib %s; needsterminal; description="MPEG-4 Video"; priority=4
+
+video/x-msvideo; vlc %s; description="MS Video (AVI)"; test=test -n "$DISPLAY"; priority=4
+video/x-msvideo; vlc -I rc -V aalib %s; needsterminal; description="MS Video (AVI)"; priority=3
+
+video/quicktime; vlc %s; description="Apple Quicktime Video"; test=test -n "$DISPLAY"; priority=4
+video/quicktime; vlc -I rc -V aalib %s; needsterminal; description="Apple Quicktime Video"; priority=3
+
+application/x-ogg; vlc %s; description="Ogg stream"; test=test -n "$DISPLAY"; priority=4
+application/x-ogg; vlc -I rc -V aalib %s; needsterminal; description="Ogg stream"; priority=3
+
+application/x-ms-asf-plugin; vlc %s; description="Windows Media Video"; test=test -n "$DISPLAY"; priority=4
+application/x-ms-asf-plugin; vlc -I rc -V aalib %s; needsterminal; description="Windows Media Video"; priority=3
+application/x-mplayer2; vlc %s; description="Windows Media"; test=test -n "$DISPLAY"; priority=4
+application/x-mplayer2; vlc -I rc -V aalib %s; needsterminal; description="Windows Media"; priority=3
+