2015-07-22 18:32:05 +02:00
|
|
|
PORTNAME= libde265
|
2023-02-21 21:58:55 +01:00
|
|
|
DISTVERSION= 1.0.11
|
2017-02-26 13:56:41 +01:00
|
|
|
CATEGORIES= multimedia
|
2022-02-26 12:40:50 +01:00
|
|
|
MASTER_SITES= https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
|
2023-02-21 21:58:55 +01:00
|
|
|
PATCH_SITES= https://github.com/strukturag/${PORTNAME}/commit/
|
|
|
|
PATCHFILES= 97dd15303085eae2695a511717bf3239e209df96.patch:-p1 \
|
|
|
|
36391cda3d4e4fb3269a2ce310e6e0f634729f0b.patch:-p1 \
|
|
|
|
51f07f132f29832e025a8b913b61cbd20257c5fc.patch:-p1
|
|
|
|
|
2015-07-22 18:32:05 +02:00
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
|
|
|
COMMENT= Open source h.265 video codec
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.libde265.org
|
2015-07-22 18:32:05 +02:00
|
|
|
|
2022-02-26 12:40:50 +01:00
|
|
|
LICENSE= LGPL3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2015-07-22 18:32:05 +02:00
|
|
|
|
2022-03-18 14:16:32 +01:00
|
|
|
USES= autoreconf compiler:c++11-lib cpe libtool pathfix pkgconfig
|
2015-07-22 18:32:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2022-02-26 12:40:50 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2022-03-18 14:16:32 +01:00
|
|
|
CPE_VENDOR= struktur
|
|
|
|
|
2022-02-26 12:40:50 +01:00
|
|
|
CONFIGURE_ARGS= --disable-static --disable-sherlock265
|
2015-07-22 18:32:05 +02:00
|
|
|
|
2020-08-31 02:33:13 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2017-02-26 13:56:41 +01:00
|
|
|
|
2020-08-31 02:33:13 +02:00
|
|
|
.if ${ARCH} == "armv6" || ${ARCH} == "armv7"
|
2021-10-16 11:51:03 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
|
|
|
|
CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as"
|
|
|
|
LLD_UNSAFE= yes
|
2020-08-31 02:33:13 +02:00
|
|
|
.endif
|
|
|
|
|
2022-02-26 12:40:50 +01:00
|
|
|
post-install:
|
2023-02-21 21:58:55 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libde265.so.0.1.4
|
2022-02-26 12:40:50 +01:00
|
|
|
${MV} ${STAGEDIR}${PREFIX}/bin/dec265 \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/libde265-dec265
|
|
|
|
|
2020-08-31 02:33:13 +02:00
|
|
|
.include <bsd.port.post.mk>
|