r14743 - packages/trunk/pokerth/debian
Evgeni Golov
evgeni at moszumanska.debian.org
Tue Dec 31 15:40:43 UTC 2013
Author: evgeni
Date: 2013-12-31 15:40:43 +0000 (Tue, 31 Dec 2013)
New Revision: 14743
Modified:
packages/trunk/pokerth/debian/changelog
packages/trunk/pokerth/debian/control
packages/trunk/pokerth/debian/rules
Log:
Build with Qt4 on kfreebsd-*, mips* and powerpc
Modified: packages/trunk/pokerth/debian/changelog
===================================================================
--- packages/trunk/pokerth/debian/changelog 2013-12-31 15:26:26 UTC (rev 14742)
+++ packages/trunk/pokerth/debian/changelog 2013-12-31 15:40:43 UTC (rev 14743)
@@ -1,6 +1,8 @@
pokerth (1.1.0-2) UNRELEASED; urgency=medium
* Restore compatibility with Qt4, patch by freespacer@#PokerTH.
+ * Build with Qt4 on kfreebsd-*, mips* and powerpc.
+ Do not use Qt4 on the other archs, as it is untested by upstream.
-- Evgeni Golov <evgeni at debian.org> Tue, 31 Dec 2013 16:25:26 +0100
Modified: packages/trunk/pokerth/debian/control
===================================================================
--- packages/trunk/pokerth/debian/control 2013-12-31 15:26:26 UTC (rev 14742)
+++ packages/trunk/pokerth/debian/control 2013-12-31 15:40:43 UTC (rev 14743)
@@ -3,7 +3,10 @@
Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Evgeni Golov <evgeni at debian.org>
-Build-Depends: debhelper (>= 9), qtbase5-dev, qtchooser, libgsasl7-dev, libsdl1.2-dev,
+Build-Depends: debhelper (>= 9),
+ qtbase5-dev [!kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !powerpc],
+ libqt4-dev [kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc],
+ qtchooser, libgsasl7-dev, libsdl1.2-dev,
libsdl-mixer1.2-dev, libcurl4-gnutls-dev, libgnutls-dev, libsqlite3-dev,
libboost-filesystem-dev (>= 1.42.0), libboost-thread-dev (>= 1.42.0),
libboost-iostreams-dev (>= 1.42.0), libboost-system-dev (>= 1.42.0),
Modified: packages/trunk/pokerth/debian/rules
===================================================================
--- packages/trunk/pokerth/debian/rules 2013-12-31 15:26:26 UTC (rev 14742)
+++ packages/trunk/pokerth/debian/rules 2013-12-31 15:40:43 UTC (rev 14743)
@@ -2,8 +2,15 @@
#export DH_VERBOSE=1
-export QT_SELECT=qt5
+qt4_architectures := kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(qt4_architectures)))
+ qt = qt4
+else
+ qt = qt5
+endif
+export QT_SELECT=$(qt)
+
%:
dh $@
More information about the Pkg-games-commits
mailing list