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
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk
configure_options =
# Required if we want to provide OpenURI on otherwise unsupported desktops
# like XFCE; no additional dependencies.
configure_options += -Dappchooser=enabled
# Not entirely GNOME-specific (used in gvfs which is pulled in by non-GNOME
# desktops). This adds a dependency on gsettings-desktop-schemas, but we'll
# need that for Settings anyway.
configure_options += -Dlockdown=enabled
# Required if we want GTK applications on non-GNOME desktops to have the
# same antialiasing, etc. in Flatpak apps as in native apps.
# This adds a dependency on fontconfig and gsettings-desktop-schemas,
# but that seems unavoidable. See
# https://github.com/flatpak/xdg-desktop-portal-gtk/issues/355
configure_options += -Dsettings=enabled
# GNOME-specific, use x-d-p-gnome instead
configure_options += -Dwallpaper=disabled
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(configure_options)
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
|