summaryrefslogtreecommitdiff
path: root/games/RetroArch
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-08-29 18:44:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-29 18:44:42 +0700
commitfea3107743685a98460392be8eb2d17144c21a8c (patch)
treea8c69483028e701343124782021f06dd56107e2b /games/RetroArch
parentcb0f6fa1923376b41dd1bab63a3e68a0ddd9cd36 (diff)
downloadslackbuilds-fea3107743685a98460392be8eb2d17144c21a8c.tar.gz
games/RetroArch: Fix Qt5 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/RetroArch')
-rw-r--r--games/RetroArch/RetroArch.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild
index 788f4e04c4..b1514889e4 100644
--- a/games/RetroArch/RetroArch.SlackBuild
+++ b/games/RetroArch/RetroArch.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=RetroArch
VERSION=${VERSION:-1.7.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -129,6 +129,9 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = ${filter_dir}/audio|" \
-e "$SED_CORE;$SED_INFO;$SED_MENU" \
-i retroarch.cfg
+# Fix qt5 support with 14.2.
+sed -i 's/-fPIC/-fPIC -std=c++11/' qb/qb.moc.sh
+
# Fix --enable-opengles and --enable-opengles3
# https://github.com/libretro/RetroArch/pull/8749
# https://github.com/libretro/RetroArch/commit/1a3f16ded122bf3928aeb9beb71b594bf24ce01a