diff options
author | Kyle Guinn <elyk03@gmail.com> | 2020-01-17 23:12:42 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-18 12:25:23 +0700 |
commit | 8351c8b9b468a6a1e9f39c0a73101b434f4d5c7e (patch) | |
tree | 3d66062e0a465cc3598f2923ae9d98d043567b23 | |
parent | 822fed53a10e692911b210892d87f817400b26b1 (diff) |
misc/goldencheetah: Updated for version 3.5.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
-rw-r--r-- | misc/goldencheetah/goldencheetah.SlackBuild | 29 | ||||
-rw-r--r-- | misc/goldencheetah/goldencheetah.info | 10 |
2 files changed, 22 insertions, 17 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" \ diff --git a/misc/goldencheetah/goldencheetah.info b/misc/goldencheetah/goldencheetah.info index e1aa0f22711bb..324df46ea8b00 100644 --- a/misc/goldencheetah/goldencheetah.info +++ b/misc/goldencheetah/goldencheetah.info @@ -1,10 +1,10 @@ PRGNAM="goldencheetah" -VERSION="3.4" -HOMEPAGE="http://www.goldencheetah.org/" -DOWNLOAD="https://github.com/GoldenCheetah/GoldenCheetah/archive/V3.4/GoldenCheetah-3.4.tar.gz" -MD5SUM="41da7559e546b5fdedfbee962356c072" +VERSION="3.5" +HOMEPAGE="https://www.goldencheetah.org/" +DOWNLOAD="https://github.com/GoldenCheetah/GoldenCheetah/archive/V3.5/GoldenCheetah-3.5.tar.gz" +MD5SUM="ed25ef3dfb447b1c4d9cc7387da5d7e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt5" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" |