misc/goldencheetah: Updated for version 3.5.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
Kyle Guinn 2020-01-17 23:12:42 -06:00 committed by Willy Sudiarto Raharjo
parent 822fed53a1
commit 8351c8b9b4
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 21 additions and 16 deletions

View file

@ -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
# 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 \
qmake-qt5 \
-recursive \
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \

View file

@ -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"