2313f68e4c
Commit 93d8b71371
(package/sdl2_ttf: bump version to 2.20.1) dropped the
hash for COPYING.txt and added a hash for LICENSE.txt but forgot to adjust
SDL2_TTF_LICENSE_FILES, breaking legal-info:
>>> sdl2_ttf 2.20.1 Collecting legal info
ERROR: No hash found for COPYING.txt
cp: cannot stat '/path/to/output/build/sdl2_ttf-2.20.1/COPYING.txt': No such file or directory
make[1]: *** [package/sdl2_ttf/sdl2_ttf.mk:38: sdl2_ttf-legal-info] Error 1
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# sdl2_ttf
|
|
#
|
|
################################################################################
|
|
|
|
SDL2_TTF_VERSION = 2.20.1
|
|
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))
|