mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-06-02 13:19:51 +08:00
when aboutDialog is not created yet, ApplicationDescription can't be set Log: merge changes from develop/qt6 branch
41 lines
1.1 KiB
Makefile
Executable File
41 lines
1.1 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export QT_SELECT = qt5
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh $@ --parallel
|
|
|
|
override_dh_auto_clean:
|
|
rm -rf $(CURDIR)/build-$(DEB_HOST_MULTIARCH)
|
|
|
|
|
|
override_dh_auto_configure:
|
|
mkdir -p $(CURDIR)/build-$(DEB_HOST_MULTIARCH)
|
|
|
|
qmake BUILD_VERSION=$(DEB_VERSION_UPSTREAM) spark-webapp-runtime.pro \
|
|
-spec linux-g++ CONFIG+=force_debug_info \
|
|
-o $(CURDIR)/build-$(DEB_HOST_MULTIARCH)/
|
|
|
|
|
|
override_dh_auto_build:
|
|
make -C $(CURDIR)/build-$(DEB_HOST_MULTIARCH) -j$(JOBS)
|
|
|
|
|
|
override_dh_auto_install:
|
|
make -C $(CURDIR)/build-$(DEB_HOST_MULTIARCH) install \
|
|
INSTALL_ROOT=$(CURDIR)/debian/spark-webapp-runtime
|
|
|
|
|
|
# Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
|
|
# Qt Mutidedia lib will ref to network libraray.
|
|
override_dh_shlibdeps:
|
|
dh_shlibdeps --dpkg-shlibdeps-params=--warnings=0
|