Skip to content

Commit

Permalink
Add Jellyseerr v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Oct 28, 2024
1 parent 5f2e2cd commit 30828fe
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cross/jellyseerr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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
$(RUN) pnpm build
install -m 755 -d $(STAGING_INSTALL_PREFIX)/web
cp -R $(WORK_DIR)/$(PKG_DIR)/dist/* $(STAGING_INSTALL_PREFIX)/web/
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."
}
]
}
]

0 comments on commit 30828fe

Please sign in to comment.