-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |