You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
635 B
33 lines
635 B
#!/usr/bin/make -f
|
|
# export DH_VERBOSE=1
|
|
|
|
export LC_ALL=C.UTF-8
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
|
|
CONF_FLAGS += -DWITH_TOUCHPAD=NO
|
|
endif
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS), hurd)
|
|
CONF_FLAGS += -DWITH_TOUCHPAD=NO
|
|
endif
|
|
|
|
|
|
%:
|
|
dh ${@} --buildsystem cmake
|
|
|
|
override_dh_missing:
|
|
dh_missing --fail-missing
|
|
|
|
override_dh_makeshlibs:
|
|
dh_makeshlibs -Xlxqt-config
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DUPDATE_TRANSLATIONS=OFF \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
$(CONF_FLAGS)
|