diff options
Diffstat (limited to 'misc/goldencheetah/goldencheetah.SlackBuild')
-rw-r--r-- | misc/goldencheetah/goldencheetah.SlackBuild | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/misc/goldencheetah/goldencheetah.SlackBuild b/misc/goldencheetah/goldencheetah.SlackBuild index f2bbd60578160..e76bc48c74cdf 100644 --- a/misc/goldencheetah/goldencheetah.SlackBuild +++ b/misc/goldencheetah/goldencheetah.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for GoldenCheetah -# Copyright 2018 Kyle Guinn <elyk03@gmail.com>, USA +# Copyright 2018-2020 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=goldencheetah SRCNAM=GoldenCheetah -VERSION=${VERSION:-3.4} +VERSION=${VERSION:-3.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -82,18 +82,23 @@ cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri cp src/gcconfig.pri.in src/gcconfig.pri # Set up the build configuration. -sed -i 's|^#\(CONFIG += release\)|\1|' src/gcconfig.pri -sed -i 's|^#\(QMAKE_LEX = flex\)|\1|' src/gcconfig.pri -sed -i 's|^#\(QMAKE_YACC = bison\)|\1|' src/gcconfig.pri -sed -i 's|^#\(LIBZ_INCLUDE =\)|\1|' src/gcconfig.pri -sed -i 's|^#\(LIBZ_LIBS = -lz\).*|\1|' src/gcconfig.pri +sed -i 's|^#\(CONFIG += release\)|\1|' src/gcconfig.pri +sed -i 's|^#\(QMAKE_LEX = flex\)|\1|' src/gcconfig.pri +sed -i 's|^#\(QMAKE_YACC = bison\)|\1|' src/gcconfig.pri +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. -# TODO: Enable other optional dependencies (VLC, qwtplot3d, others?) -sed -i 's|^#\(ICAL_INSTALL =\).*|\1 /usr|' src/gcconfig.pri -sed -i 's|^#\(LIBUSB_INSTALL =\).*|\1 /usr|' src/gcconfig.pri - -qmake \ +# Also enable optional video 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 +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 + +qmake-qt5 \ -recursive \ QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \ QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \ |