pkgsrc/multimedia/mjpegtools/options.mk
adam cbb377e9fa Changes 2.0.0:
* a lot of small patches and fixes
2012-07-07 15:49:00 +00:00

21 lines
527 B
Makefile

# $NetBSD: options.mk,v 1.6 2012/07/07 15:49:00 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mjpegtools
PKG_SUPPORTED_OPTIONS= dv simd
PKG_SUGGESTED_OPTIONS= dv
PKG_OPTIONS_LEGACY_OPTS+= mjpegtools-simd:simd
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdv)
. include "../../multimedia/libdv/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libdv
.else
CONFIGURE_ARGS+= --disable-libdv
.endif
.if !empty(PKG_OPTIONS:Mmjpegtools-simd)
CONFIGURE_ARGS+= --enable-simd-accel
.else
CONFIGURE_ARGS+= --disable-simd-accel
.endif