mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Updating BePDF to v2.1.4
+ removing "x86" from ARCHITECTURES
This commit is contained in:
68
haiku-apps/bepdf/bepdf-2.1.4.recipe
Normal file
68
haiku-apps/bepdf/bepdf-2.1.4.recipe
Normal file
@@ -0,0 +1,68 @@
|
||||
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-2018 Augustin Cavalier
|
||||
2019-2021 HaikuArchive Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="63dbfb3dc28aa63a039b825129fb79b25bdc95c802af515b610ed67a6097d978"
|
||||
SOURCE_DIR="BePDF-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
bepdf = $portVersion
|
||||
app:BePDF = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libbz2
|
||||
lib:libfreetype
|
||||
lib:libpng16
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libbz2
|
||||
devel:libfreetype
|
||||
devel:libpng16
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:freetype_config
|
||||
cmd:gcc
|
||||
cmd:htmldoc
|
||||
cmd:make
|
||||
# cmd:ps2pdf
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
pushd xpdf
|
||||
make $@
|
||||
popd
|
||||
pushd bepdf
|
||||
make $@
|
||||
make bindcatalogs
|
||||
popd
|
||||
|
||||
pushd docs
|
||||
sh make.sh
|
||||
popd
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp -dR dist $appsDir/BePDF
|
||||
cp -r docs-build $appsDir/BePDF/docs
|
||||
|
||||
addAppDeskbarSymlink $appsDir/BePDF/BePDF
|
||||
}
|
||||
Reference in New Issue
Block a user