aboutsummaryrefslogblamecommitdiff
path: root/multimedia/uvg266/Makefile
blob: 786c4ec53a2927d719e85b94f6cdc39ca30117d8 (plain) (tree)
1
2
3
4
5
6
7
8

                         
                     

                          


                                                                      

























                                                               
PORTNAME=	uvg266
DISTVERSIONPREFIX=	v
DISTVERSION=	0.8.0
CATEGORIES=	multimedia

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+=	e5e32d67f43b.patch:-p1

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	VVC encoder based on Kvazaar
WWW=		https://ultravideo.fi/#encoder_x

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

TEST_DEPENDS=	ffmpeg:multimedia/ffmpeg \
		vvdecapp:multimedia/vvdec

USES=		cmake:testing compiler:c11 python:test
USE_GITHUB=	yes
GH_ACCOUNT=	ultravideo
GH_TUPLE=	silentbicycle:greatest:v1.0.0:greatest/greatest
CMAKE_OFF+=	${CMAKE_TESTING_ON}
CMAKE_TESTING_ON=	BUILD_TESTS
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's/DecoderAppStatic/vvdecapp/' \
		-e 's,\.\./bin,${BUILD_WRKSRC},' \
		${WRKSRC}/tests/util.sh
	@${REINPLACE_CMD} -e 's/python3/${PYTHON_CMD:T}/' \
		${WRKSRC}/tests/test_cabac_state.sh

.include <bsd.port.mk>