1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export LC_ALL=C.UTF-8
%:
dh ${@} --buildsystem=cmake
override_dh_install:
rm -f $(currdir)/debian/screengrab/usr/share/doc/screengrab/LICENSE.txt
dh_install
override_dh_makeshlibs:
# do nothing
override_dh_auto_configure:
dh_auto_configure -- \
-DSG_DBUS_NOTIFY=ON \
-DSG_EXT_EDIT=ON \
-DSG_GLOBALSHORTCUTS=OFF \
-DUPDATE_TRANSLATIONS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|