[Frugalware-git] boost149: pokerth-0.9.4-1-x86_64

Elentir elentir at frugalware.org
Tue May 8 12:13:57 CEST 2012


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

commit b397b11dcadccbdb2cdaa9a5692adcdb622624fb
Author: Elentir <elentir at frugalware.org>
Date:   Tue May 8 12:13:10 2012 +0200

pokerth-0.9.4-1-x86_64

* version bump
* build with boost>=1.49.0
* fix depends

diff --git a/source/games-extra/pokerth/FrugalBuild b/source/games-extra/pokerth/FrugalBuild
index 1195b01..7432be7 100644
--- a/source/games-extra/pokerth/FrugalBuild
+++ b/source/games-extra/pokerth/FrugalBuild
@@ -2,22 +2,22 @@
# Maintainer: Devil505 <devil505linux at gmail.com>

pkgname=pokerth
-pkgver=0.8.3
-pkgrel=3
+pkgver=0.9.4
+pkgrel=1
pkgdesc="Poker game written in C++/QT4"
_F_sourceforge_name="PokerTH"
_F_sourceforge_dirname="$pkgname"
_F_sourceforge_ext="-src.tar.bz2"
Finclude sourceforge
+source=(${source[@]} pokerth-gcc47.patch)
url="http://www.pokerth.net/index.php"
-depends=('libboost>=1.46.1' 'sdl_mixer' 'curl' 'gnutls>=2.12.12' 'libgcrypt' 'libqtgui' 'libice' 'libxrender' 'libxext' 'util-linux' 'libgsasl' 'libqtnetwork' 'libqtsql')
+depends=('curl' 'sqlite3' 'tinyxml' 'sdl_mixer' 'libgsasl' 'libqtgui' 'libqtnetwork' \
+	'libboost>=1.49.0' 'gnutls>=2.12.12' 'libqtsql' 'libircclient')
makedepends=('boost')
groups=('games-extra')
archs=('i686' 'x86_64')
-source=($source pokerth-0.8.3-filesystem.patch dead_strip.patch)
-sha1sums=('def75fe2cae1a1e23114a8c03b69085a98d696e0' \
-          'a90f74c960afe095f6fa1a4969aab070a02e2c8b' \
-          'dbd5d99cf3f901f13b7d5206ce56977a15f8aaba')
+sha1sums=('bd41f2d593bd7ba77361fad5d47807f6055d4fc7' \
+          'e2aa48d598231279bc9340ccb4666a356ef14b1f')

