new package: sdl-gfx

This commit is contained in:
Tee KOBAYASHI 2022-04-21 05:20:44 +09:00 committed by xtkoba
parent d321fcd2bf
commit 69113709ac
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
TERMUX_PKG_HOMEPAGE=https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
TERMUX_PKG_DESCRIPTION="SDL-1.2 graphics drawing primitives, rotozoom and other supporting functions"
TERMUX_PKG_LICENSE="ZLIB"
TERMUX_PKG_LICENSE_FILE="LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.0.26
TERMUX_PKG_SRCURL=https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446
TERMUX_PKG_DEPENDS="sdl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-mmx
"
termux_step_pre_configure() {
cp $TERMUX_PREFIX/share/aclocal/sdl.m4 m4/
autoreconf -fi
CPPFLAGS+=" -I$TERMUX_PREFIX/include/SDL"
}