summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg/options.mk')
-rw-r--r--multimedia/ffmpeg/options.mk17
1 files changed, 13 insertions, 4 deletions
diff --git a/multimedia/ffmpeg/options.mk b/multimedia/ffmpeg/options.mk
index 70f3c8cda35..0a1a2ea8714 100644
--- a/multimedia/ffmpeg/options.mk
+++ b/multimedia/ffmpeg/options.mk
@@ -1,17 +1,17 @@
-# $NetBSD: options.mk,v 1.9 2008/09/12 12:21:07 ahoka Exp $
+# $NetBSD: options.mk,v 1.10 2008/09/12 13:44:23 sborrill Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg
-PKG_SUPPORTED_OPTIONS= sdl theora xvid faad faac x264
-PKG_SUGGESTED_OPTIONS= faac theora xvid x264
+PKG_SUPPORTED_OPTIONS= sdl theora xvid faad faac swscale x264
+PKG_SUGGESTED_OPTIONS= faac theora xvid swscale x264
#PKG_OPTIONS_OPTIONAL_GROUPS= aac-decoder
#PKG_OPTIONS_GROUP.aac-decoder= faad faac
.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS+= sdl
+PLIST_VARS+= sdl swscale
###
### faad option
@@ -47,6 +47,15 @@ CONFIGURE_ARGS+= --disable-ffplay
.endif
###
+### swscale option
+###
+
+.if !empty(PKG_OPTIONS:Mswscale)
+CONFIGURE_ARGS+= --enable-swscale
+PLIST.swscale= yes
+.endif
+
+###
### OGG Theora support
###