blob: 2840aa2fecc162fceb3153f4b7e3b4c17d56927b (
plain)
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
|
#!/usr/bin/make -f
DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#
# you may want to comment-out --parallel if build breaks for
# no visible reason or without meaningful error message
#
%:
dh $@ --parallel
# For Debian GNU/Linux which does not offer manually compiled
# libxcb-xinput0/libxcb-xinput0-dev, add the following flag:
#
# CONFIG+=NO_XINPUT
#
# also remove
#
# libxcb-xinput0-dev
#
# from dependencies in debian/rules (obviously)
override_dh_auto_configure:
/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qmake \
PREFIX=/usr \
LIBPREFIX=/usr/lib/$(DEB_HOST_MULTIARCH) \
L_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
L_ETCDIR=/etc \
QMAKE_CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
QMAKE_LFLAGS="$(LDFLAGS) -Wl,--as-needed" \
CONFIG+=nostrip \
CONFIG+=WITH_I18N \
QMAKE_CFLAGS_ISYSTEM=
override_dh_auto_clean:
dh_auto_clean
-find $(CURDIR) -name *.qm -delete
override_dh_install:
dh_install --list-missing
|