mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
bepdf: update to a version that builds.
- Docs are now included - However, ghostscript is not available, so we ship HTML docs for now.
This commit is contained in:
@@ -11,7 +11,7 @@ COPYRIGHT="1997 Benoit Triquet
|
||||
2013-2016 waddlesplash"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
SOURCE_URI_2="https://haikuarchives.github.io/BePDF/English.pdf#noarchive"
|
||||
CHECKSUM_SHA256_2="963fd77bad6f2018e68724d2904f5a5bed922491e281af57a6fdd7854eecb3ab"
|
||||
@@ -31,14 +31,14 @@ REQUIRES="
|
||||
lib:libfreetype
|
||||
lib:libz
|
||||
lib:libbz2
|
||||
lib:libpng
|
||||
lib:libpng16
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libfreetype
|
||||
devel:libz
|
||||
devel:libbz2
|
||||
devel:libpng
|
||||
devel:libpng16
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
|
||||
66
haiku-apps/bepdf/bepdf-2.0.1~beta1.recipe
Normal file
66
haiku-apps/bepdf/bepdf-2.0.1~beta1.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
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"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
bepdf$secondaryArchSuffix = $portVersion
|
||||
app:BePDF = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:freetype_config$secondaryArchSuffix
|
||||
cmd:htmldoc
|
||||
#cmd:ps2pdf # Ghostscript is not ported yet, so we can't generate PDF docs.
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
pushd xpdf
|
||||
make $@
|
||||
popd
|
||||
pushd bepdf
|
||||
make $@
|
||||
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