Add support for H.264 via multimedia/x264 and WITHOUT_H264 knob.
This commit is contained in:
parent
3fa06e8484
commit
de4eaeaa5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126192
@ -98,6 +98,9 @@
|
||||
#
|
||||
# Multimedia Knbos:
|
||||
#
|
||||
# WITHOUT_H264
|
||||
# Disable H.264/AVC Video Support
|
||||
#
|
||||
# WITHOUT_LIBMATROSKA=yes
|
||||
# Matroska Container Format Support
|
||||
#
|
||||
@ -435,6 +438,13 @@ LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
|
||||
CONFIGUR_ARGSE+= --enable-aa
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_H264)
|
||||
CONFIGURE_ARGS+=--enable-x264
|
||||
BUILD_DEPENDS+= x264:${PORTSDIR}/multimedia/x264
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-x264
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LIBCACA) && !defined(WITHOUT_LIBCACA)
|
||||
.if !defined(WITHOUT_AALIB)
|
||||
WITH_AALIB= yes
|
||||
|
@ -98,6 +98,9 @@
|
||||
#
|
||||
# Multimedia Knbos:
|
||||
#
|
||||
# WITHOUT_H264
|
||||
# Disable H.264/AVC Video Support
|
||||
#
|
||||
# WITHOUT_LIBMATROSKA=yes
|
||||
# Matroska Container Format Support
|
||||
#
|
||||
@ -435,6 +438,13 @@ LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
|
||||
CONFIGUR_ARGSE+= --enable-aa
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_H264)
|
||||
CONFIGURE_ARGS+=--enable-x264
|
||||
BUILD_DEPENDS+= x264:${PORTSDIR}/multimedia/x264
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-x264
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LIBCACA) && !defined(WITHOUT_LIBCACA)
|
||||
.if !defined(WITHOUT_AALIB)
|
||||
WITH_AALIB= yes
|
||||
|
Loading…
Reference in New Issue
Block a user