File: rules

package info (click to toggle)
phantomjs 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 9,268 kB
  • ctags: 7,827
  • sloc: cpp: 6,363; ansic: 4,601; java: 2,041; python: 1,244; sh: 395; ruby: 48; cs: 27; xml: 14; makefile: 12
file content (28 lines) | stat: -rwxr-xr-x 738 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
22
23
24
25
26
27
28
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

#QT_CFG=-no-rpath -system-zlib -system-libjpeg -system-libpng \
#	-system-sqlite -plugin-sql-sqlite

export QT_SELECT = qt5

%:
	dh $@

override_dh_auto_build:
	python build.py --skip-git --skip-qtbase --skip-qtwebkit --confirm --release

override_dh_shlibdeps:
	dh_shlibdeps -l/usr/lib/phantomjs

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	## xvfb-run is affected by #814607.
	## By default Xvfb starts at 8bpp (GLX doesn't work at 8bpp).
	## https://bugzilla.redhat.com/show_bug.cgi?id=904851
	-dbus-launch xvfb-run --server-args="-screen 0 640x480x16" test/run-tests.py
endif