head	1.7;
access;
symbols
	pkgsrc-2026Q1:1.6.0.10
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.6.0.8
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.6
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.4
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.2
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.5.0.2
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.4.0.6
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.4
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.2
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.3.0.6
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.3.0.4
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.3.0.2
	pkgsrc-2023Q2-base:1.3
	pkgsrc-2023Q1:1.2.0.6
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.4
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.2
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.1.0.6
	pkgsrc-2022Q2-base:1.1
	pkgsrc-2022Q1:1.1.0.4
	pkgsrc-2022Q1-base:1.1
	pkgsrc-2021Q4:1.1.0.2
	pkgsrc-2021Q4-base:1.1;
locks; strict;
comment	@# @;


1.7
date	2026.04.12.18.25.34;	author tnn;	state Exp;
branches;
next	1.6;
commitid	hCZ8YZSupjDapHBG;

1.6
date	2025.02.18.10.13.33;	author wiz;	state Exp;
branches;
next	1.5;
commitid	PdCh33pl4t2s7WJF;

1.5
date	2024.11.12.09.05.28;	author adam;	state Exp;
branches;
next	1.4;
commitid	gEXQfp1Q3DQkTkxF;

1.4
date	2024.02.02.13.08.51;	author adam;	state Exp;
branches;
next	1.3;
commitid	lPofzRaVhXxPmRWE;

1.3
date	2023.05.29.13.28.44;	author adam;	state Exp;
branches;
next	1.2;
commitid	BQO35bAIRYqMtRqE;

1.2
date	2022.07.25.11.12.26;	author wiz;	state Exp;
branches;
next	1.1;
commitid	6RYOoAzN4cnKCgND;

1.1
date	2021.11.16.14.56.36;	author nia;	state Exp;
branches;
next	;
commitid	rnQuSCgWZPP2W1hD;


desc
@@


1.7
log
@openh264: needs -fpermissive on SunOS
@
text
@# $NetBSD: Makefile,v 1.6 2025/02/18 10:13:33 wiz Exp $

DISTNAME=	openh264-2.6.0
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_GITHUB:=cisco/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/cisco/openh264
COMMENT=	H.264 encoder/decoder library from Cisco
LICENSE=	2-clause-bsd

USE_TOOLS+=	gmake
USE_LANGUAGES=	c c++

PKGCONFIG_OVERRIDE+=	openh264.pc.in

MAKE_FLAGS+=	BUILDTYPE=Release
MAKE_FLAGS+=	ENABLEPIC=Yes
MAKE_FLAGS+=	PREFIX=${PREFIX}
MAKE_FLAGS+=	ARCH=${MACHINE_ARCH}
MAKE_FLAGS+=	HAVE_GMP_API=No
MAKE_FLAGS+=	USE_STACK_PROTECTOR=No

CXXFLAGS.SunOS+=	-fpermissive #  signed char / int8_t cast confusion

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
TOOL_DEPENDS+=	nasm>=2.07:../../devel/nasm
.endif

.include "../../mk/bsd.pkg.mk"
@


1.6
log
@openh264: update to 2.6.0.

v2.6.0
------
- Initialize PSNR to 0 instead of NAN (Commit: cf3b514b, PR: #3836)
- Enable PIC in x86 assembly code (Commit: c42fa040, PR: #3831)
- Add QEMU test for LoongArch architecture (Commit: e49c0953, PR: #3833)
- Add support for calculating PSNR for Y/U/V components (Commit: 33f7f486, PR: #3824)
- Add support for PowerPC architecture in meson.build (Commit: 423eb2c3, PR: #3806)
- Fix potential bug in the codebase (Commit: 63db555e, PR: #3818)
- Pass the actual temporal ID to GMPVideoEncodedFrame (Commit: 1c47e719, PR: #3828)
- Use HW_NCPUONLINE on OpenBSD / NetBSD for CPU detection (Commit: fc1605c1, PR: #3813)
- Add Windows VSBuildTools VC17 compile support (Commit: 1ebb3f1a, PR: #3823)
- Expose temporal layer info via GMP API at encoder initialization and on a per-frame basis (Commit: ad3f6904, PR: #3821)
- Remove the use of -Werror to prevent warnings from being treated as errors (Commit: edbef4df, PR: #3809)
- Use void casts to silence warnings about memcpy to a class (Commit: 6746bc48, PR: #3800)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/11/12 09:05:28 adam Exp $
d25 2
@


1.5
log
@openh264: updated to 2.5.0

v2.5.0

- Fix some multi-thread decoding issues
- Remove unused pSpatialLayer variable in DetermineTemporalSettings
- Change picOrderCnt to 2
- Fix cross compile from darwin arm64 to x86_64
- Fix deadlock at the end of decoding
- Fix frame-decode errors
- Fix build with meson on riscv64
- Enable pac bti support
- Fix a bug in decoding H.264 streams encoded by Apple HWA encoder
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2024/02/02 13:08:51 adam Exp $
d3 1
a3 1
DISTNAME=	openh264-2.5.0
@


1.4
log
@openh264: updated to 2.4.1

v2.4.1
------
- Fix off by one regression in decoder
- Add security policy
- Fix glitches that sometimes happen near the scene changes

v2.4.0
------
- Add LoongArch SIMD
- Support Android NDK r20 (also r21)
- Support using gradle to build Android demo and unittest
- Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/05/29 13:28:44 adam Exp $
d3 1
a3 1
DISTNAME=	openh264-2.4.1
@


1.3
log
@openh264: updated to 2.3.1

v2.3.1

update SHAREDLIB_MAJORVERSION value in Makefile

v2.3.0

Decoder bug fix to correct the B-frame order in some case
Fixes to avoid hanging for multi-thread decoding
Some Enhancements and fixes for rate control
Assembly optimization for loongson platform
Some minor bug fixes

v2.2.0

Add support for B-slice error concealment
Thread decoding support for multi-slice frame
SIMD optimization for loongson platform
Support the arm64 compilation on Windows and MacOS platform
Some Bug fixes for B-frame decoding
Some minor bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/07/25 11:12:26 wiz Exp $
d3 1
a3 1
DISTNAME=	openh264-2.3.1
@


1.2
log
@*: remove pkg-config from tools where no buildlink3.mk file is included

Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/11/16 14:56:36 nia Exp $
d3 1
a3 1
DISTNAME=	openh264-2.1.1
d18 1
d23 1
@


1.1
log
@openh264: import from pkgsrc-wip

OpenH264 is a codec library which supports H.264 encoding and decoding.
It is suitable for use in real time applications such as WebRTC.

Work by tnn, ryoon, myself
@
text
@d1 1
a1 1
# $NetBSD$
d13 1
a13 1
USE_TOOLS+=	gmake pkg-config
@

