diff --git a/tur/python-pygame/build.sh b/tur/python-pygame/build.sh index c6f53797c..3f285df7f 100644 --- a/tur/python-pygame/build.sh +++ b/tur/python-pygame/build.sh @@ -2,12 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://pygame.org/ TERMUX_PKG_DESCRIPTION="pygame is a python game library" TERMUX_PKG_LICENSE="LGPL-3.0" TERMUX_PKG_MAINTAINER="@termux-user-repository" -TERMUX_PKG_VERSION="2.5.2" +TERMUX_PKG_VERSION="2.6.0" TERMUX_PKG_SRCURL=https://github.com/pygame/pygame/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=46427b2b35060303b06a06a56c07a9e8e55b26cd4c434b792ed78244d2023e05 +TERMUX_PKG_SHA256=0dc751d9dc30ba97fa7077d855c1a945fc3ecffcaa90a3a4f3fe4c2b7db3a36a TERMUX_PKG_DEPENDS="x11-repo, freetype, portmidi, python, sdl2, sdl2-image, sdl2-mixer, sdl2-ttf" TERMUX_PKG_BUILD_DEPENDS="xorgproto" -TERMUX_PKG_PYTHON_BUILD_DEPS="'Cython<3', wheel" +TERMUX_PKG_PYTHON_BUILD_DEPS="'Cython>=3.0', wheel" TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true @@ -16,11 +16,6 @@ bin/ " termux_step_pre_configure() { - export CFLAGS+=" -Wno-error=incompatible-function-pointer-types" - export CPPFLAGS+=" -Wno-error=incompatible-function-pointer-types" - export CXXFLAGS+=" -Wno-error=incompatible-function-pointer-types" - export PATH="$PATH:$TERMUX_PREFIX/bin" - - LDFLAGS+=" -lpython${TERMUX_PYTHON_VERSION}" + LDFLAGS+=" -lm" }