freebsd-ports/graphics/apvlv/Makefile
Koop Mast 563f73ccfe Update poppler to 0.30.0 [1].
Make sure we use openjpeg1 in poppler, while openjpeg2 support
was added there still bugs in openjpeg2 that need to be fixed.
Add patches to inkscape for API changes in poppler 0.29.0 [2].

PR:		196599 [1]
Submitted by:	olivierd@ [1]
Exp-run by:	antoine@
Obtained from:	upstream [2]
2015-02-03 12:28:23 +00:00

40 lines
995 B
Makefile

# Created by: Ju Pengfei <jupengfei@gmail.com>
# $FreeBSD$
PORTNAME= apvlv
PORTVERSION= 0.1.4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://cloud.github.com/downloads/naihe2010/apvlv/
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= xors@mailup.net
COMMENT= PDF/DJVU Viewer that behaves like Vim
LICENSE= GPLv2
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
USE_GNOME= gtk20
USES= cmake pkgconfig
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc \
-DMANDIR=${MANPREFIX}/man \
-DDOCDIR=${DOCSDIR} \
-DAPVLV_WITH_UMD=OFF \
-DAPVLV_WITH_TXT=ON
CFLAGS+= -pthread
LDFLAGS+= -pthread
OPTIONS_DEFINE= DJVU WEBKIT
DJVU_DESC= DjVu document support
DJVU_CMAKE_ON= -DAPVLV_WITH_DJVU=ON
DJVU_CMAKE_OFF= -DAPVLV_WITH_DJVU=OFF
DJVU_LIB_DEPENDS= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre
WEBKIT_CMAKE_ON= -DAPVLV_WITH_HTML=ON
WEBKIT_CMAKE_OFF= -DAPVLV_WITH_HTML=OFF
WEBKIT_LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
.include <bsd.port.mk>