zathura-pdf-mupdf needs to pull in the new mupdf dependency, gumbo, otherwise
it has missing symbols. I guess I forgot to make update before testing.. Reported with an alternative diff proposal by Olivier Taïbi.
This commit is contained in:
parent
e34c150de3
commit
96cd1c6c8b
@ -1,7 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2020/11/06 15:37:02 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2020/11/10 11:40:23 sthen Exp $
|
||||
|
||||
V = 0.3.5
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
COMMENT = mupdf pdf plugin for zathura
|
||||
PROJECT = zathura-pdf-mupdf
|
||||
|
||||
@ -9,11 +9,13 @@ BUILD_DEPENDS = textproc/mupdf \
|
||||
textproc/zathura/core
|
||||
LIB_DEPENDS += graphics/jbig2dec \
|
||||
graphics/jpeg \
|
||||
graphics/openjp2
|
||||
graphics/openjp2 \
|
||||
www/gumbo
|
||||
|
||||
WANTLIB += cairo girara-gtk3 glib-2.0 harfbuzz jbig2dec
|
||||
WANTLIB += jpeg openjp2
|
||||
WANTLIB += gumbo jpeg openjp2
|
||||
|
||||
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib `pkg-config --libs libjpeg libopenjp2` -ljbig2dec"
|
||||
CONFIGURE_ARGS += -D link-external=true
|
||||
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
20
textproc/zathura/plugins/mupdf/patches/patch-meson_build
Normal file
20
textproc/zathura/plugins/mupdf/patches/patch-meson_build
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-meson_build,v 1.3 2020/11/10 11:40:23 sthen Exp $
|
||||
|
||||
Index: meson.build
|
||||
--- meson.build.orig
|
||||
+++ meson.build
|
||||
@@ -35,11 +35,13 @@ if get_option('link-external')
|
||||
libjpeg = dependency('libjpeg')
|
||||
libjbig2dec = cc.find_library('jbig2dec')
|
||||
libopenjp2 = dependency('libopenjp2')
|
||||
+ libgumbo = dependency('gumbo')
|
||||
|
||||
build_dependencies += [
|
||||
libjpeg,
|
||||
libjbig2dec,
|
||||
- libopenjp2
|
||||
+ libopenjp2,
|
||||
+ libgumbo
|
||||
]
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user