aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/Makefile
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-01-12 05:24:07 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-01-12 05:24:07 +0000
commitde4eaeaa5f823ab770cef71c9efc21f85e79809a (patch)
treedefe562072e23678a861507c868665c98249db15 /multimedia/vlc/Makefile
parent3fa06e8484ef1bf5d7a6cbee45dcd9c5c5e52f0e (diff)
downloadports-de4eaeaa5f823ab770cef71c9efc21f85e79809a.tar.gz
ports-de4eaeaa5f823ab770cef71c9efc21f85e79809a.zip
Notes
Diffstat (limited to 'multimedia/vlc/Makefile')
-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