summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch13
-rw-r--r--recipes/gpe-tetris/gpe-tetris_0.6-4.bb4
2 files changed, 16 insertions, 1 deletions
diff --git a/recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch b/recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch
new file mode 100644
index 0000000000..2e32aa5ee9
--- /dev/null
+++ b/recipes/gpe-tetris/gpe-tetris-0.6-4/fix-install.patch
@@ -0,0 +1,13 @@
+diff --git gpe-tetris-0.6-4/Makefile-orig gpe-tetris-0.6-4/Makefile
+index 82c7245..27de49f 100644
+--- gpe-tetris-0.6-4/Makefile-orig
++++ gpe-tetris-0.6-4/Makefile
+@@ -46,7 +46,7 @@ install-program: all
+ install -m 644 pixmaps/stop.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/tetris/stop.png
+ install -m 644 pixmaps/pause.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/tetris/pause.png
+ install -m 644 pixmaps/highscores.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/tetris/highscores.png
+- install -s $(PACKAGE) $(BIN_PATH)/$(PACKAGE)
++ install $(PACKAGE) $(BIN_PATH)/$(PACKAGE)
+ install -d $(DESTDIR)$(PREFIX)/share/applications
+ install -d $(DESTDIR)$(PREFIX)/share/pixmaps
+ install -m 644 gpe-tetris.desktop $(DESTDIR)$(PREFIX)/share/applications/
diff --git a/recipes/gpe-tetris/gpe-tetris_0.6-4.bb b/recipes/gpe-tetris/gpe-tetris_0.6-4.bb
index 4a13d2443f..aa33b1fa6c 100644
--- a/recipes/gpe-tetris/gpe-tetris_0.6-4.bb
+++ b/recipes/gpe-tetris/gpe-tetris_0.6-4.bb
@@ -1,9 +1,11 @@
LICENSE = "GPL"
inherit gpe
+PR = "r1"
+
DESCRIPTION = "GTK+2 port of the well known game, Tetris."
DEPENDS = "gtk+ libgpewidget gpe-icons"
SECTION = "gpe"
PRIORITY = "optional"
-
+SRC_URI += "file://fix-install.patch;patch=1"