2013-09-10 13:23:20 +02:00
|
|
|
# $NetBSD: options.mk,v 1.5 2013/09/10 11:23:20 wiz Exp $
|
2010-02-15 15:19:45 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.digikam
|
2013-09-10 13:23:20 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= debug lensfun liblqr pim
|
2013-05-21 15:04:09 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= liblqr pim
|
2010-02-15 15:19:45 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2013-09-10 13:23:20 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
.endif
|
|
|
|
|
2010-02-15 15:19:45 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mlensfun)
|
|
|
|
.include "../../graphics/lensfun/buildlink3.mk"
|
2013-04-28 04:03:37 +02:00
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DWITH_LensFun:BOOL=OFF
|
2010-02-15 15:19:45 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mliblqr)
|
|
|
|
.include "../../graphics/liblqr/buildlink3.mk"
|
2013-04-28 04:03:37 +02:00
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DWITH_Lqr-1:BOOL=OFF
|
2010-02-15 15:19:45 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpim)
|
|
|
|
.include "../../misc/kdepimlibs4/buildlink3.mk"
|
2013-04-28 04:03:37 +02:00
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DWITH_KdepimLibs:BOOL=OFF
|
2010-02-15 15:19:45 +01:00
|
|
|
.endif
|