2021-02-14 08:20:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.187 2021/02/14 13:20:25 jasper Exp $
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2014-10-31 19:05:36 -04:00
|
|
|
COMMENT= GNOME document viewer
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
GNOME_PROJECT= evince
|
2021-02-14 08:20:25 -05:00
|
|
|
GNOME_VERSION= 3.38.2
|
2017-07-13 08:25:52 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
MAJ_V= 3.0
|
|
|
|
SUBST_VARS= MAJ_V
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2013-09-26 12:06:47 -04:00
|
|
|
SHARED_LIBS += evdocument3 0.2 # 4.0
|
2011-09-12 03:26:18 -04:00
|
|
|
SHARED_LIBS += evview3 0.0 # 3.0
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2014-10-31 19:05:36 -04:00
|
|
|
CATEGORIES= graphics print
|
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
2009-04-06 12:15:13 -04:00
|
|
|
|
2008-05-21 18:13:35 -04:00
|
|
|
# GPLv2
|
2019-07-12 16:46:54 -04:00
|
|
|
PERMIT_PACKAGE= Yes
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2020-05-20 06:14:26 -04:00
|
|
|
WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gspell-1
|
|
|
|
WANTLIB += gtk-3 intl pango-1.0 pangocairo-1.0 poppler-glib
|
|
|
|
WANTLIB += secret-1 synctex tiff xml2
|
2009-10-13 07:00:39 -04:00
|
|
|
|
2020-07-05 14:52:51 -04:00
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
2018-10-24 10:27:57 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
MODULES= devel/dconf \
|
2020-05-20 06:14:26 -04:00
|
|
|
devel/meson \
|
2014-10-15 09:12:46 -04:00
|
|
|
x11/gnome
|
|
|
|
|
2020-02-10 13:19:45 -05:00
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
|
2015-07-17 12:26:47 -04:00
|
|
|
MODGNOME_TOOLS += desktop-file-utils gobject-introspection
|
2014-10-15 09:48:21 -04:00
|
|
|
MODGNOME_TOOLS += gtk-update-icon-cache shared-mime-info
|
2014-10-15 09:12:46 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS= devel/gsettings-desktop-schemas
|
|
|
|
|
2019-05-08 14:52:17 -04:00
|
|
|
# msgfmt: cannot locate ITS rules for evince-pdfdocument.metainfo.xml.in
|
|
|
|
BUILD_DEPENDS += devel/appstream-glib
|
|
|
|
|
2020-05-20 06:14:26 -04:00
|
|
|
LIB_DEPENDS= print/poppler \
|
2019-01-06 08:54:15 -05:00
|
|
|
textproc/gspell \
|
2015-10-13 13:18:29 -04:00
|
|
|
x11/gnome/libsecret \
|
2019-02-13 13:15:55 -05:00
|
|
|
x11/gtk+3 \
|
|
|
|
print/texlive/base,-synctex
|
2014-10-15 09:12:46 -04:00
|
|
|
|
2014-10-31 19:05:36 -04:00
|
|
|
RUN_DEPENDS= archivers/unrar \
|
2014-10-15 09:12:46 -04:00
|
|
|
archivers/unzip \
|
2018-09-03 15:56:34 -04:00
|
|
|
devel/gsettings-desktop-schemas
|
2014-10-15 09:12:46 -04:00
|
|
|
|
2014-10-31 19:05:36 -04:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2014-10-15 06:12:37 -04:00
|
|
|
# modern browsers can already display PDF
|
2020-05-20 06:14:26 -04:00
|
|
|
CONFIGURE_ARGS += -Dbrowser_plugin=false
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += -Dt1lib=disabled \
|
|
|
|
-Dsystemduserunitdir=no \
|
|
|
|
-Dgtk_doc=false
|
2014-10-15 04:50:23 -04:00
|
|
|
|
2017-04-23 17:45:58 -04:00
|
|
|
# fix build with clang
|
|
|
|
CFLAGS += -Wno-error=format-nonliteral
|
|
|
|
|
2014-10-31 19:05:36 -04:00
|
|
|
FLAVORS= light
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:Mlight}
|
2015-07-17 12:26:47 -04:00
|
|
|
BUILD_DEPENDS += textproc/itstool
|
2020-05-20 06:14:26 -04:00
|
|
|
CONFIGURE_ARGS += -Dcomics=disabled \
|
|
|
|
-Ddbus=false \
|
|
|
|
-Ddjvu=disabled \
|
|
|
|
-Ddvi=disabled \
|
|
|
|
-Dmultimedia=disabled \
|
|
|
|
-Dnautilus=false \
|
|
|
|
-Dthumbnail_cache=disabled \
|
|
|
|
-Dthumbnailer=false \
|
|
|
|
-Dxps=disabled
|
|
|
|
WANTLIB += m poppler-glib
|
2014-10-31 19:05:36 -04:00
|
|
|
.else
|
2015-07-17 12:26:47 -04:00
|
|
|
MODGNOME_TOOLS += yelp
|
2014-10-31 19:05:36 -04:00
|
|
|
LIB_DEPENDS += graphics/djvulibre \
|
2020-05-20 06:14:26 -04:00
|
|
|
multimedia/gstreamer1/plugins-base \
|
2014-10-31 19:05:36 -04:00
|
|
|
graphics/libgxps \
|
2019-01-03 10:45:17 -05:00
|
|
|
print/libspectre \
|
2018-07-01 05:00:36 -04:00
|
|
|
print/texlive/base,-mktexlsr \
|
2019-01-06 08:54:15 -05:00
|
|
|
x11/gnome/desktop \
|
2014-10-31 19:05:36 -04:00
|
|
|
x11/gnome/nautilus
|
2020-05-20 06:14:26 -04:00
|
|
|
WANTLIB += archive djvulibre gnome-desktop-3 gstreamer-1.0 gstvideo-1.0
|
|
|
|
WANTLIB += gxps intl kpathsea m nautilus-extension spectre z
|
2018-07-01 05:00:36 -04:00
|
|
|
|
2018-07-01 05:25:59 -04:00
|
|
|
# XXX not sure that's needed automatic conversion
|
2018-07-01 05:00:36 -04:00
|
|
|
RUN_DEPENDS += print/texlive/base,-main
|
2014-10-31 19:05:36 -04:00
|
|
|
.endif
|
2011-11-18 07:37:19 -05:00
|
|
|
|
2006-06-18 10:22:26 -04:00
|
|
|
.include <bsd.port.mk>
|