| 55 | configure.args \ |
| 56 | --disable-gtk-theme \ |
| 57 | --disable-gtk-doc |
| 58 | |
| 59 | # If we disable the gtk variant by default we can make this a dependency of |
| 60 | # gtk2, which is a good thing, because gtk2 requires librsvg to render svg |
| 61 | # icons. |
| 62 | variant gtk description {Build GTK+ theme engine and rsvg-view} { |
| 63 | depends_lib-append \ |
| 64 | port:gtk2 |
| 65 | configure.args-delete \ |
| 66 | --disable-gtk-theme |
| 67 | configure.args-append \ |
| 68 | --enable-gtk-theme |
| 69 | } |
| 70 | |
| 71 | # This allows us to build the documentation independently of gtk2. Remember it |
| 72 | # probably doesn't hurt you to enable this, if you're building with +gtk anyway, |
| 73 | # because you will have gtk-doc already installed. |
| 74 | variant doc description {Build HTML documentation with gtk-doc} { |
| 75 | depends_build-append \ |
| 76 | port:gtk-doc |
| 77 | configure.args-delete \ |
| 78 | --disable-gtk-doc |
| 79 | configure.args-append \ |
| 80 | --enable-gtk-doc \ |
| 81 | --enable-gtk-doc-html |
| 82 | } |
| 83 | |