diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2007-08-19 11:23:57 +0000 |
---|---|---|
committer | Philipp Zabel <philipp.zabel@gmail.com> | 2007-08-19 11:23:57 +0000 |
commit | 3749fb97fb897e5ce64df385a0940a71c7fd3e92 (patch) | |
tree | 25479a74aa90cc2dcef8dd454a110dd06ccce83d /packages/scummvm/files | |
parent | cf0a5ca841a4aa19c8d71d8f4d31d114bcdeec7c (diff) |
scummvm-0.9.1: update packaging, make default, openmoko integration
* remove DEFAULT_PREFERENCE="-1"
* don't strip executable during install, we do that while packaging
* add openmoko-scummvm script for fic-gta01 and scummvm.desktop file.
* package the modern theme by default - maybe this should go
into a separate scummvm-theme package, RRECOMMENDED by scummvm
Diffstat (limited to 'packages/scummvm/files')
-rw-r--r-- | packages/scummvm/files/fic-gta01/.mtn2git_empty | 0 | ||||
-rwxr-xr-x | packages/scummvm/files/fic-gta01/openmoko-scummvm | 19 | ||||
-rw-r--r-- | packages/scummvm/files/makefile-nostrip.patch | 13 | ||||
-rw-r--r-- | packages/scummvm/files/scummvm.desktop | 12 |
4 files changed, 44 insertions, 0 deletions
diff --git a/packages/scummvm/files/fic-gta01/.mtn2git_empty b/packages/scummvm/files/fic-gta01/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/scummvm/files/fic-gta01/.mtn2git_empty diff --git a/packages/scummvm/files/fic-gta01/openmoko-scummvm b/packages/scummvm/files/fic-gta01/openmoko-scummvm new file mode 100755 index 0000000000..e8c5cb3984 --- /dev/null +++ b/packages/scummvm/files/fic-gta01/openmoko-scummvm @@ -0,0 +1,19 @@ +#!/bin/sh + +# Save current AUX Key mapping +SAVE_KEY="$(xmodmap -pke | grep 'keycode 8')" + +# Map AUX Key to F5 +xmodmap -e "keycode 8 = F5" + +# Turn LCD feft +xrandr -o left + +# Start the scummvm in fullscreen mode +scummvm --fullscreen --themepath=/usr/share/scummvm/ + +# Turn LCD normal +xrandr -o normal + +# Restore the AUX Key mapping +xmodmap -e "$SAVE_KEY" diff --git a/packages/scummvm/files/makefile-nostrip.patch b/packages/scummvm/files/makefile-nostrip.patch new file mode 100644 index 0000000000..7f9c8b49d2 --- /dev/null +++ b/packages/scummvm/files/makefile-nostrip.patch @@ -0,0 +1,13 @@ +Index: scummvm-0.9.1/Makefile +=================================================================== +--- scummvm-0.9.1.orig/Makefile 2007-08-18 13:02:07.000000000 +0200 ++++ scummvm-0.9.1/Makefile 2007-08-18 13:02:24.000000000 +0200 +@@ -45,7 +45,7 @@ + + install: all + $(INSTALL) -d "$(DESTDIR)$(BINDIR)" +- $(INSTALL) -c -s -m 755 "$(srcdir)/scummvm$(EXEEXT)" "$(DESTDIR)$(BINDIR)/scummvm$(EXEEXT)" ++ $(INSTALL) -c -m 755 "$(srcdir)/scummvm$(EXEEXT)" "$(DESTDIR)$(BINDIR)/scummvm$(EXEEXT)" + $(INSTALL) -d "$(DESTDIR)$(MANDIR)/man6/" + $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.6" "$(DESTDIR)$(MANDIR)/man6/scummvm.6" + $(INSTALL) -d "$(DESTDIR)$(PREFIX)/share/pixmaps/" diff --git a/packages/scummvm/files/scummvm.desktop b/packages/scummvm/files/scummvm.desktop new file mode 100644 index 0000000000..96c025050e --- /dev/null +++ b/packages/scummvm/files/scummvm.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=ScummVM +Name[pl]=ScummVM +Comment=Interpreter for several adventure games +Comment[pl]=Interpreter graficznych gier przygodowych +Exec=openmoko-scummvm +Icon=scummvm.xpm +Terminal=false +Type=Application +Categories=Application;Game;AdventureGame; +StartupNotify=false |