1baf8417ef
updated the patch in collaboration with upstream OBS-URL: https://build.opensuse.org/request/show/415957 OBS-URL: https://build.opensuse.org/package/show/games/scummvm?expand=0&rev=40
91 lines
3.5 KiB
Diff
91 lines
3.5 KiB
Diff
From cba074852eb6a3c8b3010493e4aa7fed548391fe Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
|
|
Date: Fri, 29 Jul 2016 19:46:25 +0200
|
|
Subject: [PATCH 1/3] Add an appdata.xml file.
|
|
|
|
---
|
|
dists/scummvm.appdata.xml | 28 ++++++++++++++++++++++++++++
|
|
1 file changed, 28 insertions(+)
|
|
create mode 100644 dists/scummvm.appdata.xml
|
|
|
|
diff --git a/dists/scummvm.appdata.xml b/dists/scummvm.appdata.xml
|
|
new file mode 100644
|
|
index 0000000..e9185cd
|
|
--- /dev/null
|
|
+++ b/dists/scummvm.appdata.xml
|
|
@@ -0,0 +1,28 @@
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
+<component type="desktop">
|
|
+ <id>scummvm.desktop</id>
|
|
+ <metadata_license>CC0-1.0</metadata_license>
|
|
+ <project_license>GPL-2.0+</project_license>
|
|
+ <name>ScummVM</name>
|
|
+ <summary>Interpreter for several adventure games</summary>
|
|
+ <description>
|
|
+ <p>
|
|
+ ScummVM is an interpreter that will play graphic adventure games written
|
|
+ for LucasArts' SCUMM virtual machine (such as Day of the Tentacle and
|
|
+ Monkey Island), Sierra's AGI adventures (such as early King's Quest and
|
|
+ Space Quest games), Adventure Soft's Simon the Sorcerer 1, 2 and Feeble Files,
|
|
+ Revolution Software's Beneath a Steel Sky and Broken Sword 1, 2 and 2.5,
|
|
+ Interactive Binary Illusions' Flight of the Amazon Queen,
|
|
+ Coktel Vision's Gobliiins, Wyrmkeep's Inherit the Earth, Westwood's
|
|
+ Legend of Kyrandia, and various others.
|
|
+ </p>
|
|
+ </description>
|
|
+ <screenshots>
|
|
+ <screenshot type="default">
|
|
+ <image>http://wiki.scummvm.org/images/f/f8/Launcherwithgames.png</image>
|
|
+ <caption>ScummVM Launcher</caption>
|
|
+ </screenshot>
|
|
+ </screenshots>
|
|
+ <url type="homepage">https://www.scummvm.org</url>
|
|
+ <updatecontact>scummvm-devel@lists.sourceforge.net</updatecontact>
|
|
+</component>
|
|
|
|
From c10a5aa10b93273d03d1bbdac97e9da11799372c Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
|
|
Date: Fri, 29 Jul 2016 21:40:50 +0200
|
|
Subject: [PATCH 2/3] Install the .desktop file.
|
|
|
|
---
|
|
ports.mk | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/ports.mk b/ports.mk
|
|
index dce5a5d..3f0a6a5 100644
|
|
--- a/ports.mk
|
|
+++ b/ports.mk
|
|
@@ -18,6 +18,8 @@ install:
|
|
$(INSTALL) -c -m 644 $(DIST_FILES_DOCS) "$(DESTDIR)$(docdir)"
|
|
$(INSTALL) -d "$(DESTDIR)$(datadir)"
|
|
$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(datadir)/"
|
|
+ $(INSTALL) -d "$(DESTDIR)$(datarootdir)/applications"
|
|
+ $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.desktop" "$(DESTDIR)$(datarootdir)/applications/scummvm.desktop"
|
|
ifdef DYNAMIC_MODULES
|
|
$(INSTALL) -d "$(DESTDIR)$(libdir)/scummvm/"
|
|
$(INSTALL) -c -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/"
|
|
|
|
From 5466359eed2fbe68b7ed3f019d334aefcc36b0c8 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
|
|
Date: Fri, 29 Jul 2016 21:41:00 +0200
|
|
Subject: [PATCH 3/3] Install the appdata.xml file.
|
|
|
|
---
|
|
ports.mk | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/ports.mk b/ports.mk
|
|
index 3f0a6a5..2c81651 100644
|
|
--- a/ports.mk
|
|
+++ b/ports.mk
|
|
@@ -20,6 +20,8 @@ install:
|
|
$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(datadir)/"
|
|
$(INSTALL) -d "$(DESTDIR)$(datarootdir)/applications"
|
|
$(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.desktop" "$(DESTDIR)$(datarootdir)/applications/scummvm.desktop"
|
|
+ $(INSTALL) -d "$(DESTDIR)$(datarootdir)/appdata"
|
|
+ $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.appdata.xml" "$(DESTDIR)$(datarootdir)/appdata/scummvm.appdata.xml"
|
|
ifdef DYNAMIC_MODULES
|
|
$(INSTALL) -d "$(DESTDIR)$(libdir)/scummvm/"
|
|
$(INSTALL) -c -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/"
|