aboutsummaryrefslogblamecommitdiff
path: root/multimedia/svt-av1/Makefile
blob: bccd2f65233e665429788066b2174b7f234aa9cd (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                         
                     



                                    
                                  
 
                                         
                     

                                                         
                                                                           
 

                                        
 
                                  
                   
                   

                            
                                                        

                           
 

                   
                                                                                                                                   
                                                


                                                                 
 
                      
PORTNAME=	svt-av1
DISTVERSIONPREFIX=	v
DISTVERSION=	1.4.1
CATEGORIES=	multimedia

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Scalable AV1 encoder
WWW=		https://01.org/svt

LICENSE=	BSD2CLAUSE BSD3CLAUSE MIT
LICENSE_COMB=	multi
LICENSE_FILE_BSD2CLAUSE=	${WRKSRC}/LICENSE-BSD2.md
LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE.md
LICENSE_FILE_MIT=		${WRKSRC}/third_party/safestringlib/LICENSE

BUILD_DEPENDS=	${BUILD_DEPENDS_${ARCH}}
BUILD_DEPENDS_amd64=	nasm:devel/nasm

USES=		cmake compiler:c11
USE_GITLAB=	yes
USE_LDCONFIG=	yes
GL_ACCOUNT=	AOMediaCodec
GL_PROJECT=	SVT-AV1
GL_COMMIT=	018276d714ce65d9b586f6205ee016cbd8d5425d
CMAKE_ON=	ENABLE_NASM
CMAKE_OFF=	NATIVE

OPTIONS_DEFINE=	LTO
OPTIONS_DEFAULT=LTO
OPTIONS_EXCLUDE_powerpc64=	${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # https://github.com/llvm/llvm-project/issues/46697
OPTIONS_EXCLUDE_riscv64=	LTO # bug 262871

LTO_CMAKE_BOOL=		CMAKE_INTERPROCEDURAL_OPTIMIZATION
LTO_CMAKE_ON=		-DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW

.include <bsd.port.mk>