From a7d4961d77854d7c0637945add8762f9454392eb Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 20 Feb 2024 12:24:44 +0200 Subject: [PATCH] python/python3-pygame: Update script. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- python/python3-pygame/python3-pygame.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/python3-pygame/python3-pygame.SlackBuild b/python/python3-pygame/python3-pygame.SlackBuild index 4223d5e571..abb8afb33c 100644 --- a/python/python3-pygame/python3-pygame.SlackBuild +++ b/python/python3-pygame/python3-pygame.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pygame SRCNAM=pygame VERSION=${VERSION:-2.5.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,6 +86,7 @@ sed -i 's/"dpkg-architecture -qDEB_HOST_MULTIARCH",//' buildconfig/config_unix.p python3 -u buildconfig/config.py CFLAGS="$SLKCFLAGS" \ +PYGAME_DETECT_AVX2=1 \ python3 setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \