d/rules: If cross-compiling, use cross g-ir-scanner (see #1060838)
This commit is contained in:
1
debian/control
vendored
1
debian/control
vendored
@ -20,6 +20,7 @@ Build-Depends: adwaita-icon-theme-full <!nocheck>,
|
|||||||
gir1.2-xlib-2.0-dev | libgirepository1.0-dev,
|
gir1.2-xlib-2.0-dev | libgirepository1.0-dev,
|
||||||
gnome-pkg-tools (>= 0.11),
|
gnome-pkg-tools (>= 0.11),
|
||||||
gobject-introspection (>= 1.41.3),
|
gobject-introspection (>= 1.41.3),
|
||||||
|
gobject-introspection (>= 1.78.1-9~) <cross>,
|
||||||
gsettings-desktop-schemas <!nocheck>,
|
gsettings-desktop-schemas <!nocheck>,
|
||||||
libatk-bridge2.0-dev (>= 2.15.1),
|
libatk-bridge2.0-dev (>= 2.15.1),
|
||||||
libatk1.0-dev (>= 2.35.1),
|
libatk1.0-dev (>= 2.35.1),
|
||||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -88,6 +88,10 @@ configure_flags_deb = \
|
|||||||
-Dprint_backends=cups,file \
|
-Dprint_backends=cups,file \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
|
||||||
|
configure_flags_deb += --cross-file=$(DEB_HOST_GNU_TYPE)-gobject-introspection.ini
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
|
ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
|
||||||
configure_flags_deb += -Dcolord=yes
|
configure_flags_deb += -Dcolord=yes
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user