Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5272b57a72bdd5caecd86b3e965503b8127d73e3

commit 5272b57a72bdd5caecd86b3e965503b8127d73e3
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Jan 2 20:14:56 2010 +0100

pydance-1.1.0-1-i686
* version bump
* removed useless patch

diff --git a/source/games-extra/pydance/FrugalBuild 
b/source/games-extra/pydance/FrugalBuild
index a017e41..79bb466 100644
--- a/source/games-extra/pydance/FrugalBuild
+++ b/source/games-extra/pydance/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: Priyank Gosalia <priyan...@gmail.com>

pkgname=pydance
-pkgver=1.0.3
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
pkgdesc="pydance is fun dancing game for experience asian dance beat!"
url="http://www.icculus.org/pyddr/";
depends=('python-numeric' 'pygame' 'libvorbis' 'sdl_mixer')
@@ -11,21 +11,14 @@ groups=('games-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url/download.php | grep -m1 tar.gz | sed 
's/.*e-\(.*\).t.*/\1/'"
source=($url/$pkgname-$pkgver.tar.gz \
-       
ftp://ftp.frugalware.org/pub/other/people/priyank/$pkgname-songs.tar.bz2 \
-       pydance_ttf.patch)
-sha1sums=('62a3d11560a54b6e59427731f7843d5d7edeaf91' \
-       'd40dae447ec8d1a4402f24154d348f34d7a31481' \
-       '7d962e51b779e20cc54c6f63e9d20c059040f1e6')
+       
ftp://ftp.frugalware.org/pub/other/people/priyank/$pkgname-songs.tar.bz2)
+sha1sums=('dbc0c8433763510180544fb4840fc1cbf736ca37' \
+          'd40dae447ec8d1a4402f24154d348f34d7a31481')

build()
{
Fcd

-       # Patch to fix crash on startup, also fix manpage and config file
-       patch -Np0 -i $Fsrcdir/pydance_ttf.patch || return 1
-       Fsed "/usr/share/games/pydance" "/usr/share/pydance" pydance.posix.cfg 
docs/man/pydance.6
-       Fsed "/usr/local/share/games/pydance" "/usr/share/pydance" 
pydance.posix.cfg docs/man/pydance.6
-
# Copy main files
Fmkdir usr/share/pydance
Fexerel *.py usr/share/pydance/
diff --git a/source/games-extra/pydance/pydance_ttf.patch 
b/source/games-extra/pydance/pydance_ttf.patch
deleted file mode 100644
index a4724ec..0000000
--- a/source/games-extra/pydance/pydance_ttf.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-# This patch fixes a problem with sdl_ttf which causes pydance to crash on 
startup
-# Priyank <priyan...@gmail.com>
-
---- fontfx.py   2006-06-04 17:51:30.000000000 +0530
-+++ fontfx.py   2004-05-23 21:30:42.000000000 +0530
-@@ -144,7 +144,7 @@
-     self.bgcolor = bgcolor
-     self.offcolor = [c^40 for c in color]
-     self.notcolor = [c^0xFF for c in color]
--    self.text = font.render(message, False, [255, 0, 0], self.notcolor)
-+    self.text = font.render(message, True, [255, 0, 0], self.notcolor)
-     self.text.set_colorkey(1, RLEACCEL)
-     self.outline = self.textHollow(font, message, color)
-     self.bar = pygame.Surface(self.text.get_size())
-@@ -155,7 +155,7 @@
-     self.ratio = width / 100.0
-
-   def textHollow(self, font, message, fontcolor):
--    base = font.render(message, 0, fontcolor, self.notcolor)
-+    base = font.render(message, 1, fontcolor, self.notcolor)
-     size = base.get_width() + 2, base.get_height() + 2
-     img = pygame.Surface(size, 16)
-     img.fill(self.notcolor)
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to