distribution/packages/devel/SDL2_ttf/package.mk
fewtarius 445c4a076c
* Update EmulationStation (Add overlay cleanup to danger zone, fixes some wording).
* Fix a few package URLs.
* Bump Cemu SA.
* Deprecate and remove a few older post-update fixes.
2023-12-26 14:17:29 +00:00

18 lines
703 B
Makefile

# 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.20.2"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libsdl.org/"
PKG_URL="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
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
PKG_CONFIGURE_OPTS_TARGET="--with-freetype-prefix=${SYSROOT_PREFIX}/usr ${X11}"