Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Test of Jellyseerr v2.0.1 #6294

Open
wants to merge 2 commits into
base: test-jellyseerr
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions cross/jellyseerr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
PKG_NAME = jellyseerr
PKG_VERS = 2.0.1
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/Fallenbagel/jellyseerr/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

BUILD_DEPENDS = native/nodejs

HOMEPAGE = https://docs.jellyseerr.dev/
COMMENT = Jellyseerr is a free and open source software application for managing requests for your media library.
LICENSE = MIT

INSTALL_TARGET = jellyseerr_install

include ../../mk/spksrc.install-resources.mk

ENV += NPM_CONFIG_USER=root
PATH := $(WORK_DIR)/../../../native/nodejs/work-native/node/bin:$(PATH)

.PHONY: jellyseerr_install
jellyseerr_install:
$(RUN) npm install -g pnpm
install -m 755 -d $(WORK_DIR)/$(PKG_DIR)/.git
$(RUN) CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile --shamefully-hoist
$(RUN) pnpm build
install -m 755 -d $(STAGING_INSTALL_PREFIX)/web
cp -R $(WORK_DIR)/$(PKG_DIR)/dist/* $(STAGING_INSTALL_PREFIX)/web/
install -m 755 -d $(STAGING_INSTALL_PREFIX)/web/node_modules
cp -RL $(WORK_DIR)/$(PKG_DIR)/node_modules/* $(STAGING_INSTALL_PREFIX)/web/node_modules/
1 change: 1 addition & 0 deletions cross/jellyseerr/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rsc:web/
3 changes: 3 additions & 0 deletions cross/jellyseerr/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jellyseerr-2.0.1.tar.gz SHA1 47b9ea17023cbf59844808ab703fc6c629cdfe6f
jellyseerr-2.0.1.tar.gz SHA256 3ea5ae6ffd68eac767acb9a36adb41f1dc4018232cd6dca0cc31668c1f5c005b
jellyseerr-2.0.1.tar.gz MD5 f934b04e34e9196e7171b0654f0c25e7
35 changes: 35 additions & 0 deletions spk/jellyseerr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
SPK_NAME = jellyseerr
SPK_VERS = 2.0.1
SPK_REV = 1
SPK_ICON = src/jellyseerr.png

DEPENDS = cross/jellyseerr

# x64 and armv8 archs are supported only.
UNSUPPORTED_ARCHS = $(32bit_ARCHS)

MAINTAINER = SynoCommunity
MAINTAINER_URL = https://synocommunity.com/
DESCRIPTION = "Jellyseerr is a free and open source software application for managing requests for your media library."
CHANGELOG = "1. Initial release"
DISPLAY_NAME = Jellyseerr
HOMEPAGE = https://docs.jellyseerr.dev/
LICENSE = MIT
LICENSE_FILE = $(WORK_DIR)/$(SPK_NAME)-$(SPK_VERS)/LICENSE
HELPURL = https://github.com/fallenbagel/jellyseerr/discussions

# Service configuration
STARTABLE = yes
SERVICE_USER = auto
SERVICE_SETUP = src/service-setup.sh
SERVICE_PORT = 5055
SERVICE_PORT_TITLE = Jellyseerr (HTTP)

# Admin link
ADMIN_PORT = $(SERVICE_PORT)

CONF_DIR = src/conf
WIZARDS_DIR = src/wizard/
DSM_UI_DIR = app

include ../../mk/spksrc.spk.mk
15 changes: 15 additions & 0 deletions spk/jellyseerr/src/app/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
".url": {
"com.synocommunity.packages.jellyseerr": {
"title": "Jellyseerr",
"desc": "Jellyseerr Web UI",
"icon": "images/jellyseerr-{0}.png",
"type": "url",
"protocol": "http",
"port": "5055",
"url": "/",
"allUsers": true,
"grantPrivilege": "local"
}
}
}
5 changes: 5 additions & 0 deletions spk/jellyseerr/src/conf/resource
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"port-config": {
"protocol-file": "app/jellyseerr.sc"
}
}
Binary file added spk/jellyseerr/src/jellyseerr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions spk/jellyseerr/src/service-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
10 changes: 10 additions & 0 deletions spk/jellyseerr/src/wizard/install_uifile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"step_title": "DSM Permissions",
"items": [
{
"desc": "Please read <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details."
}
]
}
]