2014-09-04 11:04:08 +02:00
|
|
|
# Created by: Zsolt Udvari <udvzsolt@gmail.com>
|
|
|
|
|
|
|
|
PORTNAME= zathura-pdf-mupdf
|
2019-08-14 15:31:43 +02:00
|
|
|
DISTVERSION= 0.3.5
|
2021-01-07 20:23:00 +01:00
|
|
|
PORTREVISION= 12
|
2014-09-04 11:04:08 +02:00
|
|
|
CATEGORIES= graphics
|
2020-07-21 21:53:03 +02:00
|
|
|
MASTER_SITES= https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/ \
|
2019-08-14 15:31:43 +02:00
|
|
|
http://freebsd.uzsolt.hu/src/
|
2014-09-04 11:04:08 +02:00
|
|
|
|
2017-07-04 21:41:21 +02:00
|
|
|
MAINTAINER= uzsolt@uzsolt.hu
|
2014-09-04 11:04:08 +02:00
|
|
|
COMMENT= MuPDF render PDF plugin for Zathura PDF viewer
|
|
|
|
|
2016-01-24 13:01:20 +01:00
|
|
|
LICENSE= ZLIB
|
2014-09-04 11:04:08 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2017-02-07 14:39:59 +01:00
|
|
|
BUILD_DEPENDS= zathura:graphics/zathura
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= zathura:graphics/zathura
|
|
|
|
LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \
|
2017-01-25 17:13:16 +01:00
|
|
|
libfreetype.so:print/freetype2 \
|
2017-02-07 14:39:59 +01:00
|
|
|
libgirara-gtk3.so:x11-toolkits/girara \
|
2017-01-25 17:13:16 +01:00
|
|
|
libharfbuzz.so:print/harfbuzz \
|
2017-02-07 14:39:59 +01:00
|
|
|
libmupdf.so:graphics/mupdf \
|
|
|
|
libopenjp2.so:graphics/openjpeg
|
2014-09-04 11:04:08 +02:00
|
|
|
|
2019-02-24 01:44:49 +01:00
|
|
|
USES= compiler:c11 desktop-file-utils gnome jpeg \
|
|
|
|
meson pkgconfig tar:xz
|
|
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
|
|
|
|
|
|
|
|
MESON_ARGS= -Dlink-external=true
|
|
|
|
|
2018-07-14 09:38:30 +02:00
|
|
|
PLIST_FILES= lib/zathura/libpdf-mupdf.so \
|
|
|
|
share/applications/org.pwmt.zathura-pdf-mupdf.desktop \
|
|
|
|
share/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml
|
2014-09-04 11:04:08 +02:00
|
|
|
|
|
|
|
CONFLICTS_INSTALL= zathura-pdf-poppler-[0-9]*
|
|
|
|
|
2018-07-14 09:38:30 +02:00
|
|
|
post-patch:
|
2019-02-24 01:44:49 +01:00
|
|
|
${REINPLACE_CMD} "s@\(cc.find_library(.*\))@\1,dirs:'${PREFIX}/lib')@" \
|
|
|
|
${WRKSRC}/meson.build
|
|
|
|
${REINPLACE_CMD} "s@join_paths(datadir, \
|
|
|
|
'metainfo')@join_paths(datadir, 'appdata')@" ${WRKSRC}/meson.build
|
2014-09-04 11:04:08 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|