aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-12 13:24:07 +0800
committerahze <ahze@FreeBSD.org>2005-01-12 13:24:07 +0800
commitb288c62a41bcdd9c1bb640a063f532d40cd04fcf (patch)
treebb3b67f8996c7f3c28ebeccfe7d965159eb4dddd /multimedia/vlc
parent2822ce08ff9fa13465d321431e61c43165df7004 (diff)
downloadfreebsd-ports-gnome-b288c62a41bcdd9c1bb640a063f532d40cd04fcf.tar.gz
freebsd-ports-gnome-b288c62a41bcdd9c1bb640a063f532d40cd04fcf.tar.zst
freebsd-ports-gnome-b288c62a41bcdd9c1bb640a063f532d40cd04fcf.zip
Add support for H.264 via multimedia/x264 and WITHOUT_H264 knob.
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index f424df9ec613..1a1ee4cf1124 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -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