Skip to content

Commit

Permalink
bump(tur/python-pygame): 2.6.0 (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 authored Jul 24, 2024
1 parent 6504a91 commit 57a3f31
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions tur/python-pygame/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
}

0 comments on commit 57a3f31

Please sign in to comment.