[dolphin-emu] 16/16: d/rules THIS IS CRAP - REMOVE THIS!!!!!!

James Cowgill jcowgill-guest at moszumanska.debian.org
Thu Sep 10 21:31:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

jcowgill-guest pushed a commit to branch experimental
in repository dolphin-emu.

commit e31019a0de95bcfbc2592fc32c7d97816310be76
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Thu Sep 10 22:25:56 2015 +0100

    d/rules THIS IS CRAP - REMOVE THIS!!!!!!
---
 debian/rules | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6e2e1f2..e1aae6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,4 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
 
 # dolphin does not work with -fPIE
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie
@@ -9,17 +8,35 @@ VER := $(shell dpkg-parsechangelog --show-field Version)
 UPSTREAM_VER := $(shell echo $(VER) | sed 's/+dfsg.*//')
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel -Bbuild
 
 CMAKE_OPTIONS := \
 	-Dbindir=/usr/games \
 	-Ddatadir=/usr/share/games/dolphin-emu \
 	-DDOLPHIN_WC_DESCRIBE=$(UPSTREAM_VER) \
 	-DDOLPHIN_WC_REVISION=$(VER) \
-	-DDOLPHIN_WC_BRANCH=debian
+	-DDOLPHIN_WC_BRANCH=debian \
+	-DUSE_SHARED_ENET=ON \
+	-DGTEST_DIR=/usr/src/gtest
+
+# freebsd needs usbhid?
+# linux needs evdev + udev (+ enable it above)?
+# potentially unused bdeps:
+#  DONE opencl-headers
+#  DONE libxext-dev
+#  DONE libreadline6-dev
+#  DONE libsdl1.2-dev (possibly needed on freebsd?)
+# libenet-dev will diverge at some point
+
+# dolphin-emu-nogui ??
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(CMAKE_OPTIONS)
 
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	CTEST_OUTPUT_ON_FAILURE=1 $(MAKE) -C build unittests
+endif
+
 get-orig-source:
 	uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --repack --compression=xz --download-current-version

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/dolphin-emu.git



More information about the Pkg-games-commits mailing list