freebsd-ports/multimedia/emby-server/Makefile
Fernando Apesteguía 57ce148a83 multimedia/emby-server: Update to 4.4.3.0
From ChangeLog:
https://github.com/MediaBrowser/Emby.Releases/releases/tag/4.4.3.0

 * Improve performance of live tv guide
 * Fix movie extras with multi-version videos
 * Fix adding playlist to playlist
 * Improve cleanup of missing episodes
 * Fix rotation of dynamic images
 * Fix manual metadata edits of extras getting lost
 * Fix active sessions filter
 * Work around a bug in MSDK where VPP processing hangs under certain conditions
 * Fix qsv color conversion: Older devices 3,4 and 5th gen CPUs do not support
   10bit and the color conversion cannot be done in hardware
 * Ignore unsupported subtitle formats when searching for downloads
 * Convert downloaded txt subtitles to srt
 * Don't extract thumbnails for extras
 * Improve display language of manual image downloading
 * Deactivate GraphRunner debug messages

PR:	246868
Submitted by:	driesm.michiels@gmail.com (maintainer)
2020-06-25 06:03:15 +00:00

128 lines
3.6 KiB
Makefile

# $FreeBSD$
PORTNAME= emby-server
PORTVERSION= 4.4.3.0
CATEGORIES= multimedia
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
https://mediabrowser.github.io/embytools/
DISTNAME= embyserver-netframework_${PORTVERSION}
DISTFILES= ${DISTNAME}.zip \
ffdetect-${FFVERSION}-x64_freebsd12.tar.xz \
ffmpeg-${FFVERSION}.tar.gz \
license.docx
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}.zip \
ffdetect-${FFVERSION}-x64_freebsd12.tar.xz \
ffmpeg-${FFVERSION}.tar.gz
MAINTAINER= driesm.michiels@gmail.com
COMMENT= Media server to organize, play & stream audio/video to various devices
LICENSE= UNKNOWN
LICENSE_NAME= custom
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/license.docx
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= nasm:devel/nasm
LIB_DEPENDS= libass.so:multimedia/libass \
libdrm.so:graphics/libdrm \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libfribidi.so:converters/fribidi \
libgnutls.so:security/gnutls \
libmfx.so:multimedia/intel-media-sdk \
libogg.so:audio/libogg \
libopus.so:audio/opus \
libpng.so:graphics/png \
libraw.so:graphics/libraw \
libtheora.so:multimedia/libtheora \
libva.so:multimedia/libva \
libvorbis.so:audio/libvorbis \
libvpx.so:multimedia/libvpx \
libwebp.so:graphics/webp \
libx264.so:multimedia/libx264 \
libx265.so:multimedia/x265 \
libzvbi.so:devel/libzvbi
USES= compiler:c11 gmake iconv localbase:ldflags mono pkgconfig sqlite
USE_RC_SUBR= ${PORTNAME}
FFVERSION= 2020_02_24
SUB_FILES= ImageMagickSharp.dll.config \
SQLitePCLRaw.provider.sqlite3.dll.config
SUB_LIST= GROUP=${GROUPS} \
PORTNAME=${PORTNAME} \
RC_NAME=emby_server \
USER=${USERS}
USERS= emby
GROUPS= emby
WRKSRC= ${WRKDIR}/ffmpeg-${FFVERSION}_public
MAKE_ENV= V=1
NOPRECIOUSMAKEVARS= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --cc="${CC}" \
--disable-alsa \
--disable-doc \
--disable-ffplay \
--disable-libxcb \
--disable-outdev=xv \
--disable-sdl2 \
--disable-shared \
--disable-sndio \
--disable-v4l2-m2m \
--disable-vdpau \
--disable-xlib \
--enable-fontconfig \
--enable-gnutls \
--enable-gpl \
--enable-iconv \
--enable-libass \
--enable-libdrm \
--enable-libfreetype \
--enable-libfribidi \
--enable-libmfx \
--enable-libopus \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libwebp \
--enable-libx264 \
--enable-libx265 \
--enable-libzvbi \
--enable-optimizations \
--enable-static \
--enable-vaapi \
--enable-version3
OPTIONS_DEFINE= LAME SMB X11
OPTIONS_DEFAULT= SMB X11
LAME_CONFIGURE_ENABLE= libmp3lame
LAME_LIB_DEPENDS= libmp3lame.so:audio/lame
SMB_CONFIGURE_ENABLE= libsmbclient
SMB_USES= samba:lib
X11_USES= xorg
X11_USE= xorg=x11
X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6
X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick6-nox11
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/system
(${INSTALL_DATA} ${WRKDIR}/ImageMagickSharp.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system)
(${INSTALL_DATA} ${WRKDIR}/SQLitePCLRaw.provider.sqlite3.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system)
(cd ${WRKDIR}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system)
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/bin
(${INSTALL_PROGRAM} ${WRKDIR}/bin/ffdetect ${STAGEDIR}${PREFIX}/lib/emby-server/bin)
(${INSTALL_PROGRAM} ${WRKSRC}/ffmpeg ${STAGEDIR}${PREFIX}/lib/emby-server/bin)
(${INSTALL_PROGRAM} ${WRKSRC}/ffprobe ${STAGEDIR}${PREFIX}/lib/emby-server/bin)
.include <bsd.port.mk>