Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=cf5a047f96762c4287c48e74c821583fe382ecd6

commit cf5a047f96762c4287c48e74c821583fe382ecd6
Author: Elentir <[email protected]>
Date:   Fri May 4 22:35:13 2012 +0200

pingus-0.7.6-2-x86_64

* rebuild with boost>=1.49.0
* add patch to fix build

diff --git a/source/games-extra/pingus/FrugalBuild 
b/source/games-extra/pingus/FrugalBuild
index f8b3ec3..7c6b812 100644
--- a/source/games-extra/pingus/FrugalBuild
+++ b/source/games-extra/pingus/FrugalBuild
@@ -4,16 +4,18 @@

pkgname=pingus
pkgver=0.7.6
-pkgrel=1
+pkgrel=2
pkgdesc="Pingus is a free Lemmings clone for GNU/Linux"
-depends=('libboost>=1.46.1' 'sdl' 'libpng>=1.4.1' 'sdlimage' 'sdl_mixer' 
'physfs>=2.0.2' 'libboost' 'libglu')
+depends=('libboost>=1.49.0' 'sdl' 'libpng>=1.4.1' 'sdlimage' 'sdl_mixer' 
'physfs>=2.0.2' 'libboost' 'libglu')
makedepends=('boost' 'scons' 'mesa')
groups=('games-extra')
_F_googlecode_ext=".tar.bz2"
Finclude googlecode
+source=(${source[@]} pingus-gcc47.patch)
archs=('i686' 'x86_64')
url="http://pingus.seul.org";
-sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487')
+sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487' \
+          'c721b59650ebddc1c69b2c36d3769d0fd383519a')

_F_desktop_name="Pingus"
_F_desktop_desc="A free Lemmings[tm] clone"
@@ -22,6 +24,7 @@ _F_desktop_categories="Game;LogicGame"

build() {
Fcd
+       Fpatchall
scons prefix=/usr || Fdie
# fix launcher
sed -i 's/echo/echo -e/g' ./Makefile || Fdie
diff --git a/source/games-extra/pingus/pingus-gcc47.patch 
b/source/games-extra/pingus/pingus-gcc47.patch
new file mode 100644
index 0000000..c9ebb16
--- /dev/null
+++ b/source/games-extra/pingus/pingus-gcc47.patch
@@ -0,0 +1,26 @@
+Index: pingus-0.7.6/src/pingus/pingus_main.cpp
+===================================================================
+--- pingus-0.7.6.orig/src/pingus/pingus_main.cpp
++++ pingus-0.7.6/src/pingus/pingus_main.cpp
+@@ -465,7 +465,7 @@ PingusMain::init_path_finder()
+ void
+ PingusMain::print_greeting_message()
+ {
+-  std::string greeting = "Welcome to Pingus "VERSION;
++  std::string greeting = "Welcome to Pingus " VERSION;
+   greeting += "!";
+   std::cout <<  greeting << std::endl;
+   for (unsigned int i = 0; i < greeting.length(); ++i)
+Index: pingus-0.7.6/src/pingus/screens/pingus_menu.cpp
+===================================================================
+--- pingus-0.7.6.orig/src/pingus/screens/pingus_menu.cpp
++++ pingus-0.7.6/src/pingus/screens/pingus_menu.cpp
+@@ -153,7 +153,7 @@ PingusMenu::draw_background(DrawingConte
+                          gc.get_height()/2 - 280));
+
+   gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, 
gc.get_height()-140),
+-                "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke 
<[email protected]>\n"
++                "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke 
<[email protected]>\n"
+                 "See the file AUTHORS for a complete list of contributors.\n"
+                 "Pingus comes with ABSOLUTELY NO WARRANTY. This is free 
software, and you are\n"
+                 "welcome to redistribute it under certain conditions; see the 
file COPYING for details.\n");
\ No newline at end of file
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to