freebsd-ports/multimedia/emby-server/Makefile
Jan Beich c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00

51 lines
1.4 KiB
Makefile

# Created by: Ben Woods <woodsb02@FreeBSD.org>
# $FreeBSD$
PORTNAME= emby-server
PORTVERSION= 3.3.1.0
PORTREVISION= 1
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= referenceassemblies-pcl>=0:lang/referenceassemblies-pcl
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
USE_RC_SUBR= ${PORTNAME}
RC_NAME= emby_server
SUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} RC_NAME=${RC_NAME}
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/xbuild /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 && \
${ECHO_MSG} "Deleting the following non-FreeBSD library files:" && \
${FIND} -E . -iregex '(.*\.dylib)' -print -delete && \
${FIND} . -type d -empty -print -delete && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server)
.include <bsd.port.mk>