mupdf: reformat recipes of releases 1.6 & 1.8

This commit is contained in:
fbrosson
2016-01-27 09:11:55 +01:00
parent 53fa655d2b
commit 3d672d11ad
2 changed files with 45 additions and 52 deletions

View File

@@ -1,22 +1,24 @@
SUMMARY="A lightweight XPS and PDF rendering library"
DESCRIPTION="
The renderer in MuPDF is tailored for high quality anti-aliased graphics. It \
renders text with metrics and spacing accurate to within fractions of a pixel \
for the highest fidelity in reproducing the look of a printed page on screen.
DESCRIPTION="The renderer in MuPDF is tailored for high quality anti-aliased \
graphics. It renders text with metrics and spacing accurate to within \
fractions of a pixel for the highest fidelity in reproducing the look of a \
printed page on screen.
MuPDF is also small, fast, and yet complete. It supports PDF 1.7 with \
transparency, encryption, hyperlinks, annotations, searching and more. It also \
reads XPS and OpenXPS documents. MuPDF is written modularly, so features can \
be added on by integrators if they so desire.
"
HOMEPAGE="http://www.mupdf.com"
reads XPS/OpenXPS documents and CBZ (Comic Book archive) files."
HOMEPAGE="http://www.mupdf.com/"
COPYRIGHT="2006-2014 Artifex Software, Inc"
LICENSE="AGPL-3.0"
COPYRIGHT="2006-2013 Artifex Software, Inc"
SOURCE_URI="http://www.mupdf.com/downloads/mupdf-$portVersion-source.tar.gz"
SOURCE_DIR="mupdf-$portVersion-source"
CHECKSUM_SHA256="9813ee330950a641364181649ebd369c947adbcea9d41ed953ec5365640ea563"
REVISION="4"
SOURCE_URI="http://www.mupdf.com/downloads/archive/mupdf-$portVersion-source.tar.gz"
CHECKSUM_SHA256="9813ee330950a641364181649ebd369c947adbcea9d41ed953ec5365640ea563"
SOURCE_DIR="mupdf-$portVersion-source"
PATCHES="
mupdf-1.6.patchset
mupdf-1.6-openjpeg21-1.patch
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -35,6 +37,15 @@ REQUIRES="
lib:libopenjp2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
mupdf${secondaryArchSuffix}_devel = $portVersion
devel:libmupdf$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
mupdf$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libjbig2dec$secondaryArchSuffix
@@ -50,10 +61,6 @@ BUILD_PREREQUIRES="
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="
mupdf-1.6.patchset
mupdf-1.6-openjpeg21-1.patch
"
BUILD()
{
@@ -91,14 +98,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
mupdf${secondaryArchSuffix}_devel = $portVersion
devel:libmupdf$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
mupdf$secondaryArchSuffix == $portVersion
"

View File

@@ -5,17 +5,20 @@ fractions of a pixel for the highest fidelity in reproducing the look of a \
printed page on screen.
MuPDF is also small, fast, and yet complete. It supports PDF 1.7 with \
transparency, encryption, hyperlinks, annotations, searching and more. \
It also reads XPS and OpenXPS documents. MuPDF is written modularly, so \
features can be added on by integrators if they so desire."
HOMEPAGE="http://www.mupdf.com"
LICENSE="AGPL-3.0"
transparency, encryption, hyperlinks, annotations, searching and more. It also \
reads XPS/OpenXPS documents and CBZ (Comic Book archive) files."
HOMEPAGE="http://www.mupdf.com/"
COPYRIGHT="2006-2015 Artifex Software, Inc"
SOURCE_URI="http://www.mupdf.com/downloads/mupdf-$portVersion-source.tar.gz"
SOURCE_DIR="mupdf-$portVersion-source"
CHECKSUM_SHA256="a2a3c64d8b24920f87cf4ea9339a25abf7388496440f13b37482d1403c33c206"
LICENSE="AGPL-3.0"
REVISION="1"
SOURCE_URI="http://www.mupdf.com/downloads/archive/mupdf-$portVersion-source.tar.gz"
CHECKSUM_SHA256="a2a3c64d8b24920f87cf4ea9339a25abf7388496440f13b37482d1403c33c206"
SOURCE_DIR="mupdf-$portVersion-source"
PATCHES="
mupdf-1.7.patchset
mupdf-1.6-openjpeg21-1.patch
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -34,6 +37,15 @@ REQUIRES="
lib:libopenjp2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
mupdf${secondaryArchSuffix}_devel = $portVersion
devel:libmupdf$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
mupdf$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libjbig2dec$secondaryArchSuffix
@@ -49,10 +61,6 @@ BUILD_PREREQUIRES="
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="
mupdf-1.7.patchset
mupdf-1.6-openjpeg21-1.patch
"
BUILD()
{
@@ -90,14 +98,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
mupdf${secondaryArchSuffix}_devel = $portVersion
devel:libmupdf$secondaryArchSuffix = $portVersion compat >= 1
"
REQUIRES_devel="
mupdf$secondaryArchSuffix == $portVersion
"