2013-03-19 11:40:22 +01:00
|
|
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
2005-03-12 12:07:22 +01:00
|
|
|
|
|
|
|
PORTNAME= evince
|
2021-02-17 17:40:07 +01:00
|
|
|
DISTVERSION= 3.38.2
|
2021-07-06 22:00:57 +02:00
|
|
|
PORTREVISION= 5
|
2005-03-12 12:07:22 +01:00
|
|
|
CATEGORIES= graphics print gnome
|
2006-10-14 10:35:50 +02:00
|
|
|
MASTER_SITES= GNOME
|
2020-09-26 22:26:18 +02:00
|
|
|
DIST_SUBDIR= gnome
|
2005-03-12 12:07:22 +01:00
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2020-09-26 22:26:18 +02:00
|
|
|
COMMENT= GNOME 3 multi-format document viewer
|
2005-03-12 12:07:22 +01:00
|
|
|
|
2018-02-19 18:49:54 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2020-09-26 22:26:18 +02:00
|
|
|
FLAVOR?= full
|
|
|
|
FLAVORS= full lite
|
|
|
|
|
2018-09-30 13:58:29 +02:00
|
|
|
BUILD_DEPENDS= itstool:textproc/itstool \
|
2016-04-01 16:00:51 +02:00
|
|
|
adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
|
|
|
|
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
|
|
|
|
LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \
|
2018-11-11 22:58:50 +01:00
|
|
|
libfribidi.so:converters/fribidi \
|
2018-02-19 18:49:54 +01:00
|
|
|
libspectre.so:print/libspectre \
|
|
|
|
libtiff.so:graphics/tiff
|
2018-09-30 13:58:29 +02:00
|
|
|
RUN_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
|
2016-04-01 16:00:51 +02:00
|
|
|
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
|
2014-11-19 12:49:04 +01:00
|
|
|
|
2015-08-05 21:13:24 +02:00
|
|
|
PORTSCOUT= limitw:1,even
|
2015-07-15 01:28:42 +02:00
|
|
|
SLAVEPORT?= no
|
2014-12-11 17:52:40 +01:00
|
|
|
|
2020-09-26 22:26:18 +02:00
|
|
|
USES= compiler:c++11-lib desktop-file-utils gettext \
|
2020-09-27 18:35:51 +02:00
|
|
|
gnome libarchive localbase:ldflags meson pkgconfig tar:xz xorg
|
2020-09-26 22:26:18 +02:00
|
|
|
USE_GNOME= cairo gtk30
|
2018-02-19 18:49:54 +01:00
|
|
|
USE_GSTREAMER1= yes
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-11-19 12:49:04 +01:00
|
|
|
USE_XORG= ice
|
2006-05-26 22:33:06 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2020-09-26 22:26:18 +02:00
|
|
|
MESON_ARGS= -Dps=enabled \
|
|
|
|
-Dsystemduserunitdir=no \
|
|
|
|
-Dgtk_doc=false
|
|
|
|
|
|
|
|
.if ${FLAVOR} == lite
|
|
|
|
MESON_ARGS+= -Dintrospection=false \
|
|
|
|
-Dthumbnailer=false \
|
|
|
|
-Dpreviewer=false \
|
|
|
|
-Dthumbnail_cache=disabled
|
2018-02-19 18:49:54 +01:00
|
|
|
USE_GNOME+= libxml2
|
2020-09-26 22:26:18 +02:00
|
|
|
OPTIONS_EXCLUDE= NAUTILUS DBUS
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist-lite
|
|
|
|
PKGNAMESUFFIX= -lite
|
|
|
|
COMMENT+= without GNOME dependencies
|
2015-07-15 01:28:42 +02:00
|
|
|
.else
|
|
|
|
USE_GNOME+= introspection:build
|
2020-09-26 22:26:18 +02:00
|
|
|
MESON_ARGS+= -Dintrospection=true
|
2015-07-15 01:28:42 +02:00
|
|
|
.endif
|
2005-03-12 12:07:22 +01:00
|
|
|
|
2010-11-20 16:37:08 +01:00
|
|
|
GLIB_SCHEMAS= org.gnome.Evince.gschema.xml
|
2005-03-12 12:07:22 +01:00
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
PLIST_SUB= VERSION=3.0
|
2010-11-20 16:37:08 +01:00
|
|
|
|
2018-02-19 18:49:54 +01:00
|
|
|
OPTIONS_SUB= yes
|
2020-09-26 22:26:18 +02:00
|
|
|
OPTIONS_DEFINE= COMICS DBUS DJVU DVI KEYRING NAUTILUS T1LIB XPS SPELL
|
|
|
|
OPTIONS_DEFAULT=COMICS DBUS DJVU KEYRING NAUTILUS XPS SPELL
|
2018-02-19 18:49:54 +01:00
|
|
|
|
2018-09-30 13:58:29 +02:00
|
|
|
COMICS_DESC= Comic book archives support
|
2020-09-26 22:26:18 +02:00
|
|
|
COMICS_MESON_ENABLED= comics
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2018-09-30 13:58:29 +02:00
|
|
|
DJVU_DESC= DJVU support
|
2018-02-19 18:49:54 +01:00
|
|
|
DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre
|
2020-09-26 22:26:18 +02:00
|
|
|
DJVU_MESON_ENABLED= djvu
|
2015-07-15 01:28:42 +02:00
|
|
|
|
2020-09-26 22:26:18 +02:00
|
|
|
DBUS_MESON_TRUE= dbus
|
2018-09-30 13:58:29 +02:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2018-09-30 13:58:29 +02:00
|
|
|
DVI_DESC= DVI viewer support
|
|
|
|
DVI_USE= tex=latex,kpathsea
|
2020-09-26 22:26:18 +02:00
|
|
|
DVI_MESON_ENABLED= dvi
|
|
|
|
|
|
|
|
KEYRING_DESC= Keyring support
|
|
|
|
KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret
|
|
|
|
KEYRING_MESON_ENABLED= keyring
|
2015-07-15 01:28:42 +02:00
|
|
|
|
2020-09-26 22:26:18 +02:00
|
|
|
NAUTILUS_DESC= Nautilus plugin
|
|
|
|
NAUTILUS_USE= gnome=nautilus3
|
|
|
|
NAUTILUS_MESON_TRUE= nautilus
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2020-09-26 22:26:18 +02:00
|
|
|
SPELL_DESC= spell checking support
|
|
|
|
SPELL_MESON_ENABLED= gspell
|
|
|
|
SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell
|
2014-11-19 12:49:04 +01:00
|
|
|
|
2018-09-30 13:58:29 +02:00
|
|
|
T1LIB_DESC= Support TYPE1 fonts to DVI (Enables DVI)
|
2018-02-19 18:49:54 +01:00
|
|
|
T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib
|
2020-09-26 22:26:18 +02:00
|
|
|
T1LIB_MESON_ENABLED= t1lib
|
2018-09-30 13:58:29 +02:00
|
|
|
T1LIB_IMPLIES= DVI
|
2005-04-29 23:29:34 +02:00
|
|
|
|
2018-09-30 13:58:29 +02:00
|
|
|
XPS_DESC= XPS support
|
2018-02-19 18:49:54 +01:00
|
|
|
XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps
|
2020-09-26 22:26:18 +02:00
|
|
|
XPS_MESON_ENABLED= xps
|
2005-11-05 05:53:48 +01:00
|
|
|
|
2013-03-19 11:40:22 +01:00
|
|
|
.include <bsd.port.mk>
|