summaryrefslogtreecommitdiffstats
path: root/python-pygame
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2022-09-18 18:45:56 +0000
committer Eric Hameleers <alien@slackware.com>2022-09-18 18:45:56 +0000
commitbcf18d045885404b8a30de61ed9797bb70b95aa8 (patch)
treec97cb040e71ec6d7aace32164ceaf6336b8124df /python-pygame
parentb833b49177bed1e3f2dbbe48b187e9b3966e1ec0 (diff)
downloadasb-bcf18d045885404b8a30de61ed9797bb70b95aa8.tar.gz
asb-bcf18d045885404b8a30de61ed9797bb70b95aa8.tar.xz
python-pygame: update to 2.1.2
Diffstat (limited to 'python-pygame')
-rwxr-xr-xpython-pygame/build/python-pygame.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/python-pygame/build/python-pygame.SlackBuild b/python-pygame/build/python-pygame.SlackBuild
index be84a642..9eac2483 100755
--- a/python-pygame/build/python-pygame.SlackBuild
+++ b/python-pygame/build/python-pygame.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2021 Eric Hameleers, Eindhoven, NL
+# Copyright 2021, 2022 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -37,6 +37,8 @@
# * Update.
# 2.0.3-1: 05/nov/2021 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 2.1.2-1: 18/sep/2022 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh python-pygame.SlackBuild' to build a Slackware package.
# The package (.t?z) and .txt file as well as build logs are created in /tmp .
@@ -46,7 +48,7 @@
PRGNAM=python-pygame
SRCNAM=pygame
-VERSION=${VERSION:-2.0.3}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
TAG=${TAG:-alien}
@@ -160,6 +162,11 @@ chmod -R u+w,go+r-w,a+rX-st .
echo Building ...
export LDFLAGS="$SLKLDFLAGS"
export CXXFLAGS="$SLKCFLAGS"
+
+# Since porttime is nowadays included in the main portmidi library,
+# we need to specify this via enviroment because pygame is unaware:
+export PORTMIDI_INC_PORTTIME=1
+
python3 setup.py install --prefix=/usr --root=$PKG \
2>&1 | tee $OUTPUT/install-${PRGNAM}_python3.log