-
-
Notifications
You must be signed in to change notification settings - Fork 72
Build on Linux
This is a guide for Ubuntu. But I believe that Tizen Studio can be installed on other distros if its requirements are met.
- Tizen Studio 4.6+ with IDE or Tizen Studio 4.6+ with CLI (https://developer.tizen.org/development/tizen-studio/download)
- Git
- Node.js 16+
- Install prerequisites.
- Install Certificate Manager using Tizen Studio Package Manager.
- Setup Tizen certificate in Certificate Manager.
- Clone or download Jellyfin Web repository (https://github.com/jellyfin/jellyfin-web).
git clone https://github.com/jellyfin/jellyfin-web.git
- Clone or download Jellyfin Tizen (this) repository.
git clone https://github.com/jellyfin/jellyfin-tizen.git
cd jellyfin-web
SKIP_PREPARE=1 npm ci --no-audit
npm run build:production
You should get
jellyfin-web/dist/
directory.
SKIP_PREPARE=1
can be omitted for 10.9+.
Use
npm run build:development
if you want to debug the app.
If any changes are made to jellyfin-web/
, the jellyfin-web/dist/
directory will need to be rebuilt using the command above.
cd jellyfin-tizen
JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit
You should get
jellyfin-tizen/www/
directory.
The
JELLYFIN_WEB_DIR
environment variable can be used to override the location ofjellyfin-web
.
If any changes are made to jellyfin-web/dist/
, the jellyfin-tizen/www/
directory will need to be rebuilt using the command above.
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
.