Disable libvirt-glib on architectures where it's not built
Jeremy Bicha
1 year, 9 months ago
11 | 11 |
libgtk-vnc-2.0-dev,
|
12 | 12 |
libgtk-3-dev (>= 3.18),
|
13 | 13 |
libspice-client-gtk-3.0-dev (>= 0.35) [linux-any],
|
14 | |
libvirt-glib-1.0-dev (>= 0.1.8),
|
|
14 |
libvirt-glib-1.0-dev (>= 0.1.8) [!alpha !hurd-i386 !ia64 !kfreebsd-i386 !kfreebsd-amd64 !m68k !sh4],
|
15 | 15 |
libvte-2.91-dev (>= 0.46.0),
|
16 | 16 |
libxml2-dev,
|
17 | 17 |
meson (>= 0.54.0)
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | 2 |
DEB_CONFIGURE_EXTRA_FLAGS := -Dauto_features=enabled
|
3 | |
ifneq (,$(findstring $(DEB_HOST_ARCH), sparc64))
|
|
3 |
|
|
4 |
ifneq (,$(filter $(DEB_HOST_ARCH), hurd-i386 kfreebsd-i386 kfreebsd-amd64 sparc64))
|
4 | 5 |
DEB_CONFIGURE_EXTRA_FLAGS += -Dspice=disabled
|
|
6 |
endif
|
|
7 |
# libvirt-glib isn't currently built on these architectures
|
|
8 |
ifneq (,$(filter $(DEB_HOST_ARCH), alpha hurd-i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k sh4))
|
|
9 |
DEB_CONFIGURE_EXTRA_FLAGS += -Dlibvirt=disabled
|
5 | 10 |
endif
|
6 | 11 |
|
7 | 12 |
%:
|