View | Details | Raw Unified | Return to bug 247873
Collapse All | Expand All

(-)Makefile (-6 / +10 lines)
Lines 8-16 Link Here
8
CATEGORIES=	multimedia audio net
8
CATEGORIES=	multimedia audio net
9
MASTER_SITES=	https://ffmpeg.org/releases/
9
MASTER_SITES=	https://ffmpeg.org/releases/
10
10
11
PATCH_SITES=		${SVTHEVC_PATCH_SITES_} ${SVTAV1_PATCH_SITES_} ${SVTVP9_PATCH_SITES_}
12
PATCHFILES=		${SVTHEVC_PATCHFILES_}  ${SVTAV1_PATCHFILES_}  ${SVTVP9_PATCHFILES_}
13
14
MAINTAINER=	multimedia@FreeBSD.org
11
MAINTAINER=	multimedia@FreeBSD.org
15
COMMENT=	Realtime audio/video encoder/converter and streaming server
12
COMMENT=	Realtime audio/video encoder/converter and streaming server
16
13
Lines 456-462 Link Here
456
453
457
# svt-av1
454
# svt-av1
458
SVTAV1_LIB_DEPENDS=	libSvtAv1Enc.so:multimedia/svt-av1
455
SVTAV1_LIB_DEPENDS=	libSvtAv1Enc.so:multimedia/svt-av1
459
SVTAV1_CONFIGURE_ENABLE=	libsvtav1
456
SVTAV1_CONFIGURE_ON=	--enable-libsvtav1
460
SVTAV1_PATCH_SITES_=	https://github.com/OpenVisualCloud/SVT-AV1/raw/v0.8.4/ffmpeg_plugin/:svtav1
457
SVTAV1_PATCH_SITES_=	https://github.com/OpenVisualCloud/SVT-AV1/raw/v0.8.4/ffmpeg_plugin/:svtav1
461
SVTAV1_PATCHFILES_=	0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch:-p1:svtav1
458
SVTAV1_PATCHFILES_=	0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch:-p1:svtav1
462
.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
459
.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
Lines 466-472 Link Here
466
463
467
# svt-hevc
464
# svt-hevc
468
SVTHEVC_LIB_DEPENDS=	libSvtHevcEnc.so:multimedia/svt-hevc
465
SVTHEVC_LIB_DEPENDS=	libSvtHevcEnc.so:multimedia/svt-hevc
469
SVTHEVC_CONFIGURE_ENABLE=	libsvthevc
466
SVTHEVC_CONFIGURE_ON=	--enable-libsvthevc
470
SVTHEVC_PATCH_SITES_=	https://github.com/Intel/SVT-HEVC/raw/v1.4.3/ffmpeg_plugin/:svthevc
467
SVTHEVC_PATCH_SITES_=	https://github.com/Intel/SVT-HEVC/raw/v1.4.3/ffmpeg_plugin/:svthevc
471
SVTHEVC_PATCHFILES_=	0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \
468
SVTHEVC_PATCHFILES_=	0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \
472
			0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc
469
			0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc
Lines 476-482 Link Here
476
473
477
# svt-vp9
474
# svt-vp9
478
SVTVP9_LIB_DEPENDS=	libSvtVp9Enc.so:multimedia/svt-vp9
475
SVTVP9_LIB_DEPENDS=	libSvtVp9Enc.so:multimedia/svt-vp9
479
SVTVP9_CONFIGURE_ENABLE=	libsvtvp9
476
SVTVP9_CONFIGURE_ON=	--enable-libsvtvp9
480
SVTVP9_PATCH_SITES_=	https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.2.0-5-g1b4277c/ffmpeg_plugin/:svtvp9
477
SVTVP9_PATCH_SITES_=	https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.2.0-5-g1b4277c/ffmpeg_plugin/:svtvp9
481
SVTVP9_PATCHFILES_=	master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-hevc-av1.patch:-p1:svtvp9
478
SVTVP9_PATCHFILES_=	master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-hevc-av1.patch:-p1:svtvp9
482
.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
479
.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
Lines 622-627 Link Here
622
# under doc subdirectory
619
# under doc subdirectory
623
DOC_DOCFILES=	APIchanges *.txt
620
DOC_DOCFILES=	APIchanges *.txt
624
PORTDOCS=	*
621
PORTDOCS=	*
622
623
.include <bsd.port.options.mk>
624
625
.if ${PORT_OPTIONS:MSVTAV1} || ${PORT_OPTIONS:MSVTHEVC} || ${PORT_OPTIONS:MSVTVP9}
626
PATCH_SITES=		${SVTHEVC_PATCH_SITES_} ${SVTAV1_PATCH_SITES_} ${SVTVP9_PATCH_SITES_}
627
PATCHFILES=		${SVTHEVC_PATCHFILES_}  ${SVTAV1_PATCHFILES_}  ${SVTVP9_PATCHFILES_}
628
.endif
625
629
626
post-patch:
630
post-patch:
627
# {C,LD}FLAGS safeness
631
# {C,LD}FLAGS safeness

Return to bug 247873