2014-11-22 17:23:34 +01:00
|
|
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Updating notes: see multimedia/x264/Makefile.
|
|
|
|
|
2015-07-03 09:02:44 +02:00
|
|
|
PKGNAMEPREFIX= lib
|
|
|
|
COMMENT= H.264/MPEG-4 AVC Video Encoding (Library)
|
|
|
|
MASTERDIR= ${.CURDIR}/../x264
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
2014-11-22 17:23:34 +01:00
|
|
|
|
2014-12-24 23:28:06 +01:00
|
|
|
USES= gmake pathfix tar:bzip2
|
2014-11-22 17:23:34 +01:00
|
|
|
|
2014-12-24 23:28:06 +01:00
|
|
|
OPTIONS_DEFINE= ASM DEBUG GCC HI10P PGO
|
2015-07-03 09:02:44 +02:00
|
|
|
OPTIONS_EXCLUDE= GPAC LAV
|
2014-12-24 23:28:06 +01:00
|
|
|
|
2015-07-03 09:02:44 +02:00
|
|
|
DEBUG_CONFIGURE_OFF= --enable-strip
|
2014-12-24 23:28:06 +01:00
|
|
|
|
2015-07-03 09:02:44 +02:00
|
|
|
HI10P_DESC= Enable High 10 Profile 10-bit encoding
|
2014-12-24 23:28:06 +01:00
|
|
|
HI10P_CONFIGURE_ON= --bit-depth=10
|
2014-11-22 17:23:34 +01:00
|
|
|
|
2015-07-03 09:02:44 +02:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_COMMON_ARGS} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-cli
|
2014-12-31 07:20:13 +01:00
|
|
|
|
2014-12-24 23:28:06 +01:00
|
|
|
PATHFIX_MAKEFILEIN= Makefile
|
|
|
|
|
2015-07-03 09:02:44 +02:00
|
|
|
PLIST_SUB+= X264_BUILD=${X264_BUILD}
|
2014-11-22 17:23:34 +01:00
|
|
|
|
2015-07-03 09:02:44 +02:00
|
|
|
.include "${MASTERDIR}/Makefile"
|