File: rules

package info (click to toggle)
eiskaltdcpp 2.2.10+583+g17a6b034-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,484 kB
  • sloc: cpp: 96,230; ansic: 5,004; perl: 1,897; xml: 1,382; sh: 1,268; php: 661; makefile: 33
file content (40 lines) | stat: -rwxr-xr-x 1,068 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CMAKEOPTS = -DUSE_ASPELL=ON \
            -DUSE_CLI_JSONRPC=ON \
            -DUSE_GTK=ON \
            -DUSE_GTK3=OFF \
            -DUSE_IDNA=ON \
            -DUSE_JS=ON \
            -DUSE_LIBGNOME2=OFF \
            -DUSE_LIBNOTIFY=ON \
            -DUSE_MINIUPNP=ON \
            -DUSE_QT5=ON \
            -DUSE_QT=OFF \
            -DUSE_QT_QML=OFF \
            -DUSE_QT_SQLITE=ON \
            -DWITH_DEV_FILES=ON \
            -DWITH_DHT=ON \
            -DWITH_LUASCRIPTS=ON \
            -DWITH_SOUNDS=ON \
            -DCREATE_MO=ON \
            -DUPDATE_PO=OFF \
            -DLUA_SCRIPT=ON \
            -DPERL_REGEX=ON \
            -DNO_UI_DAEMON=ON \
            -DXMLRPC_DAEMON=OFF \
            -DJSONRPC_DAEMON=ON \
            -DCHECK_GTK_DEPRECATED=OFF \
            -DREPLACE_VERSION="$(DEB_VERSION_UPSTREAM)"


%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKEOPTS)