139cdd2a16
Update to v5.1.0 qemu OBS-URL: https://build.opensuse.org/request/show/825860 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=557
30 lines
876 B
Diff
30 lines
876 B
Diff
From: Bruce Rogers <brogers@suse.com>
|
|
Date: Wed, 23 Jan 2019 20:23:01 -0700
|
|
Subject: Conditionalize ui bitmap installation better
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
---
|
|
Makefile | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index e7116289550f169a65f8aecfeccf..3da7feaf0d9e9b3f1222efb8823b 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -970,6 +970,7 @@ ifneq ($(DESCS),)
|
|
"$(DESTDIR)$(qemu_datadir)/firmware/$$x"; \
|
|
done
|
|
endif
|
|
+ifneq ($(or $(CONFIG_GTK),$(CONFIG_SDL)),)
|
|
for s in $(ICON_SIZES); do \
|
|
mkdir -p "$(DESTDIR)$(qemu_icondir)/hicolor/$${s}/apps"; \
|
|
$(INSTALL_DATA) $(SRC_PATH)/ui/icons/qemu_$${s}.png \
|
|
@@ -984,6 +985,7 @@ endif
|
|
mkdir -p "$(DESTDIR)$(qemu_desktopdir)"
|
|
$(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \
|
|
"$(DESTDIR)$(qemu_desktopdir)/qemu.desktop"
|
|
+endif
|
|
ifdef CONFIG_GTK
|
|
$(MAKE) -C po $@
|
|
endif
|