diff options
Diffstat (limited to 'misc/rbutil/rbutil.SlackBuild')
-rw-r--r-- | misc/rbutil/rbutil.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/misc/rbutil/rbutil.SlackBuild b/misc/rbutil/rbutil.SlackBuild index 276898c55c42d..0811db9146f16 100644 --- a/misc/rbutil/rbutil.SlackBuild +++ b/misc/rbutil/rbutil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for RockboxUtility -# Copyright 2020 Kyle Guinn <elyk03@gmail.com> +# Copyright 2020-2021 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=rbutil SRCNAM=RockboxUtility VERSION=${VERSION:-1.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,14 +74,18 @@ chmod -R u+w,go-w,a+rX-st . cd rbutil/rbutilqt # Use the system quazip. Thanks to gentoo. -# Remove the quazip5 -> quazip renaming if using qt5. patch -p1 < $CWD/patches/rbutil-1.4.1-quazip.patch sed -i 's/quazip5/quazip/' base/ziputil.cpp sed -i 's/quazip5/quazip/' base/ziputil.h -sed -i 's/quazip5/quazip/' rbutilqt.pro +sed -i 's/ -lquazip5//' rbutilqt.pro sed -i 's/\$\$_PRO_FILE_PWD_\/zlib//' rbutilqt.pro +echo "INCLUDEPATH += $(pkg-config --cflags-only-I quazip1-qt5 | sed s/-I//g)" >> rbutilqt.pro +echo "LIBS += $(pkg-config --libs quazip1-qt5)" >> rbutilqt.pro rm -rf quazip zlib +# Respect SLKCFLAGS, add -fcommon for gcc >= 10.x +sed -i "s/-O3/$SLKCFLAGS -fcommon/" ../mkimxboot/Makefile + # Decrease the amount of log spam. sed -i 's/Logger::Debug/Logger::Warning/' logger/AbstractAppender.cpp |