git: da46c55dc1a4 - main - multimedia/emby-server-devel: enable opencl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jun 2022 19:33:53 UTC
The branch main has been updated by driesm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=da46c55dc1a49f757c1ff1f2ee46f3872a9f4f12
commit da46c55dc1a49f757c1ff1f2ee46f3872a9f4f12
Author: Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2022-06-12 18:59:39 +0000
Commit: Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2022-06-12 18:59:39 +0000
multimedia/emby-server-devel: enable opencl
Enable opencl for the embedded ffmpeg build.
---
multimedia/emby-server-devel/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/multimedia/emby-server-devel/Makefile b/multimedia/emby-server-devel/Makefile
index a10b7a017deb..e5ca782839d8 100644
--- a/multimedia/emby-server-devel/Makefile
+++ b/multimedia/emby-server-devel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= emby-server
DISTVERSION= 4.8.0.0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
https://mediabrowser.github.io/embytools/
@@ -24,7 +25,8 @@ LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
ONLY_FOR_ARCHS= amd64
-BUILD_DEPENDS= nasm:devel/nasm
+BUILD_DEPENDS= nasm:devel/nasm \
+ ${LOCALBASE}/include/CL/opencl.h:devel/opencl
LIB_DEPENDS= libaribb24.so:multimedia/aribb24 \
libass.so:multimedia/libass \
libchromaprint.so:audio/chromaprint \
@@ -36,6 +38,7 @@ LIB_DEPENDS= libaribb24.so:multimedia/aribb24 \
libgnutls.so:security/gnutls \
libmfx.so:multimedia/intel-media-sdk \
libogg.so:audio/libogg \
+ libOpenCL.so:devel/ocl-icd \
libopus.so:audio/opus \
libpng.so:graphics/png \
libraw.so:graphics/libraw \
@@ -87,6 +90,7 @@ CONFIGURE_ARGS= --cc="${CC}" \
--enable-libx264 \
--enable-libx265 \
--enable-libzvbi \
+ --enable-opencl \
--enable-optimizations \
--enable-static \
--enable-vaapi \