Skip to content

Commit

Permalink
Patch for DSM 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Dec 8, 2024
1 parent a9141db commit 8f7b4e6
Showing 1 changed file with 4 additions and 18 deletions.
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

0 comments on commit 8f7b4e6

Please sign in to comment.