freebsd-ports/multimedia/libx264/Makefile
Jan Beich 3e6bec2bb7 multimedia/libx264: clarify slave helper from r413179
Differential Revision:	https://reviews.freebsd.org/D7958
Requested by:	koobs (maintainer)
2016-09-23 13:15:06 +00:00

39 lines
829 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
# Clear dependency on libx264 (itself), see x264/Makefile
LIB_DEPENDS= #
USES= pathfix
OPTIONS_DEFINE= HI10P OPENCL
OPTIONS_DEFAULT= OPENCL
OPTIONS_EXCLUDE= FFMS GPAC LAVF LSMASH SWSCALE
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"