games/pokerth: Updated for version 0.9.5.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Marcel Saegebarth 2012-12-20 12:26:11 +01:00 committed by Matteo Bernardini
parent 345e370899
commit d3b9f557b9
3 changed files with 7 additions and 21 deletions

View file

@ -1,11 +0,0 @@
diff -Naur PokerTH-0.9.3-src.orig/src/third_party/qtsingleapplication/qtlocalpeer.cpp PokerTH-0.9.3-src/src/third_party/qtsingleapplication/qtlocalpeer.cpp
--- PokerTH-0.9.3-src.orig/src/third_party/qtsingleapplication/qtlocalpeer.cpp 2012-02-11 17:57:38.000000000 +0100
+++ PokerTH-0.9.3-src/src/third_party/qtsingleapplication/qtlocalpeer.cpp 2012-04-01 08:49:19.961007697 +0200
@@ -57,6 +57,7 @@
#endif
#if defined(Q_OS_UNIX)
#include <time.h>
+#include <unistd.h>
#endif
namespace QtLP_Private {

View file

@ -1,7 +1,8 @@
#!/bin/sh
# SlackBuild script for "PokerTH".
# Copyright 2009-2011 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2009-2012 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2012 Laurent Nardou <l.nardou@wanadoo.fr>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -27,7 +28,7 @@
PRGNAM=pokerth
SRCNAM=PokerTH
VERSION=0.9.4
VERSION=0.9.5
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,9 +68,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Fix for gcc-4.7.x
patch -p1 < $CWD/gcc47.patch
qmake pokerth.pro
# We'd need to sed the CFLAGS in, but it should be fine as is...
@ -77,7 +75,6 @@ make #CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG INSTALL_ROOT=$PKG
mkdir -p $PKG/usr/bin
install -s -D -m 0755 $TMP/$SRCNAM-$VERSION-src/pokerth $PKG/usr/bin
install -s -D -m 0755 $TMP/$SRCNAM-$VERSION-src/bin/pokerth_server $PKG/usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="pokerth"
VERSION="0.9.4"
VERSION="0.9.5"
HOMEPAGE="http://www.pokerth.net"
DOWNLOAD="http://downloads.sourceforge.net/pokerth/PokerTH-0.9.4-src.tar.bz2"
MD5SUM="afdc63e9a4e499fd70fc0eee4d8dc1a9"
DOWNLOAD="http://downloads.sourceforge.net/pokerth/PokerTH-0.9.5-src.tar.bz2"
MD5SUM="4bdea98bfc142a825c64b77feb4667d0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgsasl tinyxml libircclient"
REQUIRES="libgsasl libircclient tinyxml"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"