BePDF: reordered recipes, enabled x64 for 2.x, patch (#981)

* BePDF: reordered recipes, enabled x64 for 2.0, patch

* x64 support for the latest BePDF version

* BePDF : forgot to add the actual patch

* Forgot the arch.

* Reversing patch logic

* Increment revision
This commit is contained in:
miqlas
2017-01-01 18:06:23 +01:00
committed by waddlesplash
parent 5235c588cc
commit e781c854be
5 changed files with 90 additions and 14 deletions

View File

@@ -2,17 +2,21 @@ SUMMARY="The PDF viewer for Haiku"
DESCRIPTION="BePDF is a PDF viewer for Haiku. Besides viewing, it supports \
annotating and user-defined bookmarking for unencrypted PDFs."
HOMEPAGE="https://haikuarchives.github.io/BePDF/"
COMMIT="38b4cb53f073024f9b2e47f56d2feb9bcd91ddca"
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/$COMMIT.tar.gz"
CHECKSUM_SHA256="d2f9f81b8b43a37f52dbda12967cc67eabd6c0f7812e85b33d6dc6a2319463ca"
SOURCE_DIR="BePDF-$COMMIT"
COPYRIGHT="1997 Benoit Triquet
1999-2000 Hubert Figuiere
2000-2011 Michael Pfeiffer
2013-2016 waddlesplash"
LICENSE="GNU GPL v2"
REVISION="1"
ARCHITECTURES="!x86_gcc2 x86"
REVISION="2"
COMMIT="38b4cb53f073024f9b2e47f56d2feb9bcd91ddca"
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/$COMMIT.tar.gz"
CHECKSUM_SHA256="d2f9f81b8b43a37f52dbda12967cc67eabd6c0f7812e85b33d6dc6a2319463ca"
SOURCE_DIR="BePDF-$COMMIT"
if [ "$effectiveTargetArchitecture" = x86_64 ]; then
PATCHES="bepdf-$portVersion.patchset"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
@@ -26,6 +30,7 @@ REQUIRES="
lib:libbz2$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfreetype$secondaryArchSuffix