aboutsummaryrefslogtreecommitdiff
path: root/graphics/tuxpaint/tuxpaint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tuxpaint/tuxpaint.SlackBuild')
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild
index 5c3bd40acb33e..6bc864e3736e2 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -13,13 +13,14 @@
# - stop spamming the real /usr (ugh).
# 20220610 tim dickson: updated to 0.9.28 . sticking with sdl1 version for now
# 20220629 tim dickson: changed to the sdl2 version
+# 20220820 tim dickson: added patch to work with newer SDL2_Pango. should be fixed upstream in next release
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tuxpaint
VERSION=${VERSION:-0.9.28}
CONFVER=${CONFVER:-0.0.19}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +80,10 @@ mkdir trans
# using the xdg-icon-resource and xdg-desktop-menu tools: these don't
# support DESTDIR or any other way to control where the files get
# installed (meaning they install to the real /usr, not $PKG/usr).
+
+#patch to fix working with newer SDL2_Pango. remove for next version update
+patch <$CWD/tuxpaint_SDL2_Pango.patch
+
sed -i '/^linux_ARCH_INSTALL/s,install-xdg ,,' Makefile
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"