| @@ -1,65 +1,53 @@ | | | @@ -1,65 +1,53 @@ |
1 | # $NetBSD: options.mk,v 1.6 2022/12/04 23:06:49 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.7 2023/06/26 12:17:40 wiz Exp $ |
2 | # | | | |
3 | | | 2 | |
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.cutter | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.cutter |
5 | PKG_SUPPORTED_OPTIONS= gstreamer gtk2 libsoup pdf | | 4 | PKG_SUPPORTED_OPTIONS= gtk2 libsoup pdf |
6 | PKG_SUGGESTED_OPTIONS= # | | 5 | PKG_SUGGESTED_OPTIONS= # |
7 | | | 6 | |
8 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
9 | | | 8 | |
10 | PLIST_VARS+= goffice gst gtk pdf soup | | 9 | PLIST_VARS+= gtk pdf soup |
11 | | | 10 | |
12 | ### | | 11 | ### |
13 | ### PDF support | | 12 | ### PDF support |
14 | ### | | 13 | ### |
15 | .if !empty(PKG_OPTIONS:Mpdf) | | 14 | .if !empty(PKG_OPTIONS:Mpdf) |
16 | .include "../../devel/pango/buildlink3.mk" | | 15 | .include "../../devel/pango/buildlink3.mk" |
17 | PLIST.pdf= yes | | 16 | PLIST.pdf= yes |
18 | .endif | | 17 | .endif |
19 | | | 18 | |
20 | ### | | 19 | ### |
21 | ### goffice support | | 20 | ### goffice support |
22 | ### | | 21 | ### |
23 | #.if !empty(PKG_OPTIONS:Mgoffice) | | 22 | #.if !empty(PKG_OPTIONS:Mgoffice) |
24 | #.include "../../misc/goffice0.8/buildlink3.mk" | | 23 | #.include "../../misc/goffice0.8/buildlink3.mk" |
25 | #CONFIGURE_ARGS+= --enable-goffice | | 24 | #CONFIGURE_ARGS+= --enable-goffice |
26 | #PLIST.gtk= yes | | 25 | #PLIST.gtk= yes |
27 | #PLIST.pdf= yes | | 26 | #PLIST.pdf= yes |
28 | #.else | | 27 | #.else |
29 | #CONFIGURE_ARGS+= --disable-goffice | | 28 | #CONFIGURE_ARGS+= --disable-goffice |
30 | #.endif | | 29 | #.endif |
31 | | | 30 | |
32 | ### | | 31 | ### |
33 | ### gstreamer support | | | |
34 | ### | | | |
35 | .if !empty(PKG_OPTIONS:Mgstreamer) | | | |
36 | .include "../../multimedia/gstreamer1/buildlink3.mk" | | | |
37 | CONFIGURE_ARGS+= --enable-gstreamer | | | |
38 | PLIST.gst= yes | | | |
39 | .else | | | |
40 | CONFIGURE_ARGS+= --disable-gstreamer | | | |
41 | .endif | | | |
42 | | | | |
43 | ### | | | |
44 | ### gtk2 support | | 32 | ### gtk2 support |
45 | ### | | 33 | ### |
46 | .if !empty(PKG_OPTIONS:Mgtk2) | | 34 | .if !empty(PKG_OPTIONS:Mgtk2) |
47 | .include "../../x11/gtk2/buildlink3.mk" | | 35 | .include "../../x11/gtk2/buildlink3.mk" |
48 | CONFIGURE_ARGS+= --enable-gtktest | | 36 | CONFIGURE_ARGS+= --enable-gtktest |
49 | PLIST.gtk= yes | | 37 | PLIST.gtk= yes |
50 | PLIST.pdf= yes | | 38 | PLIST.pdf= yes |
51 | .else | | 39 | .else |
52 | CONFIGURE_ARGS+= --disable-gtktest | | 40 | CONFIGURE_ARGS+= --disable-gtktest |
53 | .endif | | 41 | .endif |
54 | | | 42 | |
55 | ### | | 43 | ### |
56 | ### | | 44 | ### |
57 | ### libsoup support | | 45 | ### libsoup support |
58 | ### | | 46 | ### |
59 | .if !empty(PKG_OPTIONS:Mlibsoup) | | 47 | .if !empty(PKG_OPTIONS:Mlibsoup) |
60 | . include "../../net/libsoup/buildlink3.mk" | | 48 | . include "../../net/libsoup/buildlink3.mk" |
61 | CONFIGURE_ARGS+= --enable-libsoup | | 49 | CONFIGURE_ARGS+= --enable-libsoup |
62 | PLIST.soup= yes | | 50 | PLIST.soup= yes |
63 | .else | | 51 | .else |
64 | CONFIGURE_ARGS+= --disable-libsoup | | 52 | CONFIGURE_ARGS+= --disable-libsoup |
65 | .endif | | 53 | .endif |