Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.8 KB

README.Samsung.md

File metadata and controls

50 lines (36 loc) · 1.8 KB

Moonlight port for Tizen Smart TVs

This is a fork of the moonlight Chrome project adapted to run on Samsung Tizen TVs. Changes made:

  • WebAssembly is used instead of Native Client
  • Main adaptation layer is in a wasm/ directory instead of the root project directory

Used Tizen specific features

Checking out required submodules

Since some of the dependencies used are provided as git submodules, after cloning this repository (if you did not provide the --recurse-submodules option while cloning) you need to issue the below command:

git submodule update --init --recursive

Building

Required software

  • Samsung Emscripten fork
  • cmake (at least 3.10 - tested using CMake 3.10 and CMake 3.18)
  • ninja (at least 1.8.2- recommended for Windows)

Build procedure

mkdir build
cd build/
cmake -DCMAKE_TOOLCHAIN_FILE=<YOUR EMSCRIPTEN INSTALLATION_DIR>/cmake/Modules/Platform/Emscripten.cmake -G Ninja ..
ninja

# CMake 3.10 (and above):
cmake -DCMAKE_INSTALL_PREFIX=. -P cmake_install.cmake

# CMake 3.15 (and above):
cmake --install . --prefix .

Note: On Linux and MacOS you can also use Makefile cmake generators.

After that you can pack widget as described in Sample cURL application built using CLI tools tutorial.