From 3d672d11ad2d7eedf80641c46df32968bcb28563 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Wed, 27 Jan 2016 09:11:55 +0100 Subject: [PATCH] mupdf: reformat recipes of releases 1.6 & 1.8 --- app-text/mupdf/mupdf-1.6.recipe | 52 +++++++++++++++------------------ app-text/mupdf/mupdf-1.8.recipe | 45 +++++++++++++--------------- 2 files changed, 45 insertions(+), 52 deletions(-) diff --git a/app-text/mupdf/mupdf-1.6.recipe b/app-text/mupdf/mupdf-1.6.recipe index 4b267911b..da817cdc3 100644 --- a/app-text/mupdf/mupdf-1.6.recipe +++ b/app-text/mupdf/mupdf-1.6.recipe @@ -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 - " diff --git a/app-text/mupdf/mupdf-1.8.recipe b/app-text/mupdf/mupdf-1.8.recipe index e0da14d64..e9499ca22 100644 --- a/app-text/mupdf/mupdf-1.8.recipe +++ b/app-text/mupdf/mupdf-1.8.recipe @@ -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 - "