mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
misc/goldencheetah: Avoid dependency on qt5-webkit.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
parent
8eb3d2b3b9
commit
eb652240a2
1 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue