From 778beb14378cd65f6c519e4a7914e722963ca046 Mon Sep 17 00:00:00 2001 From: reed Date: Sat, 20 Dec 2008 20:52:27 +0000 Subject: Make the gnome build an option for evince. Defaults to enabled. So -gnome will build the GTK version. Make should also do the --disable-dbus, but will think about that later. --- print/evince/Makefile | 4 ++-- print/evince/options.mk | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'print/evince') diff --git a/print/evince/Makefile b/print/evince/Makefile index b733756698f..25b5d4d8353 100644 --- a/print/evince/Makefile +++ b/print/evince/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2008/12/05 12:20:05 smb Exp $ +# $NetBSD: Makefile,v 1.49 2008/12/20 20:52:27 reed Exp $ # PKGREVISION= 2 @@ -6,7 +6,7 @@ PKG_DESTDIR_SUPPORT= user-destdir .include "../../print/evince/Makefile.common" -COMMENT= Document viewer for the GNOME Desktop +COMMENT= Document viewer GCONF_SCHEMAS= evince.schemas GCONF_SCHEMAS+= evince-thumbnailer.schemas diff --git a/print/evince/options.mk b/print/evince/options.mk index 623913aaa10..e6692ea97fb 100644 --- a/print/evince/options.mk +++ b/print/evince/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.1 2008/10/25 00:11:13 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2008/12/20 20:52:27 reed Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.evince -PKG_SUPPORTED_OPTIONS= dvi djvu -PKG_SUGGESTED_OPTIONS= # none +PKG_SUPPORTED_OPTIONS= dvi djvu gnome +PKG_SUGGESTED_OPTIONS= gnome .include "../../mk/bsd.options.mk" @@ -21,3 +21,13 @@ PLIST.djvu= yes GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas .include "../../graphics/djvulibre-lib/buildlink3.mk" .endif + +.if !empty(PKG_OPTIONS:Mgnome) +COMMENT+= for the GNOME Desktop +BUILDLINK_API_DEPENDS.libgnomeui+= libgnomeui>=2.14.0 +.include "../../devel/libgnomeui/buildlink3.mk" +.else +COMMENT+= (GTK version) +CONFIGURE_ARGS+= --without-libgnome --disable-nautilus +.endif + -- cgit v1.2.3