| 1 |
|
| 2 |
include /usr/share/dpkg/architecture.mk |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all optimize=+lto |
| 5 |
|
| 6 |
|
| 7 |
ifneq ($(DEB_BUILD_ARCHscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_BUILD_ARCH.),$(DEB_HOST_ARCHscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_HOST_ARCH.)) |
| 8 |
extra_cmake_args += -DQT_HOST_PATH=/usr |
| 9 |
endif |
| 10 |
|
| 11 |
|
| 12 |
ifneq ($(filterscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/filter. ccache,$(DEB_BUILD_PROFILESscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_BUILD_PROFILES.)),) |
| 13 |
extra_cmake_args += -DQT_USE_CCACHE=ON |
| 14 |
endif |
| 15 |
|
| 16 |
%scip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/`%`().: |
| 17 |
dh $@ --buildsystem=cmake+ninja |
| 18 |
|
| 19 |
override_dh_auto_configurescip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/override_dh_auto_configure().: |
| 20 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- \ |
| 21 |
--log-level=STATUS \ |
| 22 |
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCHscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_HOST_MULTIARCH.) \ |
| 23 |
$(extra_cmake_argsscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/extra_cmake_args.) |
| 24 |
|
| 25 |
override_dh_auto_build-indepscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/override_dh_auto_build-indep().: |
| 26 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). -- docs |
| 27 |
|
| 28 |
override_dh_auto_install-indepscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/override_dh_auto_install-indep().: |
| 29 |
DESTDIR=$(CURDIRscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/CURDIR.)/debian/tmp dh_auto_buildscip-debian debian debhelper . dh_auto_build(). -- install_docs |
| 30 |
|
| 31 |
find $(CURDIRscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/CURDIR.)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \ |
| 32 |
sed -i 's@$(CURDIRscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/CURDIR.)/@@g' {} \; |
| 33 |
|
| 34 |
execute_after_dh_auto_install-archscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/execute_after_dh_auto_install-arch().: |
| 35 |
|
| 36 |
sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCHscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_HOST_MULTIARCH.)/libQt6*.prl |
| 37 |
|
| 38 |
sed -i '/^[[:space:]]*"version":.*deb/d' debian/tmp/usr/lib/${DEB_HOST_MULTIARCHscip-debian debian qt6-3d 6.10.2+dfsg-3 qt6-3d/rules/DEB_HOST_MULTIARCH.}/qt6/modules/*.json |