2012-07-07 17:49:00 +02:00
|
|
|
# $NetBSD: options.mk,v 1.6 2012/07/07 15:49:00 adam Exp $
|
2005-06-07 23:23:04 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mjpegtools
|
2008-09-07 02:35:12 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= dv simd
|
2006-01-25 09:09:12 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= dv
|
2012-07-07 17:49:00 +02:00
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= mjpegtools-simd:simd
|
2005-06-07 23:23:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2006-01-25 09:09:12 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mdv)
|
|
|
|
. include "../../multimedia/libdv/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-libdv
|
2005-06-07 23:23:04 +02:00
|
|
|
.else
|
2006-01-25 09:09:12 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-libdv
|
2005-06-07 23:23:04 +02:00
|
|
|
.endif
|
2006-01-25 11:01:36 +01:00
|
|
|
|
2006-01-25 11:07:39 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mmjpegtools-simd)
|
2006-01-25 11:01:36 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-simd-accel
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-simd-accel
|
|
|
|
.endif
|