mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* 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
71 lines
1.9 KiB
Bash
71 lines
1.9 KiB
Bash
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/"
|
|
COPYRIGHT="1997 Benoit Triquet
|
|
1999-2000 Hubert Figuiere
|
|
2000-2011 Michael Pfeiffer
|
|
2013-2016 waddlesplash"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6e36c1607c5bc13daadd63d87fe55653159b672a6480be5ccf43fbc91d350b43"
|
|
SOURCE_DIR="BePDF-$portVersion"
|
|
if [ "$effectiveTargetArchitecture" = x86_64 ]; then
|
|
PATCHES="bepdf-$portVersion.patchset"
|
|
fi
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
|
|
SOURCE_URI_2="https://haikuarchives.github.io/BePDF/English.pdf#noarchive"
|
|
CHECKSUM_SHA256_2="963fd77bad6f2018e68724d2904f5a5bed922491e281af57a6fdd7854eecb3ab"
|
|
SOURCE_URI_3="https://haikuarchives.github.io/BePDF/Deutsch.pdf#noarchive"
|
|
CHECKSUM_SHA256_3="54c30bf2907bdd340fe0989a844f949102eeefe8acd53c62cf44e276ac4d08f0"
|
|
SOURCE_URI_4="https://haikuarchives.github.io/BePDF/Espa%C3%B1ol.pdf#noarchive"
|
|
CHECKSUM_SHA256_4="d753d20d842ee378e7fd17143d0eb9d4996d0ff9026d3cd86667df6765aa4e2a"
|
|
SOURCE_URI_5="https://haikuarchives.github.io/BePDF/Italiano.pdf#noarchive"
|
|
CHECKSUM_SHA256_5="994998838d6a2121e83f99b9d3f1802500f29b6061c58a88fc44470d50087e93"
|
|
|
|
PROVIDES="
|
|
bepdf = $portVersion
|
|
app:BePDF = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libfreetype
|
|
lib:libz
|
|
lib:libbz2
|
|
lib:libpng16
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libfreetype
|
|
devel:libz
|
|
devel:libbz2
|
|
devel:libpng16
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:freetype_config
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./build.sh
|
|
cp ../../sources-2/*.pdf dist/docs/
|
|
cp ../../sources-3/*.pdf dist/docs/
|
|
cp ../../sources-4/*.pdf dist/docs/
|
|
cp ../../sources-5/*.pdf dist/docs/
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp -dR dist $appsDir/BePDF
|
|
|
|
addAppDeskbarSymlink $appsDir/BePDF/BePDF
|
|
}
|