summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/openra/files')
-rw-r--r--games-strategy/openra/files/openra-0_pre20120304-makefile.patch46
-rw-r--r--games-strategy/openra/files/openra-cnc.desktop8
-rw-r--r--games-strategy/openra/files/openra-editor.desktop8
-rw-r--r--games-strategy/openra/files/openra-ra.desktop8
4 files changed, 70 insertions, 0 deletions
diff --git a/games-strategy/openra/files/openra-0_pre20120304-makefile.patch b/games-strategy/openra/files/openra-0_pre20120304-makefile.patch
new file mode 100644
index 000000000..9e7edfa02
--- /dev/null
+++ b/games-strategy/openra/files/openra-0_pre20120304-makefile.patch
@@ -0,0 +1,46 @@
+From: hasufell <julian.ospald@googlemail.com>
+Date: Sat Mar 31 21:32:07 CEST 2012
+Subject: paths and install rules
+
+fix non-modifable paths and broken install-rules
+
+--- Makefile
++++ Makefile
+@@ -180,10 +180,10 @@
+ #
+ # Install / Uninstall for *nix
+ #
+-prefix = /usr/local
+-datarootdir = $(prefix)/share
+-datadir = $(datarootdir)
+-bindir = $(prefix)/bin
++prefix ?= /usr/local
++datarootdir ?= $(prefix)/share
++datadir ?= $(datarootdir)
++bindir ?= $(prefix)/bin
+ BIN_INSTALL_DIR = $(DESTDIR)$(bindir)
+ INSTALL_DIR = $(DESTDIR)$(datadir)/openra
+ INSTALL = install
+@@ -219,15 +219,20 @@
+ @cp -r glsl $(INSTALL_DIR)
+ @cp -r cg $(INSTALL_DIR)
+ @cp *.ttf $(INSTALL_DIR)
+- @cp --parents -r thirdparty/Tao $(INSTALL_DIR)
++ @cp thirdparty/Tao/* $(INSTALL_DIR)
+ @$(INSTALL_PROGRAM) thirdparty/ICSharpCode.SharpZipLib.dll $(INSTALL_DIR)
+
+ @echo "#!/bin/sh" > openra
+ @echo "cd "$(datadir)"/openra" >> openra
+- @echo "mono "$(datadir)"/openra/OpenRA.Game.exe \"$$""@\"" >> openra
++ @echo "exec mono "$(datadir)"/openra/OpenRA.Game.exe \"$$""@\"" >> openra
++
++ @echo "#!/bin/sh" > openra
++ @echo "cd "$(datadir)"/openra" >> openra-editor
++ @echo "exec mono "$(datadir)"/openra/OpenRA.Editor.exe \"$$""@\"" >> openra-editor
+
+ @$(INSTALL_PROGRAM) -d $(BIN_INSTALL_DIR)
+ @$(INSTALL_PROGRAM) -m +rx openra $(BIN_INSTALL_DIR)
++ @$(INSTALL_PROGRAM) -m +rx openra-editor $(BIN_INSTALL_DIR)
+
+ uninstall:
+ @-rm -r $(INSTALL_DIR)
diff --git a/games-strategy/openra/files/openra-cnc.desktop b/games-strategy/openra/files/openra-cnc.desktop
new file mode 100644
index 000000000..09002fd70
--- /dev/null
+++ b/games-strategy/openra/files/openra-cnc.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+GenericName=OpenRA - Command & Conquer
+Name=OpenRA CNC
+Icon=openra
+Exec=openra Game.Mods=cnc Graphics.Renderer=Gl
+Terminal=false
+Categories=Game;
diff --git a/games-strategy/openra/files/openra-editor.desktop b/games-strategy/openra/files/openra-editor.desktop
new file mode 100644
index 000000000..48aa45a6e
--- /dev/null
+++ b/games-strategy/openra/files/openra-editor.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+GenericName=OpenRA - Editor
+Name=OpenRA Map Editor
+Icon=openra
+Exec=openra-editor
+Terminal=false
+Categories=Game;
diff --git a/games-strategy/openra/files/openra-ra.desktop b/games-strategy/openra/files/openra-ra.desktop
new file mode 100644
index 000000000..98abf527d
--- /dev/null
+++ b/games-strategy/openra/files/openra-ra.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+GenericName=OpenRA - Red Alert
+Name=OpenRA RA
+Icon=openra
+Exec=openra Game.Mods=ra Graphics.Renderer=Gl
+Terminal=false
+Categories=Game;