[SCM] multi-platform emulator, including NES, GB/A, Lynx, PC Engine branch, master, updated. debian/0.8.D.3-1-5-g42a677e

Stephen Kitt steve at sk2.org
Tue Nov 8 07:01:44 UTC 2011


The following commit has been merged in the master branch:
commit 7402905a8f4bf910f3e02c731904a33d3e55c4c7
Author: Stephen Kitt <steve at sk2.org>
Date:   Tue Nov 8 00:14:02 2011 +0100

    Add .desktop file with supported MIME types (LP: #886912).

diff --git a/debian/changelog b/debian/changelog
index 2df402a..b2e6833 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,11 @@ mednafen (0.8.D.3-2) unstable; urgency=low
   * Fix "debian/control uses hardcoded list of non-Linux architectures" -
     qualify libasound2-dev dependency using [linux-any] instead of
     [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386] (closes: #634461).
+  * Install .desktop file allowing file association, with known
+    supported MIME types, as suggested by Damian Yarrick (LP: #886912;
+    helps with #635538).
 
- -- Stephen Kitt <steve at sk2.org>  Wed, 20 Jul 2011 23:30:13 +0200
+ -- Stephen Kitt <steve at sk2.org>  Mon, 07 Nov 2011 23:19:44 +0100
 
 mednafen (0.8.D.3-1) unstable; urgency=low
 
diff --git a/debian/mednafen.desktop b/debian/mednafen.desktop
new file mode 100644
index 0000000..f18617c
--- /dev/null
+++ b/debian/mednafen.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Mednafen
+GenericName=Emulator
+Comment=Multi-system video game emulator
+# mednafen doesn't display a file chooser, no point displaying it in
+# the menus
+NoDisplay=true
+Exec=/usr/games/mednafen %f
+MimeType=application/x-gameboy-rom;application/x-gba-rom;application/x-nes-rom
diff --git a/debian/mednafen.install b/debian/mednafen.install
new file mode 100644
index 0000000..efadcb2
--- /dev/null
+++ b/debian/mednafen.install
@@ -0,0 +1 @@
+debian/mednafen.desktop /usr/share/applications
diff --git a/debian/rules b/debian/rules
index 90d9e7b..4ca5301 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,6 +65,7 @@ binary-indep: build install
 binary-arch: build install
 	dh_testdir
 	dh_testroot
+	dh_install
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 	dh_installman debian/mednafen.6

-- 
multi-platform emulator, including NES, GB/A, Lynx, PC Engine



More information about the Pkg-games-commits mailing list