Vladimir Druzenko bdd895f12c multimedia/libde265: Update 1.0.12 => 1.0.16, improve port
Changelogs:
https://github.com/strukturag/libde265/releases/tag/v1.0.13
https://github.com/strukturag/libde265/releases/tag/v1.0.14
https://github.com/strukturag/libde265/releases/tag/v1.0.15
https://github.com/strukturag/libde265/releases/tag/v1.0.16

Improve port:
- Move SDL to option - default on.
- Upstream migrate to SDL2.
- Replace manual STRIP_CMD with INSTALL_TARGET=install-strip.
- Fix warnings from portclippy.
- Optimize armv6/7 handle.
- Regenerate patches.
- Remove upstreamed patches.

Security:	CVE-2023-49465
Security:	CVE-2023-49467
Security:	CVE-2023-49468
MFH:		2025Q4
2025-10-13 18:45:50 +03:00

45 lines
1.0 KiB
Makefile

PORTNAME= libde265
DISTVERSION= 1.0.16
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= autoreconf compiler:c++11-lib cpe libtool pathfix pkgconfig
CPE_VENDOR= struktur
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --disable-sherlock265
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= SDL
OPTIONS_DEFAULT= SDL
SDL_USES= sdl
SDL_USE= SDL=sdl2
SDL_CONFIGURE_ENABLE= sdl2
_BIN= bjoentegaard block-rate-estim dec265 gen-enc-table rd-curves tests \
yuv-distortion
.include <bsd.port.pre.mk>
.if ${ARCH:Marmv?}
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as"
LLD_UNSAFE= yes
.endif
post-install:
.for F in ${_BIN}
${MV} ${STAGEDIR}${PREFIX}/bin/${F} \
${STAGEDIR}${PREFIX}/bin/libde265-${F}
.endfor
.include <bsd.port.post.mk>