misc/goldencheetah: Avoid dependency on qt5-webkit.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
Kyle Guinn 2020-01-31 01:44:00 -06:00 committed by Willy Sudiarto Raharjo
parent 8eb3d2b3b9
commit eb652240a2
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -25,7 +25,7 @@
PRGNAM=goldencheetah
SRCNAM=GoldenCheetah
VERSION=${VERSION:-3.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -89,7 +89,7 @@ sed -i 's|^#\(LIBZ_INCLUDE =\)|\1|' src/gcconfig.pri
sed -i 's|^#\(LIBZ_LIBS = -lz\)|\1|' src/gcconfig.pri
# Enable optional dependencies found in stock Slackware.
# Also enable optional video from QT5 since QT5 is required.
# Also enable optional video and webengine from QT5 since QT5 is required.
# TODO: Enable other optional dependencies (python3, R, libsamplerate, ...)
sed -i 's|^#\(ICAL_INSTALL =\).*|\1 /usr|' src/gcconfig.pri
sed -i 's|^#\(LIBUSB_INSTALL =\).*|\1 /usr|' src/gcconfig.pri
@ -97,6 +97,7 @@ sed -i 's|^#\(CONFIG += link_pkgconfig\)|\1|' src/gcconfig.pri
sed -i 's|^#\(PKGCONFIG =\)|\1|' src/gcconfig.pri
sed -i 's|^\(DEFINES += GC_VIDEO_NONE\)|#\1|' src/gcconfig.pri
sed -i 's|^#\(DEFINES += GC_VIDEO_QT5\)|\1|' src/gcconfig.pri
sed -i 's|^#\(DEFINES += NOWEBKIT\)|\1|' src/gcconfig.pri
qmake-qt5 \
-recursive \