pkgsrc/multimedia/mjpegtools/options.mk
rillig 031aa1f46a multimedia: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:11:59 +00:00

21 lines
532 B
Makefile

# $NetBSD: options.mk,v 1.7 2019/11/03 17:12:02 rillig 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