zathura-pdf-mupdf: actually build a working plugin

This commit is contained in:
Dominik Honnef 2014-07-30 00:07:48 +02:00
parent f045d01cd6
commit 02332d81ed
2 changed files with 3 additions and 14 deletions

View file

@ -1,11 +0,0 @@
--- config.mk.old 2014-07-08 12:47:10.902066090 +0200
+++ config.mk 2014-07-08 12:49:03.721723698 +0200
@@ -35,7 +35,7 @@
MUPDF_LIB ?= -lmupdf -lmujs
INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
-LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg
+LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -ljpeg
# flags
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)

View file

@ -1,12 +1,12 @@
# Template file for 'zathura-pdf-mupdf'
pkgname=zathura-pdf-mupdf
version=0.2.6
revision=3
revision=4
build_style=gnu-makefile
make_build_args="MUPDF_LIB=\"-lmujs\""
make_build_args="MUPDF_LIB=-lmupdf MUPDF_LIB+=-lmujs"
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config"
makedepends="mupdf-devel zathura-devel libressl-devel"
makedepends="mupdf-devel zathura-devel libressl-devel libopenjpeg2-devel"
conflicts="zathura-pdf-poppler>=0"
license="zlib"
homepage="http://pwmt.org/projects/zathura-pdf-mupdf/"