Initial Commit
- initial default booting image
This commit is contained in:
9
package/sdl2_ttf/Config.in
Normal file
9
package/sdl2_ttf/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_SDL2_TTF
|
||||
bool "sdl2_ttf"
|
||||
depends on BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
help
|
||||
SDL2_ttf is a sample TrueType font library. It allows you to
|
||||
use TrueType fonts in your SDL2 applications.
|
||||
|
||||
http://www.libsdl.org/projects/SDL_ttf/
|
||||
3
package/sdl2_ttf/sdl2_ttf.hash
Normal file
3
package/sdl2_ttf/sdl2_ttf.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd SDL2_ttf-2.24.0.tar.gz
|
||||
sha256 7826eca0a0f7e591f38dd844e207a200aac81a59b20d8a30c3af8c6282af13e6 LICENSE.txt
|
||||
36
package/sdl2_ttf/sdl2_ttf.mk
Normal file
36
package/sdl2_ttf/sdl2_ttf.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# sdl2_ttf
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SDL2_TTF_VERSION = 2.24.0
|
||||
SDL2_TTF_SOURCE = SDL2_ttf-$(SDL2_TTF_VERSION).tar.gz
|
||||
SDL2_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release
|
||||
SDL2_TTF_LICENSE = Zlib
|
||||
SDL2_TTF_LICENSE_FILES = LICENSE.txt
|
||||
SDL2_TTF_INSTALL_STAGING = YES
|
||||
SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf
|
||||
SDL2_TTF_CONF_OPTS = --disable-freetype-builtin --disable-harfbuzz-builtin
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
||||
SDL2_TTF_DEPENDENCIES += harfbuzz
|
||||
SDL2_TTF_CONF_OPTS += --enable-harfbuzz
|
||||
else
|
||||
SDL2_TTF_CONF_OPTS += --disable-harfbuzz
|
||||
endif
|
||||
|
||||
# x-includes and x-libraries must be set for cross-compiling
|
||||
# By default x_includes and x_libraries contains unsafe paths.
|
||||
# (/usr/include and /usr/lib)
|
||||
ifeq ($(BR2_PACKAGE_SDL2_X11),y)
|
||||
SDL2_TTF_CONF_OPTS += \
|
||||
--with-x \
|
||||
--x-includes=$(STAGING_DIR)/usr/include \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
else
|
||||
SDL2_TTF_CONF_OPTS += \
|
||||
--without-x
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user