blob: 2c10c869742047172c395c855c7131832f26aef0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#bug 203856
diff -Naur graphlcd-0.1.5_orig/Makefile graphlcd-0.1.5/Makefile
--- graphlcd-0.1.5_orig/Makefile 2007-02-05 19:24:03.000000000 +0100
+++ graphlcd-0.1.5/Makefile 2007-12-31 02:08:00.000000000 +0100
@@ -9,6 +9,9 @@
#
PLUGIN = graphlcd
+# define this if you built graphlcd-base with freetype:
+HAVE_FREETYPE2 = 1
+
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' plugin.c | awk '{ print $$6 }' | sed -e 's/[";]//g')
@@ -51,9 +54,12 @@
INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I$(INSTALLPREFIX)/include
-DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
-DEFINES += -D_GNU_SOURCE
+DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+ifdef HAVE_FREETYPE2
+ INCLUDES += -I$(INSTALLPREFIX)/include/freetype2
+ DEFINES += -DHAVE_FREETYPE2
+endif
### The object files (add further files here):
|