File: rules

package info (click to toggle)
cegui-mk2 0.8.7-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 57,636 kB
  • sloc: cpp: 305,392; python: 1,175; ansic: 788; sh: 608; xml: 191; java: 162; makefile: 23
file content (31 lines) | stat: -rwxr-xr-x 1,135 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

export DH_VERBOSE = 1
export DEB_LDFLAGS_MAINT_APPEND = -llua5.1 -ldl
export DEB_BUILD_MAINT_OPTIONS = hardening=+all, reproducible=+fixfilepath

export AUTOMAKE = automake --foreign

%:
	dh $@ --with python3,pkgkde_symbolshelper

override_dh_auto_configure:
		dh_auto_configure -- -DCEGUI_BUILD_RENDERER_DIRECTFB=OFF \
			-DCEGUI_SAMPLES_USE_DIRECTFB=OFF -DCEGUI_BUILD_RENDERER_OPENGL=ON \
			-DCEGUI_SAMPLES_USE_OGRE=ON -DCEGUI_BUILD_XMLPARSER_EXPAT=ON \
			-DCEGUI_BUILD_IMAGECODEC_SILLY=ON -DCEGUI_BUILD_IMAGECODEC_DEVIL=ON \
			-DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON -DCEGUI_BUILD_RENDERER_NULL=ON \
			-DCEGUI_BUILD_PYTHON_MODULES=ON -DCEGUI_BUILD_XMLPARSER_TINYXML=ON \
			-DCEGUI_BUILD_XMLPARSER_XERCES=ON -DCEGUI_BUILD_RENDERER_OPENGL3=ON
		mv "datafiles/fonts/Futhark Adapted.ttf" datafiles/fonts/FutharkAdapted.ttf
		rm datafiles/fonts/Jura-*.ttf

override_dh_python3:
		dh_python3 --shebang=/usr/bin/python3

override_dh_strip:
		dh_strip --dbgsym-migration='libcegui-mk2-0.8.7-dbg (<< 0.8.7-3~)'

override_dh_auto_install:
		dh_auto_install
		jdupes -rl debian/tmp/usr/share/doc/libcegui-mk2-0.8.7/html