File: rules

package info (click to toggle)
pyqt5webengine 5.15.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 380 kB
  • sloc: python: 1,260; makefile: 14; sh: 13
file content (20 lines) | stat: -rwxr-xr-x 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/buildflags.mk

export QT_SELECT=5

export PYBUILD_NAME=pyqt5.qtwebengine
export PYBUILD_SYSTEM=custom
export PYBUILD_CONFIGURE_ARGS={interpreter} /usr/bin/sip-build --verbose --no-make \
	--build-dir {build_dir} --pep484-pyi \
	--qmake-setting 'QMAKE_CXXFLAGS += "$(CXXFLAGS) $(CPPFLAGS)"' \
	--qmake-setting 'QMAKE_LFLAGS += "$(LDFLAGS)"'
export PYBUILD_BUILD_ARGS=$(MAKE) -C {build_dir}
export PYBUILD_INSTALL_ARGS=$(MAKE) -C {build_dir} install INSTALL_ROOT={destdir}

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_strip:
	dh_strip --dbgsym-migration='python3-pyqt5.qtwebengine-dbg (<< 5.15.4-2~)'