mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
40 lines
919 B
Makefile
40 lines
919 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= aom
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= AV1 reference encoder/decoder
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}}
|
|
BUILD_DEPENDS_amd64= nasm:devel/nasm
|
|
BUILD_DEPENDS_i386= nasm:devel/nasm
|
|
|
|
USES= cmake compiler:c++11-lib perl5
|
|
USE_GITHUB= yes
|
|
USE_PERL5= build
|
|
USE_LDCONFIG= yes
|
|
GH_ACCOUNT= jbeich # mirror
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
CMAKE_OFF= ENABLE_DOCS ENABLE_TESTS
|
|
|
|
OPTIONS_DEFINE= VMAF
|
|
|
|
VMAF_DESC= Encoding tuning for VMAF
|
|
VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf
|
|
VMAF_USES= localbase:ldflags
|
|
VMAF_CMAKE_ON= -DCONFIG_TUNE_VMAF:STRING=1
|
|
|
|
post-patch:
|
|
# Extract (snapshot) version from the port instead of CHANGELOG
|
|
@${REINPLACE_CMD} 's,$${AOM_ROOT}/CHANGELOG,${DISTVERSIONFULL:S/^v//},' \
|
|
${WRKSRC}/build/cmake/version.cmake
|
|
|
|
.include <bsd.port.mk>
|