1 ################################################################################
5 ################################################################################
8 TEKUI_SOURCE
= tekui-
$(TEKUI_VERSION
).tgz
9 TEKUI_SITE
= http
://tekui.neoscientists.org
/releases
11 TEKUI_LICENSE_FILES
= COPYRIGHT
12 TEKUI_DEPENDENCIES
= freetype luainterpreter
15 CC
="$(TARGET_CC) -fPIC" \
16 AR
="$(TARGET_AR) rcu" \
18 LUAVER
=$(LUAINTERPRETER_ABIVER
) \
21 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
22 TEKUI_DEPENDENCIES
+= libpng
23 TEKUI_MAKE_OPTS
+= TEKUI_DEFS
="-DENABLE_GRADIENT -DENABLE_FILENO -DENABLE_PIXMAP_CACHE -DENABLE_PNG"
24 TEKUI_MAKE_OPTS
+= TEKUI_LIBS
=-lpng
26 TEKUI_MAKE_OPTS
+= TEKUI_DEFS
="-DENABLE_GRADIENT -DENABLE_FILENO -DENABLE_PIXMAP_CACHE"
29 ifeq ($(BR2_PACKAGE_DEJAVU
),y
)
30 TEKUI_FONTDIR
=/usr
/share
/fonts
/dejavu
32 TEKUI_FONTDIR
=/usr
/share
/lua
/$(LUAINTERPRETER_ABIVER
)/tek
/ui
/font
35 ifeq ($(BR2_PACKAGE_XLIB_LIBXFT
)$(BR2_PACKAGE_XLIB_LIBXXF86VM
),yy
)
36 TEKUI_DEPENDENCIES
+= xlib_libXft xlib_libXxf86vm
38 X11_LIBS
="-lXext -lXxf86vm -lXft -lfreetype -lfontconfig" \
39 X11_DEFS
="-D_XOPEN_SOURCE -DENABLE_XFT -DENABLE_XVID -I$(STAGING_DIR)/usr/include/freetype2 -I$(STAGING_DIR)/usr/include/fontconfig" \
42 ifeq ($(BR2_PACKAGE_DIRECTFB
),y
)
43 TEKUI_DEPENDENCIES
+= directfb
45 DIRECTFB_LIBS
="-lfreetype -ldirectfb -lpthread" \
46 DIRECTFB_DEFS
="-D_REENTRANT -I$(STAGING_DIR)/usr/include/directfb -I$(STAGING_DIR)/usr/include/freetype2" \
47 DISPLAY_DRIVER
=directfb
50 FREETYPE_LIBS
=-lfreetype \
51 FREETYPE_DEFS
="-I$(STAGING_DIR)/usr/include/freetype2" \
53 RAWFB_SUB_DEFS
="-DDEF_FONTDIR=\\\"$(TEKUI_FONTDIR)\\\"" \
58 define TEKUI_BUILD_CMDS
59 $(TARGET_MAKE_ENV
) $(MAKE
) $(TEKUI_MAKE_OPTS
) PREFIX
="/usr" -C
$(@D
) all
62 define TEKUI_INSTALL_TARGET_CMDS
63 $(TARGET_MAKE_ENV
) $(MAKE
) $(TEKUI_MAKE_OPTS
) PREFIX
="$(TARGET_DIR)/usr" -C
$(@D
) install
66 $(eval
$(generic-package
))