2015-06-07 16:16:01 +02:00
|
|
|
# $NetBSD: options.mk,v 1.4 2015/06/07 14:16:01 youri Exp $
|
2010-12-21 12:27:57 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.cutter
|
2011-02-13 13:59:50 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= goffice gstreamer gtk2 libsoup pdf
|
2010-12-21 12:27:57 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= #
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2011-02-13 13:59:50 +01:00
|
|
|
PLIST_VARS+= goffice gst gtk pdf soup
|
|
|
|
|
|
|
|
###
|
|
|
|
### PDF support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mpdf)
|
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
|
|
PLIST.pdf= yes
|
|
|
|
.endif
|
2010-12-21 12:27:57 +01:00
|
|
|
|
|
|
|
###
|
|
|
|
### goffice support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgoffice)
|
|
|
|
.include "../../misc/goffice0.8/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-goffice
|
|
|
|
PLIST.gtk= yes
|
2011-02-13 13:59:50 +01:00
|
|
|
PLIST.pdf= yes
|
2010-12-21 12:27:57 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-goffice
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### gstreamer support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgstreamer)
|
2014-02-08 13:14:32 +01:00
|
|
|
.include "../../multimedia/gstreamer1/buildlink3.mk"
|
2010-12-21 12:27:57 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gstreamer
|
|
|
|
PLIST.gst= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gstreamer
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### gtk2 support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-gtktest
|
|
|
|
PLIST.gtk= yes
|
2011-02-13 13:59:50 +01:00
|
|
|
PLIST.pdf= yes
|
2010-12-21 12:27:57 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtktest
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
###
|
|
|
|
### libsoup support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibsoup)
|
2015-06-07 16:16:01 +02:00
|
|
|
. include "../../net/libsoup/buildlink3.mk"
|
2010-12-21 12:27:57 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-libsoup
|
|
|
|
PLIST.soup= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-libsoup
|
|
|
|
.endif
|