Skip to content

Build on Linux

Dmitry Lyzo edited this page Jan 28, 2021 · 21 revisions

This is a guide for Ubuntu. But I believe that Tizen Studio can be installed on other distros if its requirements are met.

Prerequisites

Getting Started

  1. Install prerequisites.
  2. Install Certificate Manager and Samsung Certificate Extension with Tizen Studio Package Manager.
  3. Register on Samsung.
  4. Setup Samsung certificate need Samsung account in Certificate Manager.

You can also setup Tizen certificate to simplify deployment to emulator.

  1. Clone or download Jellyfin Web repository (https://github.com/jellyfin/jellyfin-web).
    git clone https://github.com/jellyfin/jellyfin-web.git
  2. Clone or download Jellyfin Tizen (this) repository.
    git clone https://github.com/jellyfin/jellyfin-tizen.git

Build Jellyfin Web

cd jellyfin-web
yarn install

You should get jellyfin-web/dist/ directory.

If any changes are made to jellyfin-web/, the jellyfin-web/dist/ directory will need to be rebuilt using the command above.

Prepare Interface

cd jellyfin-tizen
JELLYFIN_WEB_DIR=../jellyfin-web/dist yarn install

You should get jellyfin-tizen/www/ directory.

The JELLYFIN_WEB_DIR environment variable can be used to override the location of jellyfin-web.

If any changes are made to jellyfin-web/dist/, the jellyfin-tizen/www/ directory will need to be rebuilt using the command above.

Build WGT

Make sure you select the appropriate Certificate Profile in Tizen Certificate Manager. This determines which devices you can install the widget on.

tizen build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen package -t wgt -o . -- .buildResult

You should get Jellyfin.wgt.

Clone this wiki locally