diff options
author | Ben Woods <woodsb02@FreeBSD.org> | 2018-10-28 14:57:52 +0000 |
---|---|---|
committer | Ben Woods <woodsb02@FreeBSD.org> | 2018-10-28 14:57:52 +0000 |
commit | 08985453172162aa913ed0a4d7f9d42998ec5850 (patch) | |
tree | 63d5849b880782c6eb2c349be352bfa6d0d28939 /multimedia/emby-server/Makefile | |
parent | 3f8c9bbbb0b41be58573185cd67339b4693ac2a4 (diff) | |
download | ports-08985453172162aa913ed0a4d7f9d42998ec5850.tar.gz ports-08985453172162aa913ed0a4d7f9d42998ec5850.zip |
Notes
Diffstat (limited to 'multimedia/emby-server/Makefile')
-rw-r--r-- | multimedia/emby-server/Makefile | 75 |
1 files changed, 42 insertions, 33 deletions
diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile index 258a08be177b..bddd627213b8 100644 --- a/multimedia/emby-server/Makefile +++ b/multimedia/emby-server/Makefile @@ -2,46 +2,55 @@ # $FreeBSD$ PORTNAME= emby-server -PORTVERSION= 3.5.2.0 +PORTVERSION= 3.5.3.0 CATEGORIES= multimedia - -MAINTAINER= woodsb02@FreeBSD.org -COMMENT= Home media server built using mono and other open source technologies - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/LICENSE.md - -BUILD_DEPENDS= msbuild:devel/msbuild -LIB_DEPENDS= libavformat.so:multimedia/ffmpeg - -CONFLICTS_INSTALL= mediabrowser - -USE_GITHUB= yes -GH_ACCOUNT= MediaBrowser -GH_PROJECT= Emby - -USES= mono pkgconfig sqlite -NO_ARCH= yes +MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ +DISTNAME= emby-server-freebsd_${PORTVERSION}_amd64 + +MAINTAINER= apps@emby.media +COMMENT= Media server to organize, play & stream audio/video to various devices + +LICENSE= UNKNOWN +LICENSE_NAME= custom +LICENSE_FILE= ${WRKSRC}/license.docx +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + +ONLY_FOR_ARCHS= amd64 + +RUN_DEPENDS= mono:lang/mono +LIB_DEPENDS= libass.so:multimedia/libass \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libfribidi.so:converters/fribidi \ + libgnutls.so:security/gnutls \ + libopus.so:audio/opus \ + libsmbclient.so:net/samba48 \ + libsqlite3.so:databases/sqlite3 \ + libtheora.so:multimedia/libtheora \ + libva.so:multimedia/libva \ + libvorbis.so:audio/libvorbis \ + libwebp.so:graphics/webp \ + libx264.so:multimedia/libx264 \ + libzvbi.so:devel/libzvbi + +USES= iconv:wchar_t tar:xz +USE_XORG= x11 xcb + +NO_BUILD= true +WRKSRC= ${WRKDIR}/emby-server-${PORTVERSION} USE_RC_SUBR= ${PORTNAME} -RC_NAME= emby_server -SUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} RC_NAME=${RC_NAME} +SUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} RC_NAME=emby_server USERS= emby GROUPS= emby -OPTIONS_DEFINE= X11 -OPTIONS_DEFAULT= X11 -X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick -X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick-nox11 - -do-build: - (cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/msbuild /t:build /p:Configuration="Release Mono" \ - /p:Platform="Any CPU" MediaBrowser.sln) - do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server - (cd ${WRKSRC}/MediaBrowser.Server.Mono/bin/Release && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server) + (cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib/emby-server/bin) + (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/lib) + (cd ${WRKSRC}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system) + (cd ${STAGEDIR}${PREFIX}/lib/emby-server/system && \ + ln -s ../../libsqlite3.so ./libsqlite3.so && \ + ln -s ../lib/libSkiaSharp.so ./libSkiaSharp.so) .include <bsd.port.mk> |