build()
{
@@ -27,6 +27,7 @@ build()
Fmake
Fmakeinstall INSTALL_ROOT=$Fdestdir
Fexerel $pkgname usr/bin/$pkgname
+	Fexerel bin/${pkgname}_server usr/bin/${pkgname}_server
Fdocrel data/data-copyright.txt
Frm usr/share/pokerth/data/data-copyright.txt
Fmanrel docs/${pkgname}.1
diff --git a/source/games-extra/pokerth/dead_strip.patch b/source/games-extra/pokerth/dead_strip.patch
deleted file mode 100644
index 419c6bc..0000000
--- a/source/games-extra/pokerth/dead_strip.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -ru PokerTH-0.8.3-src.old/pokerth_game.pro PokerTH-0.8.3-src/pokerth_game.pro
---- PokerTH-0.8.3-src.old/pokerth_game.pro	2011-10-21 21:49:33.467356776 +0200
-+++ PokerTH-0.8.3-src/pokerth_game.pro	2011-10-21 21:50:37.576355341 +0200
-@@ -372,7 +372,6 @@
- 	RC_FILE = pokerth.rc
- }
- unix:# workaround for problems with boost_filesystem exceptions
--QMAKE_LFLAGS += -no_dead_strip_inits_and_terms
- unix:!mac {
- 	# #### My release static build options
- 	# QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
-diff -ru PokerTH-0.8.3-src.old/pokerth_server.pro PokerTH-0.8.3-src/pokerth_server.pro
---- PokerTH-0.8.3-src.old/pokerth_server.pro	2011-10-21 21:49:33.468356776 +0200
-+++ PokerTH-0.8.3-src/pokerth_server.pro	2011-10-21 21:50:57.315354851 +0200
-@@ -185,7 +185,6 @@
-
- unix {
- 	# workaround for problems with boost_filesystem exceptions
--	QMAKE_LFLAGS += -no_dead_strip_inits_and_terms
- }
-
- unix : !mac {
-diff -ru PokerTH-0.8.3-src.old/zlib_compress.pro PokerTH-0.8.3-src/zlib_compress.pro
---- PokerTH-0.8.3-src.old/zlib_compress.pro	2011-10-21 21:49:33.467356776 +0200
-+++ PokerTH-0.8.3-src/zlib_compress.pro	2011-10-21 21:50:14.891355825 +0200
-@@ -43,7 +43,6 @@
-
- unix {
- 	# workaround for problems with boost_filesystem exceptions
--	QMAKE_LFLAGS += -no_dead_strip_inits_and_terms
- }
-
- unix : !mac {
diff --git a/source/games-extra/pokerth/pokerth-0.8.3-filesystem.patch b/source/games-extra/pokerth/pokerth-0.8.3-filesystem.patch
deleted file mode 100644
index f50db1b..0000000
--- a/source/games-extra/pokerth/pokerth-0.8.3-filesystem.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -up PokerTH-0.8.3-src/pokerth_game.pro.orig PokerTH-0.8.3-src/pokerth_game.pro
---- PokerTH-0.8.3-src/pokerth_game.pro.orig	2011-01-16 21:37:12.000000000 +0200
-+++ PokerTH-0.8.3-src/pokerth_game.pro	2011-02-21 21:57:13.348491747 +0200
-@@ -19,7 +19,7 @@ QMAKE_CXXFLAGS += -std=gnu++0x
- UI_DIR = uics
- MOC_DIR = mocs
- OBJECTS_DIR = obj
--DEFINES += ENABLE_IPV6
-+DEFINES += ENABLE_IPV6 BOOST_FILESYSTEM_VERSION=2
- DEFINES += PREFIX=\"$${PREFIX}\"
- TARGET = pokerth
-
-diff -up PokerTH-0.8.3-src/pokerth_lib.pro.orig PokerTH-0.8.3-src/pokerth_lib.pro
---- PokerTH-0.8.3-src/pokerth_lib.pro.orig	2011-01-16 21:37:12.000000000 +0200
-+++ PokerTH-0.8.3-src/pokerth_lib.pro	2011-02-21 21:57:13.350491836 +0200
-@@ -12,7 +12,7 @@ UI_DIR = uics
- TARGET = lib/pokerth_lib
- MOC_DIR = mocs
- OBJECTS_DIR = obj
--DEFINES += ENABLE_IPV6
-+DEFINES += ENABLE_IPV6 BOOST_FILESYSTEM_VERSION=2
- QT -= core gui
- QMAKE_CXXFLAGS += -std=gnu++0x
- #PRECOMPILED_HEADER = src/pch_lib.h
-diff -up PokerTH-0.8.3-src/pokerth_server.pro.orig PokerTH-0.8.3-src/pokerth_server.pro
---- PokerTH-0.8.3-src/pokerth_server.pro.orig	2011-01-16 21:37:12.000000000 +0200
-+++ PokerTH-0.8.3-src/pokerth_server.pro	2011-02-21 21:57:13.353491970 +0200
-@@ -14,7 +14,7 @@ TARGET = bin/pokerth_server
- MOC_DIR = mocs
- OBJECTS_DIR = obj
- DEFINES += POKERTH_DEDICATED_SERVER
--DEFINES += ENABLE_IPV6
-+DEFINES += ENABLE_IPV6 BOOST_FILESYSTEM_VERSION=2
- DEFINES += PREFIX=\"$${PREFIX}\"
- QT -= core gui
- QMAKE_CXXFLAGS += -std=gnu++0x
diff --git a/source/games-extra/pokerth/pokerth-gcc47.patch b/source/games-extra/pokerth/pokerth-gcc47.patch
new file mode 100644
index 0000000..1575641
--- /dev/null
+++ b/source/games-extra/pokerth/pokerth-gcc47.patch
@@ -0,0 +1,10 @@
+--- src/third_party/qtsingleapplication/qtlocalpeer.cpp	2012-01-30 22:09:08.017784414 -0600
++++ src/third_party/qtsingleapplication/qtlocalpeer.cpp	2012-01-30 22:09:29.668536114 -0600
+@@ -57,6 +57,7 @@
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif
+
+ namespace QtLP_Private {
\ No newline at end of file


More information about the Frugalware-git mailing list