File: rules

package info (click to toggle)
openclonk 8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 169,500 kB
  • sloc: cpp: 180,478; ansic: 108,988; xml: 31,371; python: 1,223; php: 767; makefile: 139; sh: 101; javascript: 34
file content (21 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --buildsystem=cmake -Bbuild

CONFIG_ARGS := -DWITH_AUTOMATIC_UPDATE=0

# QT5 on arm uses GLES, which conflicts with the use of regular OpenGL.
ifeq (arm,$(shell dpkg-architecture -q DEB_HOST_ARCH_CPU))
	CONFIG_ARGS += -DQt5Widgets_FOUND=off
endif

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIG_ARGS)

override_dh_strip:
	dh_strip --dbgsym-migration='openclonk-dbg (<< 8.0-1~)'

override_dh_builddeb:
	dh_builddeb