~elementary-os/elementaryos/os-patch-gnome-bluetooth-bionic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: RabbitBot
  • Date: 2018-02-05 12:57:34 UTC
  • Revision ID: rabbitbot@elementary.io-20180205125734-a49s78k7asb5pokc
Initial import, version 3.26.1-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
3
 
 
4
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
5
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
 
6
 
 
7
# needed with the Ubuntu toolchain to avoid issues
 
8
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions
 
9
 
 
10
%:
 
11
        dh $@ --with gir,gnome --buildsystem=meson
 
12
 
 
13
override_dh_autoreconf:
 
14
        dh_autoreconf --as-needed
 
15
 
 
16
override_dh_auto_configure:
 
17
        dh_auto_configure -- \
 
18
                -Denable-gtk-doc=true \
 
19
                -Denable-icon-update=true \
 
20
                -Denable-introspection=true
 
21
 
 
22
override_dh_missing:
 
23
        dh_missing --fail-missing
 
24
 
 
25
override_dh_makeshlibs:
 
26
        dh_makeshlibs -- -c4
 
27
 
 
28
override_dh_girepository:
 
29
        dh_girepository -l applet \
 
30
                /usr/lib/$(DEB_HOST_MULTIARCH)/gnome-bluetooth/
 
31
 
 
32
override_dh_translations:
 
33
        ninja -C obj-$(DEB_HOST_GNU_TYPE) gnome-bluetooth2-pot
 
34
        dh_translations