2013-01-21 16:55:05 +01:00
|
|
|
# Description: Lightweight PDF and XPS viewer
|
|
|
|
# URL: http://www.mupdf.com/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2019-06-24 12:57:09 +02:00
|
|
|
# Depends on: glu libglvnd harfbuzz libjpeg-turbo xorg-libxi
|
2013-01-21 16:55:05 +01:00
|
|
|
|
|
|
|
name=mupdf
|
2020-05-06 15:25:00 +02:00
|
|
|
version=1.17.0
|
2017-12-14 13:31:58 +01:00
|
|
|
release=1
|
2018-10-09 13:21:45 +02:00
|
|
|
source=(https://mupdf.com/downloads/archive/$name-$version-source.tar.xz)
|
2013-01-21 16:55:05 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version-source
|
2017-01-08 13:58:04 +01:00
|
|
|
|
2019-05-07 14:47:03 +02:00
|
|
|
export USE_SYSTEM_LIBS='yes'
|
2017-01-08 13:58:04 +01:00
|
|
|
|
2019-05-07 14:47:03 +02:00
|
|
|
make install \
|
|
|
|
prefix=$PKG/usr \
|
|
|
|
mandir=$PKG/usr/share/man \
|
|
|
|
XCFLAGS="-fpic" \
|
|
|
|
USE_SYSTEM_JBIG2DEC='no' \
|
|
|
|
USE_SYSTEM_OPENJPEG='no' \
|
|
|
|
USE_SYSTEM_GLUT='no'
|
2017-01-08 13:58:04 +01:00
|
|
|
|
2018-04-20 10:49:57 +02:00
|
|
|
ln -s mupdf-gl $PKG/usr/bin/mupdf
|
2016-04-21 16:01:51 +02:00
|
|
|
rm -r $PKG/usr/share/doc
|
2018-10-09 13:21:45 +02:00
|
|
|
}
|