pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print add an option to support thr "djvu" file format



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d99ab130440
branches:  trunk
changeset: 518073:4d99ab130440
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Aug 30 17:07:26 2006 +0000

description:
add an option to support thr "djvu" file format
(no change to default configuration)

diffstat:

 print/evince-nautilus/Makefile |   9 +++++++--
 print/evince/Makefile          |  13 +++++++++++--
 print/evince/PLIST             |   3 ++-
 3 files changed, 20 insertions(+), 5 deletions(-)

diffs (81 lines):

diff -r 0f2704bfa951 -r 4d99ab130440 print/evince-nautilus/Makefile
--- a/print/evince-nautilus/Makefile    Wed Aug 30 17:03:28 2006 +0000
+++ b/print/evince-nautilus/Makefile    Wed Aug 30 17:07:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/06/21 16:01:44 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2006/08/30 17:07:26 drochner Exp $
 #
 
 .include "../../print/evince/Makefile.common"
@@ -7,7 +7,7 @@
 
 COMMENT=               File properties plugin for evince files
 PKG_OPTIONS_VAR=       PKG_OPTIONS.evince
-PKG_SUPPORTED_OPTIONS= dvi
+PKG_SUPPORTED_OPTIONS= dvi djvu
 PKG_SUGGESTED_OPTIONS= # none
 
 .include "../../mk/bsd.options.mk"
@@ -22,6 +22,11 @@
 #BUILD_DIRS=           pdf backend lib properties
 .endif
 
+.if !empty(PKG_OPTIONS:Mdjvu)
+CONFIGURE_ARGS+=       --enable-djvu
+.include       "../../graphics/djvulibre/buildlink3.mk"
+.endif
+
 INSTALL_DIRS=          properties
 
 .include "../../print/libgnomeprint/buildlink3.mk"
diff -r 0f2704bfa951 -r 4d99ab130440 print/evince/Makefile
--- a/print/evince/Makefile     Wed Aug 30 17:03:28 2006 +0000
+++ b/print/evince/Makefile     Wed Aug 30 17:07:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/08/23 09:49:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.22 2006/08/30 17:07:26 drochner Exp $
 #
 
 .include "../../print/evince/Makefile.common"
@@ -11,7 +11,7 @@
 GCONF2_SCHEMAS+=       evince-thumbnailer.schemas
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.evince
-PKG_SUPPORTED_OPTIONS= dvi
+PKG_SUPPORTED_OPTIONS= dvi djvu
 PKG_SUGGESTED_OPTIONS= # none
 
 .include "../../mk/bsd.options.mk"
@@ -25,6 +25,15 @@
 PLIST_SUBST+=          DVI="@comment "
 .endif
 
+.if !empty(PKG_OPTIONS:Mdjvu)
+CONFIGURE_ARGS+=       --enable-djvu
+PLIST_SUBST+=          DJVU=   #empty
+GCONF2_SCHEMAS+=       evince-thumbnailer-djvu.schemas
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
+.else
+PLIST_SUBST+=          DJVU="@comment "
+.endif
+
 .include "../../devel/GConf2/schemas.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../security/gnome-keyring/buildlink3.mk"
diff -r 0f2704bfa951 -r 4d99ab130440 print/evince/PLIST
--- a/print/evince/PLIST        Wed Aug 30 17:03:28 2006 +0000
+++ b/print/evince/PLIST        Wed Aug 30 17:07:26 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2006/08/16 20:24:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2006/08/30 17:07:26 drochner Exp $
 bin/evince
 bin/evince-thumbnailer
 share/applications/evince.desktop
@@ -8,6 +8,7 @@
 share/evince/evince-ui.xml
 share/evince/hand-open.png
 share/gconf/schemas/evince-thumbnailer.schemas
+${DJVU}share/gconf/schemas/evince-thumbnailer-djvu.schemas
 ${DVI}share/gconf/schemas/evince-thumbnailer-dvi.schemas
 share/gconf/schemas/evince.schemas
 share/gnome/help/evince/C/evince.xml



Home | Main Index | Thread Index | Old Index