[packages/pokerth] - updated to 1.1

baggins baggins at pld-linux.org
Thu Jan 2 17:34:33 CET 2014


commit 2a63ac077e95c59ba0b67e781c2bf6ceb41bf9da
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jan 2 17:34:18 2014 +0100

    - updated to 1.1

 pokerth.spec | 12 ++++++------
 qt.patch     | 20 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 6 deletions(-)
---
diff --git a/pokerth.spec b/pokerth.spec
index c79796c..e1c375a 100644
--- a/pokerth.spec
+++ b/pokerth.spec
@@ -1,12 +1,13 @@
 Summary:	The Open Source Texas-Holdem Poker Engine
 Summary(pl.UTF-8):	Silnik gry Texas-Holdem poker
 Name:		pokerth
-Version:	1.0.1
-Release:	2
+Version:	1.1
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
-# Source0-md5:	c6dcf0ed68ab50af91371348ffad5d00
+# Source0-md5:	7f577fdb04c697ac7227c1a0d4311ffc
+Patch0:		qt.patch
 URL:		http://www.pokerth.net/
 BuildRequires:	QtCore-devel >= 4.3.1
 BuildRequires:	QtGui-devel >= 4.3.1
@@ -18,6 +19,7 @@ BuildRequires:	curl-devel >= 7.16
 BuildRequires:	gnutls-devel
 BuildRequires:	gsasl-devel
 BuildRequires:	libircclient-devel
+BuildRequires:	protobuf-devel
 BuildRequires:	qt4-build >= 4.3.1
 BuildRequires:	qt4-qmake >= 4.3.1
 BuildRequires:	sed >= 4.0
@@ -39,9 +41,7 @@ Silnik gry dostępny jest na platformy Linux, Windows oraz MacOS X.
 
 %prep
 %setup -q -n PokerTH-%{version}-src
-
-# what is it?
-sed -i -e '/-no_dead_strip_inits_and_terms/d' *.pro
+%patch0 -p1
 
 %build
 qmake-qt4 pokerth.pro \
diff --git a/qt.patch b/qt.patch
new file mode 100644
index 0000000..540e086
--- /dev/null
+++ b/qt.patch
@@ -0,0 +1,20 @@
+--- PokerTH-1.1-src/src/gui/qt/chattools/chattools.h~	2013-12-22 17:58:01.000000000 +0100
++++ PokerTH-1.1-src/src/gui/qt/chattools/chattools.h	2014-01-02 17:24:50.229389732 +0100
+@@ -33,7 +33,6 @@
+ 
+ #include <string>
+ #include <QtCore>
+-#include <QtWidgets>
+ #include <QtGui>
+ #include <boost/shared_ptr.hpp>
+ 
+--- PokerTH-1.1-src/src/pokerth.cpp~	2013-12-22 17:58:02.000000000 +0100
++++ PokerTH-1.1-src/src/pokerth.cpp	2014-01-02 17:24:18.539389962 +0100
+@@ -34,7 +34,6 @@
+ #include <ctime>
+ #include <qapplication.h>
+ 
+-#include <QtWidgets>
+ #include <QtGui>
+ #include <QtCore>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pokerth.git/commitdiff/2a63ac077e95c59ba0b67e781c2bf6ceb41bf9da



More information about the pld-cvs-commit mailing list