save
This commit is contained in:
parent
764967c8e0
commit
93f402b012
9 changed files with 299 additions and 4 deletions
45
recipes/vnc-viewer.yml
Normal file
45
recipes/vnc-viewer.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# # 1) Build & install FLTK 1.4 to /opt/fltk-1.4
|
||||
# git clone https://github.com/fltk/fltk.git
|
||||
# cd fltk
|
||||
# git checkout branch-1.4
|
||||
# cmake -S . -B build \
|
||||
# -DOPTION_BUILD_SHARED_LIBS=ON \
|
||||
# -DOPTION_USE_SYSTEM_LIBPNG=ON \
|
||||
# -DOPTION_USE_SYSTEM_LIBJPEG=ON \
|
||||
# -DOPTION_USE_SYSTEM_ZLIB=ON \
|
||||
# -DCMAKE_INSTALL_PREFIX=/opt/fltk-1.4
|
||||
# cmake --build build -j
|
||||
# sudo cmake --install build
|
||||
|
||||
# # 2) Point pkg-config and CMake at the new install
|
||||
# export PKG_CONFIG_PATH=/opt/fltk-1.4/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
# export CMAKE_PREFIX_PATH=/opt/fltk-1.4:$CMAKE_PREFIX_PATH
|
||||
# # (optional but sometimes necessary)
|
||||
# export FLTK_DIR=/opt/fltk-1.4/lib/cmake/FLTK
|
||||
|
||||
|
||||
packages:
|
||||
- cmake
|
||||
- ninja
|
||||
- pkg-config
|
||||
- fltk
|
||||
- jpeg-turbo
|
||||
- libpng
|
||||
- zlib
|
||||
- gnutls
|
||||
- ffmpeg
|
||||
|
||||
# --recursive
|
||||
repository:
|
||||
url: https://github.com/TigerVNC/tigervnc.git
|
||||
url: v1.15.0
|
||||
|
||||
steps:
|
||||
- mkdir build && cd build
|
||||
- |
|
||||
cmake -G Ninja .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_VIEWER=ON \
|
||||
-DBUILD_SERVER=OFF \
|
||||
-DWITH_GNUTLS=ON
|
||||
- ninja
|
||||
Loading…
Add table
Add a link
Reference in a new issue