void-packages/srcpkgs/gmic/patches/04-no-krita-and-order.patch

40 lines
953 B
Diff

Index: gmic-2.9.9/src/Makefile
===================================================================
--- gmic-2.9.9.orig/src/Makefile
+++ gmic-2.9.9/src/Makefile
@@ -327,25 +327,32 @@ BOARD_LIBS = -lboard
#-------------------------------
# Define main Makefile entries.
#-------------------------------
# Multi-targets
#--------------
-all:
+all: cli lib gimp gmic_qt libc zart
+
+gmic_qt: gimp
+
+gimp zart: cli lib libc
+
+cli lib libc: all-banner
+
+all-banner:
@echo "**"
ifeq ($(OS),Unix)
@echo "** Start building G'MIC with default Unix configuration."
else
ifeq ($(OS),Darwin)
@echo "** Start building G'MIC with default MacOSX configuration."
else
@echo "** Start building G'MIC with default Windows configuration."
endif
endif
@echo "**"
- $(MAKE) cli lib gimp krita gmic_qt libc zart
native:
$(MAKE) "CFLAGS+=$(GMIC_CLI_CFLAGS) -Ofast -march=native" "LIBS+=$(GMIC_CLI_LIBS)" cli
# CLI (standard)
#---------------