blob: 33daeff09dff5c8becb36f0421f2ad6f9658b1ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $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
|