94cf33b625
Changelogs: https://github.com/strukturag/libde265/releases/tag/v1.1.0 https://github.com/strukturag/libde265/releases/tag/v1.1.1 - Replace CMAKE_ARGS with CMAKE_ON and CMAKE_OFF. PR: 296194 Security: CVE-2026-49295 Security: CVE-2026-49337 Security: CVE-2026-49346 Security: CVE-2026-54240 Security: CVE-2026-54241 Security: GHSA-x27c-jp65-g395 Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> MFH: 2026Q2
40 lines
915 B
Makefile
40 lines
915 B
Makefile
PORTNAME= libde265
|
|
DISTVERSION= 1.1.1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Open source h.265 video codec
|
|
WWW= https://www.libde265.org
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cmake compiler:c++11-lib cpe pkgconfig
|
|
CPE_VENDOR= struktur
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
CMAKE_OFF= ENABLE_ENCODER \
|
|
ENABLE_INTERNAL_DEVELOPMENT_TOOLS
|
|
|
|
OPTIONS_DEFINE= SDL
|
|
OPTIONS_DEFAULT= SDL
|
|
SDL_USES= sdl
|
|
SDL_USE= SDL=sdl2
|
|
SDL_CMAKE_BOOL= ENABLE_SDL
|
|
|
|
post-install:
|
|
${MV} ${STAGEDIR}${PREFIX}/bin/dec265 \
|
|
${STAGEDIR}${PREFIX}/bin/libde265-dec265
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH:Marmv?}
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
|
|
CMAKE_ARGS+= -DCMAKE_ASM_FLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as"
|
|
LLD_UNSAFE= yes
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|