1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/multimedia/libx264/Makefile
Jan Beich 2ff3aa5fe4 multimedia/x264: r445837 forgot to move option helpers
PR:		220694
Approved by:	portmgr blanket
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11566
2017-07-14 23:58:25 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
#
# Updating notes: see multimedia/x264/Makefile.
PORTREVISION= 0
PKGNAMEPREFIX= lib
COMMENT= H.264/MPEG-4 AVC Video Encoding (Library)
MASTERDIR= ${.CURDIR}/../x264
PLIST= ${.CURDIR}/pkg-plist
# Clear dependency on libx264 (itself), see x264/Makefile
LIB_DEPENDS= #
USES= pathfix
OPTIONS_DEFINE= ASM HI10P OPENCL
OPTIONS_DEFAULT= ASM OPENCL
OPTIONS_EXCLUDE= FFMS GPAC LAVF LSMASH SWSCALE
ASM_BUILD_DEPENDS= ${ASM_BUILD_DEPENDS_${ARCH}}
ASM_BUILD_DEPENDS_amd64=${ASM_BUILD_DEPENDS_i386}
ASM_BUILD_DEPENDS_i386= yasm>=1.2.0:devel/yasm
ASM_CONFIGURE_ENABLE= asm
HI10P_DESC= Enable High 10 Profile 10-bit encoding
HI10P_CONFIGURE_ON= --bit-depth=10
OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl
OPENCL_CONFIGURE_ENABLE=opencl
CONFIGURE_ARGS= \
--enable-static \
--enable-shared \
--disable-cli
PATHFIX_MAKEFILEIN= Makefile
PLIST_FILES= #
PLIST_SUB+= X264_BUILD=${X264_BUILD}
pre-build:
.include "${MASTERDIR}/Makefile"