Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ombi: Patch for v4.44.1 (Min DSM 7.2) #6347

Closed
wants to merge 1 commit into from
Closed
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
22 changes: 4 additions & 18 deletions spk/ombi/Makefile
Original file line number Diff line number Diff line change
@@ -1,39 +1,25 @@
SPK_NAME = ombi
SPK_VERS = 4.44.1
SPK_REV = 4
SPK_REV = 5
SPK_ICON = src/ombi.png

REQUIRED_MIN_DSM = 7.2

# Arch exclusions for dotnet 6.0
DOTNET_CORE_ARCHS = 1

DEPENDS = cross/ombi
OPTIONAL_DEPENDS = cross/libstdc++

MAINTAINER = hgy59
DISPLAY_NAME = Ombi
HOMEPAGE = https://ombi.io/
DESCRIPTION = Ombi is a self-hosted web application that automatically gives your shared Plex or Emby users the ability to request content by themselves! Ombi can be linked to multiple TV Show and Movie DVR tools to create a seamless end-to-end experience for your users.
CHANGELOG = "Update Ombi to v4.44.1."
CHANGELOG = "Update Ombi to v4.44.1. (Requires DSM 7.2)"
LICENSE = GPLv2

SERVICE_USER = auto
SERVICE_PORT = 8822
STARTABLE = yes
SERVICE_SETUP = src/service-setup.sh

include ../../mk/spksrc.common.mk

ifeq ($(call version_lt, ${TCVERSION}, 7.0),1)
# we do not only need the updated libstdc++ library, we also need to
# adjust the library search path in ombi executables to use this version.
DEPENDS += cross/libstdc++
POST_STRIP_TARGET = ombi_patch_target
endif

include ../../mk/spksrc.spk.mk

.PHONY: ombi_patch_target
# Set library path to use libstdc++ of dotnet-runtime package.
ombi_patch_target:
@$(MSG) "Set library runpath in ombi executables."
@patchelf --set-rpath /var/packages/$(SPK_NAME)/target/lib $(STAGING_DIR)/shared/Ombi
Loading