9b08af5e1a
- Update to 0.144.2533 (from upstream stable branch) [1] - Switch x264 and libx264 ports to master/slave ports respectively - Bump PORTREVISION for dependent ports as the shared library version has changed. multimedia/x264: - Clean up and update "updating instructions" in Makefile header - Tweak COMMENT - Only LIB_DEPENDS on libx264 and add PLIST_FILES if this isn't the libx264 port. - Allow COMMENT, USES, OPTIONS_*, CONFIGURE_ARGS to be overriden in libx264 port. - Place common configure arguments in a CONFIGURE_COMMON_ARGS variable to make overriding values without duplication easier. - Use --prefix configure argument over post-patch replacements - Enable stripping of binaries and libraries if DEBUG is off. Remove post-install target STRIP_CMD accordingly. - Delete patch-Makefile in favour of patching WRKSRC/configure to identify amd64, arm64 and mipsn32. powerpc and powerpc64 are now covered upstream without needing patches. - Patch out a bogus compiler argument check (cc_check) that results in -Wno-maybe-uninitialized being added to CFLAGS causing causes warnings when clang is cc. The cc_check function checks for basename $CC to identify compiler type (icl, clang, gcc, etc). multimedia/libx264: - Remove all Makefile entries that are duplicated or common and found in the master port (x264). - Set lib as the PKGNAMEPREFIX - Tweak COMMENT - Delete upstreamed ARM patches [1] - Delete all but one patch, as they duplicate those in x264. - Dont remove pkgconfig/libdata directory Changes: https://git.videolan.org/?p=x264.git;a=shortlog;h=refs/heads/stable Based on: PR: 201260 [1] Submitted by: Andrey Cherkashin <andoriyu gmail com> [1]
30 lines
672 B
Makefile
30 lines
672 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
#
|
|
# Updating notes: see multimedia/x264/Makefile.
|
|
|
|
PKGNAMEPREFIX= lib
|
|
COMMENT= H.264/MPEG-4 AVC Video Encoding (Library)
|
|
MASTERDIR= ${.CURDIR}/../x264
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
USES= gmake pathfix tar:bzip2
|
|
|
|
OPTIONS_DEFINE= ASM DEBUG GCC HI10P PGO
|
|
OPTIONS_EXCLUDE= GPAC LAV
|
|
|
|
DEBUG_CONFIGURE_OFF= --enable-strip
|
|
|
|
HI10P_DESC= Enable High 10 Profile 10-bit encoding
|
|
HI10P_CONFIGURE_ON= --bit-depth=10
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_COMMON_ARGS} \
|
|
--enable-static \
|
|
--enable-shared \
|
|
--disable-cli
|
|
|
|
PATHFIX_MAKEFILEIN= Makefile
|
|
|
|
PLIST_SUB+= X264_BUILD=${X264_BUILD}
|
|
|
|
.include "${MASTERDIR}/Makefile"
|