r14700 - packages/trunk/supertuxkart/debian
Vincent Cheng
vincentc-guest at moszumanska.debian.org
Fri Dec 20 23:05:47 UTC 2013
Author: vincentc-guest
Date: 2013-12-20 23:05:47 +0000 (Fri, 20 Dec 2013)
New Revision: 14700
Modified:
packages/trunk/supertuxkart/debian/changelog
packages/trunk/supertuxkart/debian/rules
Log:
supertuxkart: Enable wiimote input device support only on linux
Modified: packages/trunk/supertuxkart/debian/changelog
===================================================================
--- packages/trunk/supertuxkart/debian/changelog 2013-12-20 17:43:31 UTC (rev 14699)
+++ packages/trunk/supertuxkart/debian/changelog 2013-12-20 23:05:47 UTC (rev 14700)
@@ -1,3 +1,10 @@
+supertuxkart (0.8.1-2) unstable; urgency=medium
+
+ * Disable support for wiimote input devices on !linux (since
+ libbluetooth-dev is only built on linux archs).
+
+ -- Vincent Cheng <Vincentc1208 at gmail.com> Fri, 20 Dec 2013 14:58:35 -0800
+
supertuxkart (0.8.1-1) unstable; urgency=low
* Team upload
Modified: packages/trunk/supertuxkart/debian/rules
===================================================================
--- packages/trunk/supertuxkart/debian/rules 2013-12-20 17:43:31 UTC (rev 14699)
+++ packages/trunk/supertuxkart/debian/rules 2013-12-20 23:05:47 UTC (rev 14700)
@@ -6,6 +6,8 @@
export DEB_LDFLAGS_MAINT_APPEND=-lGLU
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
%:
dh $@ --buildsystem=cmake --parallel
@@ -25,8 +27,16 @@
# Generate sources.cmake
sh update_file_list.sh
+ # libbluetooth-dev is only available on linux, hence build with
+ # wiimote input device support only on linux
+ if [ $(DEB_HOST_ARCH_OS) = linux ]; then \
dh_auto_configure -- -DSTK_INSTALL_BINARY_DIR="games" \
- -DSTK_INSTALL_DATA_DIR="share/games/supertuxkart"
+ -DSTK_INSTALL_DATA_DIR="share/games/supertuxkart" \
+ else \
+ dh_auto_configure -- -DSTK_INSTALL_BINARY_DIR="games" \
+ -DSTK_INSTALL_DATA_DIR="share/games/supertuxkart" \
+ -DUSE_WIIUSE=OFF \
+ fi
override_dh_auto_build:
# Generate manual page
More information about the Pkg-games-commits
mailing list