[arch-commits] Commit in pokerth/trunk (PKGBUILD pokerth_game.pro.patch)

Federico Cinelli cinelli at nymeria.archlinux.org
Fri Apr 5 03:43:23 UTC 2013


    Date: Friday, April 5, 2013 @ 05:43:22
  Author: cinelli
Revision: 87650

Patched build issues. Sorry for the breakage.

Added:
  pokerth/trunk/pokerth_game.pro.patch
Modified:
  pokerth/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   11 +++++++----
 pokerth_game.pro.patch |   18 ++++++++++++++++++
 2 files changed, 25 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-05 01:44:23 UTC (rev 87649)
+++ PKGBUILD	2013-04-05 03:43:22 UTC (rev 87650)
@@ -7,7 +7,7 @@
 pkgname=pokerth
 _realname=PokerTH
 pkgver=1.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Poker game written in C++/QT4"
 arch=('i686' 'x86_64')
 url="http://www.pokerth.net/"
@@ -15,14 +15,17 @@
 depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf'
          'qt4' 'sdl_mixer' 'libircclient' 'tinyxml')
 makedepends=('boost')
-source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2)
-md5sums=('1d8686b8968475cfc76e873a17a53efc')
+source=("http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2"
+	"pokerth_game.pro.patch")
+md5sums=('1d8686b8968475cfc76e873a17a53efc'
+         '967b79b37407be5a68e6a864c2b7828a')
 
 build() {
   cd "$srcdir/$_realname-$pkgver-src"
 
   sed -i '31 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
-
+  
+  patch -Np2 < "$srcdir/pokerth_game.pro.patch"
   qmake-qt4 "$pkgname.pro"
   make
 }

Added: pokerth_game.pro.patch
===================================================================
--- pokerth_game.pro.patch	                        (rev 0)
+++ pokerth_game.pro.patch	2013-04-05 03:43:22 UTC (rev 87650)
@@ -0,0 +1,18 @@
+--- src/PokerTH-1.0-src/pokerth_game.pro	2013-01-01 07:23:55.596627882 -0800
++++ pokerth_game.pro	2013-04-04 11:14:16.583877931 -0700
+@@ -3,7 +3,6 @@
+ isEmpty( PREFIX ){
+ 	PREFIX =/usr
+ }
+-
+ TEMPLATE = app
+ CODECFORSRC = UTF-8
+ CONFIG += qt \
+@@ -21,6 +20,7 @@
+ DEFINES += ENABLE_IPV6 TIXML_USE_STL BOOST_FILESYSTEM_DEPRECATED
+ DEFINES += PREFIX=\"$${PREFIX}\"
+ TARGET = pokerth
++QMAKE_MOC = $$QMAKE_MOC -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+ 
+ # PRECOMPILED_HEADER = src/pch_game.h
+ 




More information about the arch-commits mailing list