svn commit: r392121 - head/graphics/atril
Koop Mast
kwm at FreeBSD.org
Wed Jul 15 07:30:37 UTC 2015
Author: kwm
Date: Wed Jul 15 07:30:35 2015
New Revision: 392121
URL: https://svnweb.freebsd.org/changeset/ports/392121
Log:
* Enable introspection
* add support for XPS
* Optionfy keyring support.
* Add support for atril-lite.
Modified:
head/graphics/atril/Makefile
head/graphics/atril/pkg-plist
Modified: head/graphics/atril/Makefile
==============================================================================
--- head/graphics/atril/Makefile Wed Jul 15 07:26:16 2015 (r392120)
+++ head/graphics/atril/Makefile Wed Jul 15 07:30:35 2015 (r392121)
@@ -3,24 +3,23 @@
PORTNAME= atril
PORTVERSION= 1.8.1
-PORTREVISION= 3
+PORTREVISION?= 4
CATEGORIES= graphics print mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
MAINTAINER= gnome at FreeBSD.org
-COMMENT= MATE multi-format document viewer
+COMMENT?= MATE multi-format document viewer
BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
- libspectre.so:${PORTSDIR}/print/libspectre \
- libsecret-1.so:${PORTSDIR}/security/libsecret \
- libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
+ libspectre.so:${PORTSDIR}/print/libspectre
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
PORTSCOUT= limitw:1,even
+SLAVEPORT?= no
USES= desktop-file-utils gettext gmake libtool pathfix \
pkgconfig tar:xz
@@ -37,18 +36,36 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
+.if ${SLAVEPORT} == lite
+CONFIGURE_ARGS+=--disable-introspection \
+ --disable-thumbnailer \
+ --disable-previewer
+.else
+USE_GNOME+= introspection:build
+CONFIGURE_ARGS+= --enable-introspection
+.endif
+
GLIB_SCHEMAS= org.mate.Atril.gschema.xml
-OPTIONS_DEFINE= DVI T1LIB CAJA COMICS DJVU
-OPTIONS_DEFAULT=CAJA COMICS
+OPTIONS_DEFINE= CAJA COMICS DJVU DVI KEYRING T1LIB XPS
+OPTIONS_DEFAULT=CAJA COMICS KEYRING XPS
DVI_DESC= DVI viewer support
T1LIB_DESC= T1LIB for TYPE1 fonts to DVI (Enables DVI)
CAJA_DESC= Caja plugin
+KEYRING_DESC= Keyring support
COMICS_DESC= Comic book archives support
DJVU_DESC= DJVU support
+XPS_DESC= XPS support
.include <bsd.port.options.mk>
+.if ${SLAVEPORT} == lite
+CONFIGURE_ARGS+=--disable-dbus
+.else
+CONFIGURE_ARGS+=--enable-dbus
+LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
+.endif
+
.if ${PORT_OPTIONS:MDVI} || ${PORT_OPTIONS:MT1LIB}
USE_TEX= base
@@ -67,6 +84,12 @@ CONFIGURE_ARGS+=--disable-dvi
PLIST_SUB+= DVI="@comment "
.endif
+.if ${PORT_OPTIONS:MKEYRING}
+LIB_DEPENDS+= libsecret-1.so:${PORTSDIR}/security/libsecret
+.else
+CONFIGURE_ARGS+=--without-keyring
+.endif
+
.if ${PORT_OPTIONS:MCAJA}
USE_MATE+= caja
CONFIGURE_ARGS+=--enable-caja
@@ -76,6 +99,15 @@ CONFIGURE_ARGS+=--disable-caja
PLIST_SUB+= CAJA="@comment "
.endif
+.if ${PORT_OPTIONS:MXPS}
+LIB_DEPENDS+= libgxps.so:${PORTSDIR}/graphics/libgxps
+CONFIGURE_ARGS+= --enable-xps
+PLIST_SUB+= XPS=""
+.else
+CONFIGURE_ARGS+= --disable-xps
+PLIST_SUB+= XPS="@comment "
+.endif
+
.if ${PORT_OPTIONS:MDJVU}
LIB_DEPENDS+= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre
CONFIGURE_ARGS+=--enable-djvu
Modified: head/graphics/atril/pkg-plist
==============================================================================
--- head/graphics/atril/pkg-plist Wed Jul 15 07:26:16 2015 (r392120)
+++ head/graphics/atril/pkg-plist Wed Jul 15 07:30:35 2015 (r392121)
@@ -57,10 +57,14 @@ include/atril/1.5.0/libview/ev-view.h
lib/atril/3/backends/libpdfdocument.so
lib/atril/3/backends/libpsdocument.so
lib/atril/3/backends/libtiffdocument.so
+%%XPS%%lib/atril/3/backends/libxpsdocument.so
lib/atril/3/backends/pdfdocument.atril-backend
lib/atril/3/backends/psdocument.atril-backend
lib/atril/3/backends/tiffdocument.atril-backend
+%%XPS%%lib/atril/3/backends/xpsdocument.atril-backend
%%CAJA%%lib/caja/extensions-2.0/libatril-properties-page.so
+lib/girepository-1.0/AtrilDocument-1.5.0.typelib
+lib/girepository-1.0/AtrilView-1.5.0.typelib
lib/libatrildocument.so
lib/libatrildocument.so.3
lib/libatrildocument.so.%%GTK3_VERSION%%
@@ -120,6 +124,8 @@ share/applications/atril.desktop
%%DATADIR%%/icons/hicolor/scalable/actions/object-rotate-right.svg
%%DATADIR%%/icons/hicolor/scalable/mimetypes/x-office-presentation.svg
share/dbus-1/services/org.mate.atril.Daemon.service
+share/gir-1.0/AtrilDocument-1.5.0.gir
+share/gir-1.0/AtrilView-1.5.0.gir
share/gtk-doc/html/atril/EggFindBar.html
share/gtk-doc/html/atril/EvFileMonitor.html
share/gtk-doc/html/atril/EvHistory.html
More information about the svn-ports-head
mailing list