pkgsrc/devel/cutter/options.mk
obache 3191e971bc Update cutter to 1.1.7.
While here, add pdf option to enable pdf support without GTK2+.

= NEWS --- The history of Cutter

== [release-1-1-7] 1.1.7: 2011-02-13

=== Cutter

==== Improvements

  * Supported growlnotify.

==== Changes

  * Droped Debian GNU/Linux lenny support.

==== Fixes

  * Fixed using unknown symbol on CentOS 5.5.
    [Reported by Hiroaki Nakamura]

=== Document

===== Fixes

  * Fixed typos in tutorial.
    [Reported by Hiroaki Nakamura]

=== Thanks

  * Hiroaki Nakamura
2011-02-13 12:59:50 +00:00

65 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.2 2011/02/13 12:59:51 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.cutter
PKG_SUPPORTED_OPTIONS= goffice gstreamer gtk2 libsoup pdf
PKG_SUGGESTED_OPTIONS= #
.include "../../mk/bsd.options.mk"
PLIST_VARS+= goffice gst gtk pdf soup
###
### PDF support
###
.if !empty(PKG_OPTIONS:Mpdf)
.include "../../devel/pango/buildlink3.mk"
PLIST.pdf= yes
.endif
###
### goffice support
###
.if !empty(PKG_OPTIONS:Mgoffice)
.include "../../misc/goffice0.8/buildlink3.mk"
CONFIGURE_ARGS+= --enable-goffice
PLIST.gtk= yes
PLIST.pdf= yes
.else
CONFIGURE_ARGS+= --disable-goffice
.endif
###
### gstreamer support
###
.if !empty(PKG_OPTIONS:Mgstreamer)
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
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
PLIST.pdf= yes
.else
CONFIGURE_ARGS+= --disable-gtktest
.endif
###
###
### libsoup support
###
.if !empty(PKG_OPTIONS:Mlibsoup)
. include "../../net/libsoup24/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libsoup
PLIST.soup= yes
.else
CONFIGURE_ARGS+= --disable-libsoup
.endif