distribution/packages/tools/SDL2_ttf/package.mk

18 lines
666 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 0riginally created by Escalade (https://github.com/escalade)
# Copyright (C) 2018-present 5schatten (https://github.com/5schatten)
PKG_NAME="SDL2_ttf"
PKG_VERSION="2.0.14"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libsdl.org/"
2023-02-24 13:53:43 +00:00
PKG_URL="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain SDL2 freetype"
PKG_LONGDESC="This is a sample library which allows you to use TrueType fonts in your SDL applications"
if [ ! "$DISPLAYSERVER" = "x11" ]; then
X11="--without-x"
fi
2023-02-24 13:53:43 +00:00
PKG_CONFIGURE_OPTS_TARGET="--with-freetype-prefix=${SYSROOT_PREFIX}/usr $X11"