Lines 4-18
Link Here
|
4 |
PORTNAME= emby-server |
4 |
PORTNAME= emby-server |
5 |
PORTVERSION= 3.5.3.0 |
5 |
PORTVERSION= 3.5.3.0 |
6 |
CATEGORIES= multimedia |
6 |
CATEGORIES= multimedia |
7 |
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ |
7 |
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \ |
8 |
DISTNAME= emby-server-freebsd_${PORTVERSION}_amd64 |
8 |
https://mediabrowser.github.io/embytools/ |
|
|
9 |
DISTNAME= ${PORTNAME}-freebsd_${PORTVERSION}_amd64 |
10 |
DISTFILES= ${PORTNAME}-freebsd_${PORTVERSION}_amd64.tar.xz \ |
11 |
ffmpeg-2018_12_01.tar.gz |
9 |
|
12 |
|
10 |
MAINTAINER= apps@emby.media |
13 |
MAINTAINER= alucryd@archlinux.org |
11 |
COMMENT= Media server to organize, play & stream audio/video to various devices |
14 |
COMMENT= Media server to organize, play & stream audio/video to various devices |
12 |
|
15 |
|
13 |
LICENSE= UNKNOWN |
16 |
LICENSE= UNKNOWN |
14 |
LICENSE_NAME= custom |
17 |
LICENSE_NAME= custom |
15 |
LICENSE_FILE= ${WRKSRC}/license.docx |
18 |
LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/license.docx |
16 |
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept |
19 |
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept |
17 |
|
20 |
|
18 |
ONLY_FOR_ARCHS= amd64 |
21 |
ONLY_FOR_ARCHS= amd64 |
Lines 23-28
Link Here
|
23 |
libfreetype.so:print/freetype2 \ |
26 |
libfreetype.so:print/freetype2 \ |
24 |
libfribidi.so:converters/fribidi \ |
27 |
libfribidi.so:converters/fribidi \ |
25 |
libgnutls.so:security/gnutls \ |
28 |
libgnutls.so:security/gnutls \ |
|
|
29 |
libiconv.so:converters/libiconv \ |
30 |
libmp3lame.so:audio/lame \ |
26 |
libopus.so:audio/opus \ |
31 |
libopus.so:audio/opus \ |
27 |
libsmbclient.so:net/samba48 \ |
32 |
libsmbclient.so:net/samba48 \ |
28 |
libsqlite3.so:databases/sqlite3 \ |
33 |
libsqlite3.so:databases/sqlite3 \ |
Lines 32-43
Link Here
|
32 |
libwebp.so:graphics/webp \ |
37 |
libwebp.so:graphics/webp \ |
33 |
libx264.so:multimedia/libx264 \ |
38 |
libx264.so:multimedia/libx264 \ |
34 |
libzvbi.so:devel/libzvbi |
39 |
libzvbi.so:devel/libzvbi |
|
|
40 |
BUILD_DEPENDS= nasm:devel/nasm |
35 |
|
41 |
|
36 |
USES= iconv:wchar_t tar:xz |
42 |
USES= gmake pkgconfig tar:xz |
37 |
USE_XORG= x11 xcb |
|
|
38 |
|
43 |
|
39 |
NO_BUILD= true |
44 |
NOPRECIOUSMAKEVARS= yes |
40 |
WRKSRC= ${WRKDIR}/emby-server-${PORTVERSION} |
|
|
41 |
|
45 |
|
42 |
USE_RC_SUBR= ${PORTNAME} |
46 |
USE_RC_SUBR= ${PORTNAME} |
43 |
SUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} RC_NAME=emby_server |
47 |
SUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} RC_NAME=emby_server |
Lines 44-54
Link Here
|
44 |
USERS= emby |
48 |
USERS= emby |
45 |
GROUPS= emby |
49 |
GROUPS= emby |
46 |
|
50 |
|
|
|
51 |
do-build: |
52 |
(cd ${WRKDIR}/ffmpeg-2018_12_01 && \ |
53 |
./configure \ |
54 |
--disable-bzlib \ |
55 |
--disable-doc \ |
56 |
--disable-ffplay \ |
57 |
--disable-shared \ |
58 |
--disable-vdpau \ |
59 |
--disable-libxcb \ |
60 |
--disable-libxcb-shm \ |
61 |
--disable-libxcb-xfixes \ |
62 |
--disable-libxcb-shape \ |
63 |
--disable-lzma \ |
64 |
--disable-sdl2 \ |
65 |
--disable-xlib \ |
66 |
--enable-fontconfig \ |
67 |
--enable-gmp \ |
68 |
--enable-gnutls \ |
69 |
--enable-gpl \ |
70 |
--enable-libass \ |
71 |
--enable-libdrm \ |
72 |
--enable-libfreetype \ |
73 |
--enable-libfribidi \ |
74 |
--enable-libmp3lame \ |
75 |
--enable-libopus \ |
76 |
--enable-libsmbclient \ |
77 |
--enable-libtheora \ |
78 |
--enable-libvorbis \ |
79 |
--enable-libwebp \ |
80 |
--enable-libx264 \ |
81 |
--enable-libzvbi \ |
82 |
--enable-static \ |
83 |
--enable-vaapi \ |
84 |
--enable-version3 && \ |
85 |
gmake) |
86 |
|
47 |
do-install: |
87 |
do-install: |
48 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server |
88 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server |
49 |
(cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib/emby-server/bin) |
89 |
(cd ${WRKDIR}/ffmpeg-2018_12_01 && \ |
50 |
(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/lib) |
90 |
${COPYTREE_BIN} ffmpeg ${STAGEDIR}${PREFIX}/lib/emby-server/bin && \ |
51 |
(cd ${WRKSRC}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system) |
91 |
${COPYTREE_BIN} ffprobe ${STAGEDIR}${PREFIX}/lib/emby-server/bin) |
|
|
92 |
(cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/lib) |
93 |
(cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system) |
52 |
(cd ${STAGEDIR}${PREFIX}/lib/emby-server/system && \ |
94 |
(cd ${STAGEDIR}${PREFIX}/lib/emby-server/system && \ |
53 |
ln -s ../../libsqlite3.so ./libsqlite3.so && \ |
95 |
ln -s ../../libsqlite3.so ./libsqlite3.so && \ |
54 |
ln -s ../lib/libSkiaSharp.so ./libSkiaSharp.so) |
96 |
ln -s ../lib/libSkiaSharp.so ./libSkiaSharp.so) |