package created using the webbuild interface [release 3.5.20200614git-1mamba;Thu Jan 07 2021]
This commit is contained in:
parent
328caabfa6
commit
6f7f81d7d3
62
GoldenCheetah.appdata.xml
Normal file
62
GoldenCheetah.appdata.xml
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<application>
|
||||||
|
<id type="desktop">GoldenCheetah.desktop</id>
|
||||||
|
<metadata_license>CC0</metadata_license>
|
||||||
|
<project_license>GPLv3+</project_license>
|
||||||
|
<name>GoldenCheetah</name>
|
||||||
|
<summary>Cycling Performance Software</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Golden Cheetah is a program for cyclists:
|
||||||
|
- download and import activities from most popular bike computers from CycleOps,
|
||||||
|
SRM, Polar, Garmin and others;
|
||||||
|
- analyze, track and review performance data and metrics;
|
||||||
|
- train indoors with realtime monitoring supporting trainers from Racermate,
|
||||||
|
Tacx and any ANT+ device;
|
||||||
|
- Golden Cheetah is free software and distributed under the GPL.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<kudos>
|
||||||
|
<kudo>HiDpiIcon</kudo>
|
||||||
|
<kudo>ModernToolkit</kudo>
|
||||||
|
</kudos>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/Wprime.png</image>
|
||||||
|
<caption>W'bal Stress Chart</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/CPchart.png</image>
|
||||||
|
<caption>Critical Power Chart</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/RidePlot.png</image>
|
||||||
|
<caption>Ride Plot</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/RideSummary.png</image>
|
||||||
|
<caption>Ride Summary</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/TISS.png</image>
|
||||||
|
<caption>An/Ae TISS Stress Chart</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/CPdelta.png</image>
|
||||||
|
<caption>Critical Power Delta Compare</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/ModelEstimate.png</image>
|
||||||
|
<caption>Model Estimates</caption>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>http://www.goldencheetah.org/img/PeakPower.png</image>
|
||||||
|
<caption>Peak Power</caption>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<url type="homepage">http://www.goldencheetah.org/</url>
|
||||||
|
<url type="bugtracker">https://github.com/GoldenCheetah/GoldenCheetah/issues/</url>
|
||||||
|
<url type="faq">https://github.com/GoldenCheetah/GoldenCheetah/wiki/FAQ-MOST-COMMON-QUESTIONS-OF-ALL/</url>
|
||||||
|
<url type="help">http://www.goldencheetah.org/#section-tutorials/</url>
|
||||||
|
<url type="translate">https://www.transifex.com/key/GoldenCheetah/</url>
|
||||||
|
</application>
|
10
GoldenCheetah.desktop
Normal file
10
GoldenCheetah.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=3.5.0
|
||||||
|
Type=Application
|
||||||
|
Name=GoldenCheetah
|
||||||
|
Comment=Cycling Power Analysis Software.
|
||||||
|
TryExec=/usr/bin/GoldenCheetah
|
||||||
|
Exec=GoldenCheetah
|
||||||
|
Icon=/usr/share/pixmaps/gc.png
|
||||||
|
Keywords=Cycling;Training;Bike;Ride
|
||||||
|
|
@ -1,2 +1,5 @@
|
|||||||
# goldencheetah
|
# goldencheetah
|
||||||
|
|
||||||
|
GoldenCheetah is a desktop application for cyclists and triathletes and coaches, providing a rich set of tools and models to analyse, track and predict performance, optimise aerodynamics and train indoors.
|
||||||
|
GoldenCheetah integrates with most popular cloud services like Strava and Todays Plan, imports data from bike computers, imports downloads from any website like TrainingPeaks and Garmin and will also connect to smart trainers using ANT+ and Bluetooth.
|
||||||
|
|
||||||
|
12
goldencheetah-3.5.20200614git-gcc-11.patch
Normal file
12
goldencheetah-3.5.20200614git-gcc-11.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/src/Metrics/BlinnSolver.cpp b/src/Metrics/BlinnSolver.cpp
|
||||||
|
index 59f5e5b..b424d46 100644
|
||||||
|
--- a/src/Metrics/BlinnSolver.cpp
|
||||||
|
+++ b/src/Metrics/BlinnSolver.cpp
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
+#include <limits>
|
||||||
|
#include "BlinnSolver.h"
|
||||||
|
|
||||||
|
int GetExponent(double a) {
|
36
goldencheetah-3.6-bison-3.7.patch
Normal file
36
goldencheetah-3.6-bison-3.7.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
--- GoldenCheetah-6164dd963f154ce9a05661167b23c6c06b2649dd/src/Core/DataFilter.y.orig 2020-09-18 10:02:49.823725954 +0200
|
||||||
|
+++ GoldenCheetah-6164dd963f154ce9a05661167b23c6c06b2649dd/src/Core/DataFilter.y 2020-09-18 10:10:06.402777838 +0200
|
||||||
|
@@ -49,6 +49,9 @@
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
+// generated by the scanner
|
||||||
|
+%define api.header.include {"DataFilter_yacc.h"}
|
||||||
|
+
|
||||||
|
// Symbol can be meta or metric name
|
||||||
|
%token <leaf> SYMBOL PYTHON
|
||||||
|
|
||||||
|
--- GoldenCheetah-6164dd963f154ce9a05661167b23c6c06b2649dd/src/Core/RideDB.y.orig 2020-09-18 10:05:39.182746081 +0200
|
||||||
|
+++ GoldenCheetah-6164dd963f154ce9a05661167b23c6c06b2649dd/src/Core/RideDB.y 2020-09-18 10:06:18.703750778 +0200
|
||||||
|
@@ -41,6 +41,9 @@
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
+// generated by the scanner
|
||||||
|
+%define api.header.include {"RideDB_yacc.h"}
|
||||||
|
+
|
||||||
|
%pure-parser
|
||||||
|
%lex-param { void *scanner }
|
||||||
|
%parse-param { struct RideDBContext *jc }
|
||||||
|
--- GoldenCheetah-6164dd963f154ce9a05661167b23c6c06b2649dd/src/FileIO/JsonRideFile.y.orig 2020-09-18 10:06:56.518755272 +0200
|
||||||
|
+++ GoldenCheetah-6164dd963f154ce9a05661167b23c6c06b2649dd/src/FileIO/JsonRideFile.y 2020-09-18 10:07:31.277759403 +0200
|
||||||
|
@@ -106,6 +106,9 @@
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
+// generated by the scanner
|
||||||
|
+%define api.header.include {"JsonRideFile_yacc.h"}
|
||||||
|
+
|
||||||
|
%pure-parser
|
||||||
|
%lex-param { void *scanner }
|
||||||
|
%parse-param { struct JsonContext *jc }
|
449
goldencheetah-3.6-qwtconfig.pri.patch
Normal file
449
goldencheetah-3.6-qwtconfig.pri.patch
Normal file
@ -0,0 +1,449 @@
|
|||||||
|
diff -Naur GoldenCheetah.orig/qwt/qwtconfig.pri GoldenCheetah.build/qwt/qwtconfig.pri
|
||||||
|
--- GoldenCheetah.orig/qwt/qwtconfig.pri 1970-01-01 05:00:00.000000000 +0500
|
||||||
|
+++ GoldenCheetah.build/qwt/qwtconfig.pri 2020-06-17 22:08:22.947552854 +0500
|
||||||
|
@@ -0,0 +1,163 @@
|
||||||
|
+################################################################
|
||||||
|
+# Qwt Widget Library
|
||||||
|
+# Copyright (C) 1997 Josef Wilgen
|
||||||
|
+# Copyright (C) 2002 Uwe Rathmann
|
||||||
|
+#
|
||||||
|
+# This library is free software; you can redistribute it and/or
|
||||||
|
+# modify it under the terms of the Qwt License, Version 1.0
|
||||||
|
+################################################################
|
||||||
|
+
|
||||||
|
+QWT_VER_MAJ = 6
|
||||||
|
+QWT_VER_MIN = 1
|
||||||
|
+QWT_VER_PAT = 1
|
||||||
|
+QWT_VERSION = $${QWT_VER_MAJ}.$${QWT_VER_MIN}.$${QWT_VER_PAT}
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# Install paths
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
|
||||||
|
+
|
||||||
|
+unix {
|
||||||
|
+ QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-svn
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+win32 {
|
||||||
|
+ QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION-svn
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc
|
||||||
|
+QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include
|
||||||
|
+QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# Designer plugin
|
||||||
|
+# creator/designer load designer plugins from certain default
|
||||||
|
+# directories ( f.e the path below QT_INSTALL_PREFIX ) and the
|
||||||
|
+# directories listed in the QT_PLUGIN_PATH environment variable.
|
||||||
|
+# When using the path below QWT_INSTALL_PREFIX you need to
|
||||||
|
+# add $${QWT_INSTALL_PREFIX}/plugins to QT_PLUGIN_PATH in the
|
||||||
|
+# runtime environment of designer/creator.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer
|
||||||
|
+
|
||||||
|
+# linux distributors often organize the Qt installation
|
||||||
|
+# their way and QT_INSTALL_PREFIX doesn't offer a good
|
||||||
|
+# path. Also QT_INSTALL_PREFIX is only one of the default
|
||||||
|
+# search paths of the designer - not the Qt creator
|
||||||
|
+
|
||||||
|
+#QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PREFIX]/plugins/designer
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# Features
|
||||||
|
+# When building a Qwt application with qmake you might want to load
|
||||||
|
+# the compiler/linker flags, that are required to build a Qwt application
|
||||||
|
+# from qwt.prf. Therefore all you need to do is to add "CONFIG += qwt"
|
||||||
|
+# to your project file and take care, that qwt.prf can be found by qmake.
|
||||||
|
+# ( see http://doc.trolltech.com/4.7/qmake-advanced-usage.html#adding-new-configuration-features )
|
||||||
|
+# I recommend not to install the Qwt features together with the
|
||||||
|
+# Qt features, because you will have to reinstall the Qwt features,
|
||||||
|
+# with every Qt upgrade.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
|
||||||
|
+# QWT_INSTALL_FEATURES = $$[QT_INSTALL_PREFIX]/features
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# Build the static/shared libraries.
|
||||||
|
+# If QwtDll is enabled, a shared library is built, otherwise
|
||||||
|
+# it will be a static library.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+#QWT_CONFIG += QwtDll
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# QwtPlot enables all classes, that are needed to use the QwtPlot
|
||||||
|
+# widget.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtPlot
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# QwtWidgets enables all classes, that are needed to use the all other
|
||||||
|
+# widgets (sliders, dials, ...), beside QwtPlot.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtWidgets
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# If you want to display svg images on the plot canvas, or
|
||||||
|
+# export a plot to a SVG document
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtSvg
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# If you want to use a OpenGL plot canvas
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtOpenGL
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# You can use the MathML renderer of the Qt solutions package to
|
||||||
|
+# enable MathML support in Qwt. Because of license implications
|
||||||
|
+# the ( modified ) code of the MML Widget solution is included and
|
||||||
|
+# linked together with the QwtMathMLTextEngine into an own library.
|
||||||
|
+# To use it you will have to add "CONFIG += qwtmathml"
|
||||||
|
+# to your qmake project file.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtMathML
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# If you want to build the Qwt designer plugin,
|
||||||
|
+# enable the line below.
|
||||||
|
+# Otherwise you have to build it from the designer directory.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtDesigner
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# Compile all Qwt classes into the designer plugin instead
|
||||||
|
+# of linking it against the shared Qwt library. Has no effect
|
||||||
|
+# when QwtDesigner or QwtDll are not both enabled.
|
||||||
|
+#
|
||||||
|
+# On systems where rpath is supported ( all Unixoids ) the
|
||||||
|
+# location of the installed Qwt library is compiled into the plugin,
|
||||||
|
+# but on Windows it might be easier to have a self contained
|
||||||
|
+# plugin to avoid any hassle with configuring the runtime
|
||||||
|
+# environment of the designer/creator.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+win32 {
|
||||||
|
+ QWT_CONFIG += QwtDesignerSelfContained
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# If you want to auto build the examples, enable the line below
|
||||||
|
+# Otherwise you have to build them from the examples directory.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtExamples
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# The playground is primarily intended for the Qwt development
|
||||||
|
+# to explore and test new features. Nevertheless you might find
|
||||||
|
+# ideas or code snippets that help for application development
|
||||||
|
+# If you want to auto build the applications in playground, enable
|
||||||
|
+# the line below.
|
||||||
|
+# Otherwise you have to build them from the playground directory.
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+QWT_CONFIG += QwtPlayground
|
||||||
|
+
|
||||||
|
+######################################################################
|
||||||
|
+# When Qt has been built as framework qmake wants
|
||||||
|
+# to link frameworks instead of regular libs
|
||||||
|
+######################################################################
|
||||||
|
+
|
||||||
|
+macx:!static:CONFIG(qt_framework, qt_framework|qt_no_framework) {
|
||||||
|
+
|
||||||
|
+ #QWT_CONFIG += QwtFramework
|
||||||
|
+}
|
||||||
|
diff -Naur GoldenCheetah.orig/src/gcconfig.pri GoldenCheetah.build/src/gcconfig.pri
|
||||||
|
--- GoldenCheetah.orig/src/gcconfig.pri 1970-01-01 05:00:00.000000000 +0500
|
||||||
|
+++ GoldenCheetah.build/src/gcconfig.pri 2020-06-17 22:08:22.933552971 +0500
|
||||||
|
@@ -0,0 +1,278 @@
|
||||||
|
+# To build, copy this file to gcconfig.pri and then fill in the paths.
|
||||||
|
+
|
||||||
|
+# You can define the name of the executable file here.
|
||||||
|
+# If you do not specify anything then we default to: GoldenCheetah
|
||||||
|
+#APP_NAME =
|
||||||
|
+
|
||||||
|
+# We recommend a debug build for development and a release build for deployment
|
||||||
|
+#CONFIG += debug
|
||||||
|
+CONFIG += release
|
||||||
|
+
|
||||||
|
+# uncomment below and configure the location of the GNU scientific library,
|
||||||
|
+# this is a mandatory dependency.
|
||||||
|
+#
|
||||||
|
+# Linux/Mac - use apt/homebrew to install and edit to your install location
|
||||||
|
+GSL_INCLUDES = /usr/include
|
||||||
|
+GSL_LIBS = -lgsl -lgslcblas -lm
|
||||||
|
+#
|
||||||
|
+# Windows - use vcpkg to install and edit to your install location
|
||||||
|
+#GSL_INCLUDES = c:\vcpkg\installed\x64-windows\include
|
||||||
|
+#GSL_LIBS = -LC:\vcpkg\installed\x64-windows\lib -lgsl -lgslcblas
|
||||||
|
+
|
||||||
|
+# Uncomment below if you want an R chart
|
||||||
|
+# You will need R installed along with the Rcpp and RInside
|
||||||
|
+# packages. There is an R script in the `util' directory that
|
||||||
|
+# can be run to install these packages; see it for more info.
|
||||||
|
+DEFINES += GC_WANT_R
|
||||||
|
+
|
||||||
|
+# Uncomment below if you want Python charting / ML etc
|
||||||
|
+# You will need Python Development tools installed
|
||||||
|
+#
|
||||||
|
+# Libs needed can typically be found by calling e.g
|
||||||
|
+# python3.6-config --libs
|
||||||
|
+#
|
||||||
|
+# below 3 lines work well on Linux style OS
|
||||||
|
+#DEFINES += GC_WANT_PYTHON
|
||||||
|
+#PYTHONINCLUDES = -I/usr/include/python3.8
|
||||||
|
+#PYTHONLIBS = -L/usr/lib64/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8m -lcrypt -lpthread -ldl -lutil -lm
|
||||||
|
+# below 3 lines work well on Windows
|
||||||
|
+#DEFINES += GC_WANT_PYTHON
|
||||||
|
+#PYTHONINCLUDES = -I\"C:\Program Files\Python36\include\"
|
||||||
|
+#PYTHONLIBS = -L\"C:\Program Files\Python36\libs\" -lpython36
|
||||||
|
+#Below work ok on MacOS High Sierra
|
||||||
|
+#DEFINES += GC_WANT_PYTHON
|
||||||
|
+#PYTHONINCLUDES = -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m
|
||||||
|
+#PYTHONLIBS = -L/Library/Frameworks/Python.framework/Versions/3.6/lib -lpython3.6m
|
||||||
|
+
|
||||||
|
+# put output into a separate dir
|
||||||
|
+# to keep main directory clear
|
||||||
|
+DESTDIR = .
|
||||||
|
+OBJECTS_DIR = ./.obj
|
||||||
|
+MOC_DIR = ./.moc
|
||||||
|
+RCC_DIR = ./.rcc
|
||||||
|
+UI_DIR = ./.ui
|
||||||
|
+
|
||||||
|
+# Global conf file name: If you'd like to use a different global config file
|
||||||
|
+# name than the default (e.g. for testing purposes), set it here.
|
||||||
|
+#DEFINES += GC_SETTINGS_APP=\\\"GoldenCheetahTest\\\"
|
||||||
|
+
|
||||||
|
+# If you want a console window to appear on Windows machines
|
||||||
|
+# then uncomment the following two lines.
|
||||||
|
+#CONFIG += console
|
||||||
|
+#QMAKE_LFLAGS = -mwindows
|
||||||
|
+
|
||||||
|
+# To compile translation you need QT tool - lrelease
|
||||||
|
+# If it is not found using he defaults in src/src.pro
|
||||||
|
+# then set the full path and filename here.
|
||||||
|
+QMAKE_LRELEASE = /usr/bin/lrelease-qt5
|
||||||
|
+
|
||||||
|
+# MSVC needs the WINDOWS KIT libraries for the memory model you are building
|
||||||
|
+#WINKIT_INSTALL= "C:/Program Files (x86)/Windows Kits/8.1/Lib/winv6.3/um/x64"
|
||||||
|
+
|
||||||
|
+# We use g++ on all platforms so switch on auto vectorization amongst other
|
||||||
|
+# things to speed up looping over ride file points
|
||||||
|
+QMAKE_CXXFLAGS += -O3
|
||||||
|
+
|
||||||
|
+# Let us know where flex and bison are installed.
|
||||||
|
+# You may need to specify the full path if things don't work.
|
||||||
|
+QMAKE_LEX = flex
|
||||||
|
+QMAKE_YACC = bison
|
||||||
|
+# If you're compiling with nmake and VC then you
|
||||||
|
+# will likely also use win_flex and win_bison
|
||||||
|
+# so uncomment below
|
||||||
|
+#QMAKE_LEX = win_flex
|
||||||
|
+#QMAKE_YACC = win_bison
|
||||||
|
+#win32 {
|
||||||
|
+# QMAKE_YACC = bison --file-prefix=y -t
|
||||||
|
+# QMAKE_MOVE = cmd /c move
|
||||||
|
+# QMAKE_DEL_FILE = rm -f
|
||||||
|
+#}
|
||||||
|
+
|
||||||
|
+# If you want SRM download support you must install SRMIO
|
||||||
|
+# http://www.zuto.de/project/srmio/
|
||||||
|
+# Set path to the root of the SRMIO installation
|
||||||
|
+# If you installed in /usr/local/srmio then set
|
||||||
|
+# SRMIO_INSTALL = /usr/local/srmio
|
||||||
|
+# This will automatically set:
|
||||||
|
+# SRMIO_INCLUDE = $${SRMIO_INSTALL}/include
|
||||||
|
+# SRMIO_LIBS = $${SRMIO_INSTALL}/lib/libsrmio.a
|
||||||
|
+# You may override the INCLUDE and LIB files if you like.
|
||||||
|
+# You *must* define SRMIO_INSTALL to use this feature.
|
||||||
|
+#SRMIO_INSTALL =
|
||||||
|
+#SRMIO_INCLUDE =
|
||||||
|
+#SRMIO_LIBS =
|
||||||
|
+
|
||||||
|
+# If you want D2XX device downloads, you need the D2XX libraries
|
||||||
|
+# http://www.ftdichip.com/Drivers/D2XX.htm
|
||||||
|
+# Set path to where the D2XX include file (d2xx.h) is located
|
||||||
|
+# If the files are in /usr/include/d2xx then set
|
||||||
|
+# D2XX = /usr/include/d2xx
|
||||||
|
+# If for some reason you need a library to compile d2xx support
|
||||||
|
+# specify it on the D2XX_LIBS = line.
|
||||||
|
+# You *must* define D2XX_INCLUDE to use this feature.
|
||||||
|
+#D2XX_INCLUDE =
|
||||||
|
+#D2XX_LIBS =
|
||||||
|
+
|
||||||
|
+# If you want support for Google Earth .kml files then you need
|
||||||
|
+# to install the Google libkml library
|
||||||
|
+#
|
||||||
|
+# http://code.google.com/p/libkml/
|
||||||
|
+# or on Linux sudo apt-get install libkml-dev
|
||||||
|
+#
|
||||||
|
+# then set the following variable appropriately
|
||||||
|
+# to the root of the libs/include path
|
||||||
|
+KML_INSTALL = /usr/local
|
||||||
|
+KML_INCLUDE =
|
||||||
|
+KML_LIBS =
|
||||||
|
+# Since KML also requires BOOST you will need to install
|
||||||
|
+# that too and then set BOOST_INCLUDE to that location
|
||||||
|
+# If the files are in /usr/include/boost then set
|
||||||
|
+BOOST_INCLUDE = /usr/include
|
||||||
|
+#Additionally, on MAC the latest libs also need the following
|
||||||
|
+#QMAKE_CFLAGS_X86_64 += -mmacosx-version-min=10.7
|
||||||
|
+#QMAKE_CXXFLAGS_X86_64 = $$QMAKE_CFLAGS_X86_64
|
||||||
|
+#LIBS += -lexpat -luriparser -lminizip
|
||||||
|
+
|
||||||
|
+# If you want support for downloading from iCal calendars you will need libical
|
||||||
|
+# http://sourceforge.net/projects/freeassociation/
|
||||||
|
+# Set path to the root of the libical installation
|
||||||
|
+# If you installed in /usr/local/libical then set
|
||||||
|
+# ICAL_INSTALL = /usr/local/libical
|
||||||
|
+# This will automatically set:
|
||||||
|
+# ICAL_INCLUDE = $${ICAL_INSTALL}/include
|
||||||
|
+# ICAL_LIBS = $${ICAL_INSTALL}/lib/libical.a
|
||||||
|
+# You may override the INCLUDE and LIB files if you like.
|
||||||
|
+# You *must* define ICAL_INSTALL to use this feature.
|
||||||
|
+ICAL_INSTALL = /usr
|
||||||
|
+#ICAL_INCLUDE =
|
||||||
|
+ICAL_LIBS = -lical
|
||||||
|
+
|
||||||
|
+# If you want support for using USB1 sticks in Train View on Windows
|
||||||
|
+# then install the SiLabs USBXpress Software Development Kit (SDK)
|
||||||
|
+# http://www.silabs.com/products/mcu/Pages/USBXpress.aspx
|
||||||
|
+# and set the following to the 'Host' directory within the SDK
|
||||||
|
+# USBXPRESS_INSTALL = /c/SiLabs/MCU/USBXpress/USBXpress_API/Host/
|
||||||
|
+# You may override the INCLUDE and LIB files if you like.
|
||||||
|
+# You *must* define USBXPRESS_INSTALL to use this feature.
|
||||||
|
+#USBXPRESS_INSTALL =
|
||||||
|
+#USBXPRESS_INCLUDE =
|
||||||
|
+#USBXPRESS_LIBS =
|
||||||
|
+
|
||||||
|
+# If you want support for using USB2 sticks in Train View on Linux or Windows
|
||||||
|
+# then you need to install libusb (Linux) version 0.1.12
|
||||||
|
+# or libusb-win32 (Windows) version 1.2.6.0
|
||||||
|
+# For Linux builds download: (There is a copy in the contrib directory)
|
||||||
|
+# http://prdownloads.sourceforge.net/libusb/libusb-0.1.12.tar.gz
|
||||||
|
+# For Windows builds download:
|
||||||
|
+# ttps://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/
|
||||||
|
+# You may override the INCLUDE and LIB files if you like.
|
||||||
|
+# You *must* define LIBUSB_INSTALL to use this feature.
|
||||||
|
+LIBUSB_INSTALL = /usr
|
||||||
|
+#LIBUSB_INCLUDE =
|
||||||
|
+LIBUSB_LIBS = -lusb
|
||||||
|
+#LIBUSB_USE_V_1 = true # don't use on Windows
|
||||||
|
+
|
||||||
|
+# if you want video playback on training mode then
|
||||||
|
+# download and install vlc (videolan) from
|
||||||
|
+# ftp.videolan.org/pub/vlc/1.1.8 or http://download.videolan.org/vlc/ for
|
||||||
|
+# your platform there are sdks for Mac and Windows. On Linux you
|
||||||
|
+# will need to use the latest distro (e.g. Meerkat
|
||||||
|
+# on Ubuntu) to be sure apt-get installs the latest
|
||||||
|
+# builds (we need 1.1.8 or higher).
|
||||||
|
+# Set path to the root of the VLC installation
|
||||||
|
+# If the are installed in /usr/local/vlc then set
|
||||||
|
+# VLC_INSTALL = /usr/local/vlc
|
||||||
|
+# This will automatically set (Windows, Unix and macOS):
|
||||||
|
+# VLC_INCLUDE = $${VLC_INSTALL}/include
|
||||||
|
+# For Windows
|
||||||
|
+# VLC_LIBS = $${VLC_INSTALL}/lib/libvlc.dll.a
|
||||||
|
+# For Unix and macOS
|
||||||
|
+# VLC_LIBS = -lvlc
|
||||||
|
+# You may override the INCLUDE and LIB files if you like.
|
||||||
|
+# You *must* define VLC_INSTALL to use this feature.
|
||||||
|
+#VLC_INSTALL =
|
||||||
|
+#VLC_INCLUDE =
|
||||||
|
+#VLC_LIBS =
|
||||||
|
+
|
||||||
|
+# if you want to resample with high fidelity we can use the
|
||||||
|
+# libsamplerate libraries, this is used in RideFile::resample()
|
||||||
|
+# if you don't resample (e.g. export or merge with new recording
|
||||||
|
+# intervals) then don't bother.
|
||||||
|
+#
|
||||||
|
+# Mainly tested on Linux, compilation on Windows requires
|
||||||
|
+# some modifications in the build process to build with MSVC2015
|
||||||
|
+# Code is available at: http://www.mega-nerd.com/SRC/
|
||||||
|
+#
|
||||||
|
+SAMPLERATE_INSTALL = /usr/local
|
||||||
|
+#SAMPLERATE_INCLUDE = /usr/local/include
|
||||||
|
+SAMPLERATE_LIBS = -lsamplerate
|
||||||
|
+
|
||||||
|
+# If your system has PKG_CONFIG, QT can use this to get dependent libraries.
|
||||||
|
+# Add the names of libraries with PKG_CONFIG information.
|
||||||
|
+# eg. PKGCONFIG = oauth libical
|
||||||
|
+# Uncomment the following two lines to enable.
|
||||||
|
+#CONFIG += link_pkgconfig
|
||||||
|
+#PKGCONFIG =
|
||||||
|
+
|
||||||
|
+# If your QT build includes its own local compress libs
|
||||||
|
+# then you should comment the line below, otherwise you
|
||||||
|
+# will need to have the compress libraries installed
|
||||||
|
+# separately.
|
||||||
|
+#LIBZ_INCLUDE =
|
||||||
|
+LIBZ_LIBS = -lz
|
||||||
|
+
|
||||||
|
+macx {
|
||||||
|
+ # Uncomment this line to build with OS X Tiger support on a Leopard system:
|
||||||
|
+ #QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
||||||
|
+
|
||||||
|
+ # Uncomment this line to build a OS X universal binary:
|
||||||
|
+ #CONFIG+=x86 ppc
|
||||||
|
+
|
||||||
|
+ # Uncomment this line if you have SDK 10.7 or higher
|
||||||
|
+ #DEFINES += GC_HAVE_LION
|
||||||
|
+
|
||||||
|
+ #uncomment below if you are running on the 10.9 developer preview
|
||||||
|
+ #INCLUDEPATH += /Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk/usr/include/
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+# uncomment below for R integration via webservices
|
||||||
|
+#HTPATH = ../httpserver
|
||||||
|
+
|
||||||
|
+#if you want a 'robot' to test realtime code without having
|
||||||
|
+#to get on your trainer and ride then uncomment below
|
||||||
|
+#DEFINES += GC_WANT_ROBOT
|
||||||
|
+
|
||||||
|
+#if you have a version of mingw that properly provides
|
||||||
|
+#the Dwmapi.h header then uncomment this line
|
||||||
|
+#DEFINES += GC_HAVE_DWM
|
||||||
|
+
|
||||||
|
+# USING THE DROPBOX API
|
||||||
|
+# register your app at https://www.dropbox.com/developers/apps and
|
||||||
|
+# make sure the redirect_uri for the app includes the url:
|
||||||
|
+# https://goldencheetah.github.io/blank.html and full permissions
|
||||||
|
+# are granted. Then set the client # and secret in the two defines
|
||||||
|
+# below replacing the xxxxxxxxxxxxxx with the actual values.
|
||||||
|
+#DEFINES += GC_DROPBOX_CLIENT_ID=\\\"xxxxxxxxxxxxxxx\\\"
|
||||||
|
+#DEFINES += GC_DROPBOX_CLIENT_SECRET=\\\"xxxxxxxxxxxxxxx\\\"
|
||||||
|
+
|
||||||
|
+# if you have your own MAPQUEST KEY
|
||||||
|
+#DEFINES += GC_MAPQUESTAPI_KEY=\\\"xxxxxxxxxxxxxxxxxxxxxx\\\"
|
||||||
|
+
|
||||||
|
+# USING THE WITHINGS API (http://oauth.withings.com/api)
|
||||||
|
+#DEFINES += GC_WITHINGS_CONSUMER_KEY=\\\"xxxxxxxxxxxxxxx\\\"
|
||||||
|
+#DEFINES += GC_WITHINGS_CONSUMER_SECRET=\\\"xxxxxxxxxxxxxxx\\\"
|
||||||
|
+
|
||||||
|
+# What video playback do you want?
|
||||||
|
+#DEFINES += GC_VIDEO_NONE # dont add any video playback support
|
||||||
|
+#DEFINES += GC_VIDEO_QUICKTIME # mac only and the default
|
||||||
|
+DEFINES += GC_VIDEO_QT5 # use QT5 qvideowidget if QT > 5.2.1
|
||||||
|
+#DEFINES += GC_VIDEO_VLC # use VideoLan library needs VLC_INSTALL defined above
|
||||||
|
+#DEFINES += GC_VIDEO_AV # use AV Foundation on Mac now QTKit is deprecated
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+# Using the GoldenCheetah/CloudDB feature (with a private CloudDB instance)
|
||||||
|
+# requires that you have a running instance of CloudDB on Google App Engine
|
||||||
|
+# (for details on CloudDB please check the documentation here: https://github.com/GoldenCheetah/CloudDB
|
||||||
|
+#DEFINES +=GC_CLOUD_DB_BASIC_AUTH=
|
||||||
|
+#DEFINES +=GC_CLOUD_DB_APP_NAME=
|
||||||
|
+#CloudDB = active
|
254
goldencheetah-gcconfig.pri
Normal file
254
goldencheetah-gcconfig.pri
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
# To build, copy this file to gcconfig.pri and then fill in the paths.
|
||||||
|
|
||||||
|
# You can define the name of the executable file here.
|
||||||
|
# If you do not specify anything then we default to: GoldenCheetah
|
||||||
|
#APP_NAME =
|
||||||
|
|
||||||
|
# We recommend a debug build for development and a release build for deployment
|
||||||
|
#CONFIG += debug
|
||||||
|
CONFIG += release
|
||||||
|
|
||||||
|
# If you want a console window to appear on Windows machines
|
||||||
|
# then uncomment the following two lines.
|
||||||
|
#CONFIG += console
|
||||||
|
#QMAKE_LFLAGS = -mwindows
|
||||||
|
|
||||||
|
# To compile translation you need QT tool - lrelease
|
||||||
|
# If it is not found using he defaults in src/src.pro
|
||||||
|
# then set the full path and filename here.
|
||||||
|
#QMAKE_LRELEASE = /usr/bin/lrelease
|
||||||
|
|
||||||
|
# We use g++ on all platforms so switch on auto vectorization amongst other
|
||||||
|
# things to speed up looping over ride file points
|
||||||
|
QMAKE_CXXFLAGS += -O3
|
||||||
|
|
||||||
|
# Let us know where flex and bison are installed.
|
||||||
|
# You may need to specify the full path if things don't work.
|
||||||
|
QMAKE_LEX = flex
|
||||||
|
QMAKE_YACC = bison
|
||||||
|
#win32 {
|
||||||
|
# QMAKE_YACC = bison --file-prefix=y -t
|
||||||
|
# QMAKE_MOVE = cmd /c move
|
||||||
|
# QMAKE_DEL_FILE = rm -f
|
||||||
|
#}
|
||||||
|
|
||||||
|
# If you want SRM download support you must install SRMIO
|
||||||
|
# http://www.zuto.de/project/srmio/
|
||||||
|
# Set path to the root of the SRMIO installation
|
||||||
|
# If you installed in /usr/local/srmio then set
|
||||||
|
# SRMIO_INSTALL = /usr/local/srmio
|
||||||
|
# This will automatically set:
|
||||||
|
# SRMIO_INCLUDE = $${SRMIO_INSTALL}/include
|
||||||
|
# SRMIO_LIBS = $${SRMIO_INSTALL}/lib/libsrmio.a
|
||||||
|
# You may override the INCLUDE and LIB files if you like.
|
||||||
|
# You *must* define SRMIO_INSTALL to use this feature.
|
||||||
|
exists(/usr/lib/libsrmio.a) {
|
||||||
|
SRMIO_INSTALL = yes
|
||||||
|
SRMIO_INCLUDE = /usr/include/
|
||||||
|
SRMIO_LIBS = /usr/lib/libsrmio.a
|
||||||
|
}
|
||||||
|
|
||||||
|
# If you want D2XX device downloads, you need the D2XX libraries
|
||||||
|
# http://www.ftdichip.com/Drivers/D2XX.htm
|
||||||
|
# Set path to where the D2XX include file (d2xx.h) is located
|
||||||
|
# If the files are in /usr/include/d2xx then set
|
||||||
|
# D2XX = /usr/include/d2xx
|
||||||
|
# If for some reason you need a library to compile d2xx support
|
||||||
|
# specify it on the D2XX_LIBS = line.
|
||||||
|
# You *must* define D2XX_INCLUDE to use this feature.
|
||||||
|
exists(/usr/lib/libftd2xx.so) {
|
||||||
|
D2XX_INCLUDE = /usr/include/
|
||||||
|
D2XX_LIBS = /usr/lib/libftd2xx.so
|
||||||
|
}
|
||||||
|
|
||||||
|
# If you want 3D plotting, you need to install qwtplot3d
|
||||||
|
# http://qwtplot3d.sourceforge.net/
|
||||||
|
# If you are running Linux and have font problems, download
|
||||||
|
# the Tar ball from http://qwtplot3d.svn.sourceforge.net/viewvc/qwtplot3d/
|
||||||
|
# Follow Branches -> Maintain_0_2_x -> qwtplot3d
|
||||||
|
# Set path to the root of the qwtplot3d installation
|
||||||
|
# If you installed in /usr/local/qwtplot3d then set
|
||||||
|
# QWT3D_INSTALL = /usr/local/qwtplot3d
|
||||||
|
# This will automatically set:
|
||||||
|
# QWT3D_INCLUDE = $${QWT3D_INSTALL}/include
|
||||||
|
# QWT3D_LIBS = $${QWT3D_INSTALL}/lib/libqwtplot3d.a
|
||||||
|
# You may override the INCLUDE and LIB files if you like.
|
||||||
|
# You *must* define QWT3D_INSTALL to use this feature.
|
||||||
|
exists(/usr/lib/libqwtplot3d.a) {
|
||||||
|
QWT3D_INSTALL = yes
|
||||||
|
QWT3D_INCLUDE = /usr/include/qwtplot3d/
|
||||||
|
QWT3D_LIBS = /usr/lib/libqwtplot3d.a
|
||||||
|
}
|
||||||
|
|
||||||
|
# If you want support for Google Earth .kml files then you need
|
||||||
|
# to install the Google libkml library
|
||||||
|
#
|
||||||
|
# http://code.google.com/p/libkml/
|
||||||
|
# or on Linux sudo apt-get install libkml-dev
|
||||||
|
#
|
||||||
|
# then set the following variable appropriately
|
||||||
|
# to the root of the libs/include path
|
||||||
|
exists(/usr/lib/libkmldom.so) {
|
||||||
|
KML_INSTALL = yes
|
||||||
|
KML_INCLUDE = /usr/include/
|
||||||
|
KML_LIBS = /usr/lib/libkmldom.so /usr/lib/libkmlbase.so
|
||||||
|
}
|
||||||
|
# Since KML also requires BOOST you will need to install
|
||||||
|
# that too and then set BOOST_INCLUDE to that location
|
||||||
|
# If the files are in /usr/include/boost then set
|
||||||
|
#BOOST_INCLUDE = /usr/include/
|
||||||
|
#Additionally, on MAC the latest libs also need the following
|
||||||
|
#QMAKE_CFLAGS_X86_64 += -mmacosx-version-min=10.7
|
||||||
|
#QMAKE_CXXFLAGS_X86_64 = $$QMAKE_CFLAGS_X86_64
|
||||||
|
#LIBS += -lexpat -luriparser -lminizip
|
||||||
|
|
||||||
|
# If you want support for downloading from iCal calendars you will need libical
|
||||||
|
# http://sourceforge.net/projects/freeassociation/
|
||||||
|
# Set path to the root of the libical installation
|
||||||
|
# If you installed in /usr/local/libical then set
|
||||||
|
# ICAL_INSTALL = /usr/local/libical
|
||||||
|
# This will automatically set:
|
||||||
|
# ICAL_INCLUDE = $${ICAL_INSTALL}/include
|
||||||
|
# ICAL_LIBS = $${ICAL_INSTALL}/lib/libical.a
|
||||||
|
# You may override the INCLUDE and LIB files if you like.
|
||||||
|
# You *must* define ICAL_INSTALL to use this feature.
|
||||||
|
packagesExist(libical) {
|
||||||
|
ICAL_INSTALL = yes
|
||||||
|
ICAL_INCLUDE = /usr/include/
|
||||||
|
ICAL_LIBS = -lical -licalss -licalvcal -lpthread
|
||||||
|
}
|
||||||
|
|
||||||
|
# If you want support for using USB1 sticks in Train View on Windows
|
||||||
|
# then install the SiLabs USBXpress Software Development Kit (SDK)
|
||||||
|
# http://www.silabs.com/products/mcu/Pages/USBXpress.aspx
|
||||||
|
# and set the following to the 'Host' directory within the SDK
|
||||||
|
# USBXPRESS_INSTALL = /c/SiLabs/MCU/USBXpress/USBXpress_API/Host/
|
||||||
|
# You may override the INCLUDE and LIB files if you like.
|
||||||
|
# You *must* define USBXPRESS_INSTALL to use this feature.
|
||||||
|
#USBXPRESS_INSTALL =
|
||||||
|
#USBXPRESS_INCLUDE =
|
||||||
|
#USBXPRESS_LIBS =
|
||||||
|
|
||||||
|
# If you want support for using USB2 sticks in Train View on Linux or Windows
|
||||||
|
# then you need to install libusb (Linux) or libusb-win32 (Windows) version 0.1.12
|
||||||
|
# For Linux builds download: (There is a copy in the contrib directory)
|
||||||
|
# http://prdownloads.sourceforge.net/libusb/libusb-0.1.12.tar.gz
|
||||||
|
# For Windows builds download:
|
||||||
|
# http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/0.1.12.2/
|
||||||
|
# You may override the INCLUDE and LIB files if you like.
|
||||||
|
# You *must* define LIBUSB_INSTALL to use this feature.
|
||||||
|
packagesExist(libusb) {
|
||||||
|
LIBUSB_INSTALL = yes
|
||||||
|
LIBUSB_INCLUDE = /usr/include/
|
||||||
|
LIBUSB_LIBS = -lusb
|
||||||
|
}
|
||||||
|
|
||||||
|
# if you want video playback on training mode then
|
||||||
|
# download and install vlc (videolan) from
|
||||||
|
# ftp.videolan.org/pub/vlc/1.1.8 for your platform
|
||||||
|
# there are sdks for Mac and Windows. On Linux you
|
||||||
|
# will need to use the latest distro (e.g. Meerkat
|
||||||
|
# on Ubuntu) to be sure apt-get installs the latest
|
||||||
|
# builds (we need 1.1.8 or higher).
|
||||||
|
# Set path to the root of the VLC installation
|
||||||
|
# If the are installed in /usr/local/vlc then set
|
||||||
|
# VLC_INSTALL = /usr/local/vlc
|
||||||
|
# This will automatically set (Windows and Unix):
|
||||||
|
# VLC_INCLUDE = $${VLC_INSTALL}/include
|
||||||
|
# For Windows
|
||||||
|
# VLC_LIBS = $${VLC_INSTALL}/lib/libvlc.dll.a $${VLC_INSTALL}/lib/libvlccore.dll.a
|
||||||
|
# For Unix
|
||||||
|
# VLC_LIBS = -lvlc -lvlccore
|
||||||
|
# You may override the INCLUDE and LIB files if you like.
|
||||||
|
# You *must* define VLC_INSTALL to use this feature.
|
||||||
|
packagesExist(libvlc) {
|
||||||
|
VLC_INSTALL = yes
|
||||||
|
VLC_INCLUDE = /usr/include/
|
||||||
|
VLC_LIBS = -lvlc -lvlccore
|
||||||
|
}
|
||||||
|
|
||||||
|
# *** Mac users NOTE ***
|
||||||
|
# On MAC you don't need libvlc since we use the
|
||||||
|
# native QTKit (OSX framework) for video playback
|
||||||
|
# using Quicktime and on 10.6 or higher Quicktime X
|
||||||
|
#
|
||||||
|
|
||||||
|
# if you want to resample with high fidelity we can use the
|
||||||
|
# libsamplerate libraries, this is used in RideFile::resample()
|
||||||
|
# if you don't resample (e.g. export or merge with new recording
|
||||||
|
# intervals) then don't bother.
|
||||||
|
#
|
||||||
|
# Only tested on Linux, cannot compile on Windows at present
|
||||||
|
# Code is available at: http://www.mega-nerd.com/SRC/
|
||||||
|
#
|
||||||
|
packagesExist(samplerate) {
|
||||||
|
SAMPLERATE_INSTALL = yes
|
||||||
|
SAMPLERATE_INCLUDE = /usr/include
|
||||||
|
SAMPLERATE_LIBS = -lsamplerate
|
||||||
|
DEFINES += GC_VIDEO_VLC
|
||||||
|
} else {
|
||||||
|
DEFINES += GC_VIDEO_NONE
|
||||||
|
}
|
||||||
|
|
||||||
|
# If your system has PKG_CONFIG, QT can use this to get dependent libraries.
|
||||||
|
# Add the names of libraries with PKG_CONFIG information.
|
||||||
|
# eg. PKGCONFIG = oauth libical
|
||||||
|
# Uncomment the following two lines to enable.
|
||||||
|
#CONFIG += link_pkgconfig
|
||||||
|
#PKGCONFIG =
|
||||||
|
|
||||||
|
# If your QT build includes its own local compress libs
|
||||||
|
# then you should comment the line below, otherwise you
|
||||||
|
# will need to have the compress libraries installed
|
||||||
|
# separately.
|
||||||
|
LIBZ_INCLUDE =
|
||||||
|
LIBZ_LIBS = -lz
|
||||||
|
|
||||||
|
macx {
|
||||||
|
# Uncomment this line to build with OS X Tiger support on a Leopard system:
|
||||||
|
#QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
||||||
|
|
||||||
|
# Uncomment this line to build a OS X universal binary:
|
||||||
|
#CONFIG+=x86 ppc
|
||||||
|
|
||||||
|
# Uncomment this line if you have SDK 10.7 or higher
|
||||||
|
#DEFINES += GC_HAVE_LION
|
||||||
|
|
||||||
|
# Uncomment this line if you have the Mac OSX Wahoo API installed (Kickr)
|
||||||
|
#HAVE_WFAPI = true
|
||||||
|
|
||||||
|
#uncomment below if you are running on the 10.9 developer preview
|
||||||
|
#INCLUDEPATH += /Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk/usr/include/
|
||||||
|
}
|
||||||
|
|
||||||
|
# uncomment below for R integration via webservices
|
||||||
|
#HTPATH = ../httpserver
|
||||||
|
|
||||||
|
#if you want a 'robot' to test realtime code without having
|
||||||
|
#to get on your trainer and ride then uncomment below
|
||||||
|
#DEFINES += GC_WANT_ROBOT
|
||||||
|
|
||||||
|
#if you have a version of mingw that properly provides
|
||||||
|
#the Dwmapi.h header then uncomment this line
|
||||||
|
#DEFINES += GC_HAVE_DWM
|
||||||
|
|
||||||
|
# USING THE DROPBOX API
|
||||||
|
# register your app at https://www.dropbox.com/developers/apps and
|
||||||
|
# make sure the redirect_uri for the app includes the url:
|
||||||
|
# https://goldencheetah.github.io/blank.html and full permissions
|
||||||
|
# are granted. Then set the client # and secret in the two defines
|
||||||
|
# below replacing the xxxxxxxxxxxxxx with the actual values.
|
||||||
|
#DEFINES += GC_DROPBOX_CLIENT_ID=\\\"xxxxxxxxxxxxxxx\\\"
|
||||||
|
#DEFINES += GC_DROPBOX_CLIENT_SECRET=\\\"xxxxxxxxxxxxxxx\\\"
|
||||||
|
|
||||||
|
# if you have your own MAPQUEST KEY
|
||||||
|
#DEFINES += GC_MAPQUESTAPI_KEY=\\\"xxxxxxxxxxxxxxxxxxxxxx\\\"
|
||||||
|
|
||||||
|
# What video playback do you want?
|
||||||
|
#DEFINES += GC_VIDEO_NONE # dont add any video playback support
|
||||||
|
#DEFINES += GC_VIDEO_QUICKTIME # mac only and the default
|
||||||
|
#DEFINES += GC_VIDEO_QT5 # use QT5 qvideowidget if QT > 5.2.1
|
||||||
|
#DEFINES += GC_VIDEO_VLC # use VideoLan library needs VLC_INSTALL defined above
|
||||||
|
|
||||||
|
DEFINES += GC_STRAVA_CLIENT_ID=\\\"45487\\\"
|
||||||
|
DEFINES += GC_STRAVA_CLIENT_SECRET=\\\"6c3a38d6d1a532d752503c0ce69166f159e73dd2\\\"
|
BIN
goldencheetah.png
Normal file
BIN
goldencheetah.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 KiB |
83
goldencheetah.spec
Normal file
83
goldencheetah.spec
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
Name: goldencheetah
|
||||||
|
Version: 3.5.20200614git
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A desktop application for cyclists and triathletes and coaches
|
||||||
|
Group: Graphical Desktop/Applications/Scientific
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.goldencheetah.org/
|
||||||
|
Source: https://github.com/GoldenCheetah/GoldenCheetah.git/master@6164dd963f154ce9a05661167b23c6c06b2649dd/GoldenCheetah-%{version}.tar.bz2
|
||||||
|
Source1: goldencheetah-gcconfig.pri
|
||||||
|
Source2: GoldenCheetah.desktop
|
||||||
|
Source3: goldencheetah.png
|
||||||
|
Source4: GoldenCheetah.appdata.xml
|
||||||
|
Patch0: goldencheetah-3.6-bison-3.7.patch
|
||||||
|
Patch1: goldencheetah-3.6-qwtconfig.pri.patch
|
||||||
|
Patch2: goldencheetah-3.5.20200614git-gcc-11.patch
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libGL-devel
|
||||||
|
BuildRequires: libQt5WebEngine-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgsl-devel
|
||||||
|
BuildRequires: libical-devel
|
||||||
|
BuildRequires: libkml-devel
|
||||||
|
BuildRequires: libqt5-devel
|
||||||
|
BuildRequires: libsamplerate-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libusb-compat-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
GoldenCheetah is a desktop application for cyclists and triathletes and coaches, providing a rich set of tools and models to analyse, track and predict performance, optimise aerodynamics and train indoors.
|
||||||
|
GoldenCheetah integrates with most popular cloud services like Strava and Todays Plan, imports data from bike computers, imports downloads from any website like TrainingPeaks and Garmin and will also connect to smart trainers using ANT+ and Bluetooth.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n GoldenCheetah-%{version}
|
||||||
|
#-D -T
|
||||||
|
#:<< _EOF
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
#:<< _EOF
|
||||||
|
lrelease-qt5 src/Resources/translations/*.ts
|
||||||
|
%{_qt5_qmake}
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
install -D -m0755 src/GoldenCheetah %{buildroot}%{_bindir}/GoldenCheetah
|
||||||
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/GoldenCheetah.desktop
|
||||||
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/gc.png
|
||||||
|
install -D -m0644 %{SOURCE4} %{buildroot}%{_datadir}/metainfo/GoldenCheetah.apdata.xml
|
||||||
|
|
||||||
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/translations
|
||||||
|
install -m 0644 src/Resources/translations/gc_{es,nl,zh-tw,pt-br,pt,ru,it,cs,ja,de,sv,fr,zh-cn}.qm \
|
||||||
|
%{buildroot}%{_datadir}/%{name}/translations
|
||||||
|
|
||||||
|
%find_lang %{name} --all-name --with-qt
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/GoldenCheetah
|
||||||
|
%{_datadir}/applications/GoldenCheetah.desktop
|
||||||
|
%{_datadir}/metainfo/GoldenCheetah.apdata.xml
|
||||||
|
%{_datadir}/pixmaps/gc.png
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jan 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.20200614git-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user