google-noto-emoji-fonts/noto-emoji-use-system-pngquant.patch

31 lines
989 B
Diff
Raw Normal View History

2021-09-28 07:45:44 +00:00
Index: noto-emoji-c05b4b47c8250ccd232780cae46d66a8179e77ab/Makefile
===================================================================
--- noto-emoji-c05b4b47c8250ccd232780cae46d66a8179e77ab.orig/Makefile
+++ noto-emoji-c05b4b47c8250ccd232780cae46d66a8179e77ab/Makefile
@@ -16,10 +16,10 @@ EMOJI = NotoColorEmoji
EMOJI_WINDOWS = NotoColorEmoji_WindowsCompatible
all: $(EMOJI).ttf $(EMOJI_WINDOWS).ttf
2016-04-22 07:20:53 +00:00
-CFLAGS = -std=c99 -Wall -Wextra `pkg-config --cflags --libs cairo`
+CFLAGS = $(OPT_CFLAGS) -Wextra `pkg-config --cflags --libs cairo`
2017-02-23 08:06:02 +00:00
LDFLAGS = -lm `pkg-config --libs cairo`
-PNGQUANT = pngquant
+PNGQUANT = /usr/bin/pngquant
PYTHON = python3
PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force
BODY_DIMENSIONS = 136x128
2021-09-28 07:45:44 +00:00
@@ -88,9 +88,9 @@ ifeq (,$(shell which $(ZOPFLIPNG)))
endif
endif
-ifndef VIRTUAL_ENV
- MISSING_VENV = fail
-endif
+#ifndef VIRTUAL_ENV
+# MISSING_VENV = fail
+#endif
ifeq (, $(shell which $(VS_ADDER)))
MISSING_PY_TOOLS = fail