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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
export DH_OPTIONS
DEBARCH:=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DH_VERBOSE=1
%:
dh $@
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
override_dh_auto_clean:
cp debian/ccApplicationBase.cpp common/
dh_clean
override_dh_auto_configure:
$(shell sed -i s,lib/cloudcompare/plugins,lib/$(DEBARCH)/cloudcompare/plugins,g common/ccApplicationBase.cpp)
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
-DOPTION_USE_LIBLAS=ON \
-DOPTION_PDAL_LAS=ON \
-DCOMPILE_CC_CORE_LIB_WITH_CGAL=OFF \
-DJSON_ROOT_DIR=/usr/include/jsoncpp \
-DINSTALL_QEDL_PLUGIN=ON \
-DINSTALL_QHPR_PLUGIN=ON \
-DINSTALL_QCSF_PLUGIN=ON \
-DINSTALL_QSRA_PLUGIN=ON \
-DINSTALL_QSSAO_PLUGIN=ON \
-DINSTALL_QPCV_PLUGIN=ON \
-DINSTALL_QANIMATION_PLUGIN=ON \
-DINSTALL_QM3C2_PLUGIN=ON \
-DINSTALL_QBROOM_PLUGIN=true \
-DINSTALL_QGMMREG_PLUGIN=ON \
-DWITH_FFMPEG_SUPPORT=ON \
-DFFMPEG_INCLUDE_DIR="/usr/include/$(DEBARCH)" \
-DFFMPEG_LIBRARY_DIR="/usr/lib/$(DEBARCH)" \
-DINSTALL_QBLUR_PLUGIN=ON
override_dh_shlibdeps:
dh_shlibdeps -l/usr/lib/cloudcompare $(DEBARCH)
|