File debian.rules of Package watchflower
#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_OPTIONS = nocheck export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export QT_SELECT := 6 %: dh $@ --buildsystem=cmake+ninja override_dh_auto_configure: cd $(CURDIR)/i18n /usr/lib/qt6/bin/lupdate -no-obsolete `find .. -name '*.cpp' -or -name '*.js' -or -name '*.qml'` -ts *.ts cd .. cp $(CURDIR)/../SOURCES/WatchFlower_ru.ts $(CURDIR)/i18n/ sed -i '/Exec=/s/=/=env QT_STYLE_OVERRIDE="" /' $(CURDIR)/assets/linux/WatchFlower.desktop dh_auto_configure -- override_dh_install: dh_install -- override_dh_missing: dh_missing --fail-missing