Skip to content

Commit

Permalink
Merge pull request #277 from jongough/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
jongough authored Nov 28, 2022
2 parents 0b86159 + 7315c60 commit b1adaa8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ set(LONG_DESCRIPTION "testplugin Plugin is used to test out the ODraw API and de

set(VERSION_MAJOR "1")
set(VERSION_MINOR "0")
set(VERSION_PATCH "215")
set(VERSION_PATCH "217")
set(VERSION_TWEAK "0")
set(VERSION_DATE "07/10/2022") # DD/MM/YYYY format
set(VERSION_DATE "28/11/2022") # DD/MM/YYYY format
set(OCPN_MIN_VERSION "ov50")
set(OCPN_API_VERSION_MAJOR "1")
set(OCPN_API_VERSION_MINOR "16")
Expand Down
17 changes: 17 additions & 0 deletions ci/circleci-build-flatpak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,23 @@ sudo apt-get -q -y --allow-unauthenticated --allow-downgrades --allow-remove-ess

sudo apt --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages install flatpak flatpak-builder

# Install extra build libs
ME=$(echo ${0##*/} | sed 's/\.sh//g')
EXTRA_LIBS=./ci/extras/extra_libs.txt
if test -f "$EXTRA_LIBS"; then
sudo apt update
while read line; do
sudo apt-get install $line
done < $EXTRA_LIBS
fi
EXTRA_LIBS=./ci/extras/${ME}_extra_libs.txt
if test -f "$EXTRA_LIBS"; then
sudo apt update
while read line; do
sudo apt-get install $line
done < $EXTRA_LIBS
fi

if [ -n "$CI" ]; then
sudo apt update

Expand Down
1 change: 1 addition & 0 deletions ci/extras/circleci-build-flatpak_extra_libs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libcurl4-openssl-dev
1 change: 1 addition & 0 deletions ci/extras/extra_libs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
equivs
2 changes: 1 addition & 1 deletion cmake/PluginConfigure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ if(OCPN_FLATPAK_CONFIG)
file(READ ${PLUGIN_FLATPAK_ARGS} finish_args)
endif()
find_file(PLUGIN_FLATPAK_OPTIONS NAMES flatpak_options.in PATHS cmake/in-files NO_DEFAULT_PATH )
if(${PLUGIN_FLATPAK_ARGS} STREQUAL "PLUGIN_FLATPAK_OPTIONS-NOTFOUND")
if(${PLUGIN_FLATPAK_OPTIONS} STREQUAL "PLUGIN_FLATPAK_OPTIONS-NOTFOUND")
message(STATUS "${CMLOC}PLUGIN_FLATPAK_OPTIONS: Not Found")
set(build_options "")
else()
Expand Down

0 comments on commit b1adaa8

Please sign in to comment.