Skip to content

Commit

Permalink
multimedia/emby-server-(devel): use lang/dotnet
Browse files Browse the repository at this point in the history
Given that dotnet is now in ports, we can use it to start emby.
  • Loading branch information
driesmp committed Mar 3, 2024
1 parent 1d09681 commit 80dbb45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion multimedia/emby-server-devel/Makefile
@@ -1,5 +1,5 @@
DISTVERSION= 4.9.0.8
PORTREVISION= 0
PORTREVISION= 1
PKGNAMESUFFIX= -devel

DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}
Expand Down
7 changes: 4 additions & 3 deletions multimedia/emby-server/Makefile
@@ -1,6 +1,6 @@
PORTNAME= emby-server
DISTVERSION?= 4.8.3.0
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES= multimedia
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \
https://mediabrowser.github.io/embytools/
Expand Down Expand Up @@ -52,17 +52,18 @@ LIB_DEPENDS= libaribb24.so:multimedia/aribb24 \
libx265.so:multimedia/x265 \
libzvbi.so:devel/libzvbi

RUN_DEPENDS= icu>0:devel/icu \
RUN_DEPENDS= dotnet>0:lang/dotnet \
icu>0:devel/icu \
krb5>0:security/krb5 \
libexif>0:graphics/libexif \
libheif>0:graphics/libheif \
libimagequant>0:graphics/libimagequant \
libinotify>0:devel/libinotify \
libjxl>0:graphics/libjxl \
libunwind>0:devel/libunwind \
openexr>0:graphics/openexr \
openjpeg>0:graphics/openjpeg \
orc>0:devel/orc \
openexr>0:graphics/openexr \
pango>0:x11-toolkits/pango \
tiff>0:graphics/tiff

Expand Down
2 changes: 1 addition & 1 deletion multimedia/emby-server/files/emby-server.in
Expand Up @@ -48,7 +48,7 @@ load_rc_config ${name}

pidfile="${%%RC_NAME%%_pid_dir}/${%%RC_NAME%%_pid}"
command="/usr/sbin/daemon"
command_args="-r -f -P ${pidfile} %%PREFIX%%/lib/emby-server/system/EmbyServer \
command_args="-r -f -P ${pidfile} %%LOCALBASE%%/bin/dotnet %%PREFIX%%/lib/emby-server/system/EmbyServer.dll \
-os freebsd \
-ffdetect ${%%RC_NAME%%_ffdetect} \
-ffmpeg ${%%RC_NAME%%_ffmpeg} \
Expand Down

0 comments on commit 80dbb45

Please sign in to comment.