rgleason / weather_routing_pi

Weather Routing plugin for OpenCPN
GNU General Public License v3.0
11 stars 14 forks source link

Add support for 'make tarball' #175

Closed sebastien-rosset closed 5 days ago

sebastien-rosset commented 5 days ago

I followed the instructions to add support for the new tarball package as described here: https://github.com/rgleason/LogbookKonni_pi/blob/master/UPDATE_TEMPLATES.md

WIP.

  1. git clone https://github.com/Rasbats/shipdriver_pi.git
  2. cp -r shipdriver_pi/build-deps/ weather_routing_pi/
  3. cp -r shipdriver_pi/flatpak/ weather_routing_pi/
  4. cp shipdriver_pi/update_template weather_routing_pi/
  5. cp shipdriver_pi/Plugin.cmake weather_routing_pi/
    1. copy SET(SRCS) and SET(HDRS) from CMakeLists.txt to Plugin.cmake
    2. Change SET(SRCS to SET(SRC
    3. Edit PKG_NAME, PKG_VERSION, etc.
    4. Add include_directories directive
    5. Add dependent libraries such as libtess2
  6. cd weather_routing_pi ; ./update_template sd3.2.4