2018-07-09 14:15:17 +00:00
|
|
|
SUMMARY="A translator for DjVu files"
|
|
|
|
DESCRIPTION="
|
|
|
|
This is a translator for DjVu files. DjVu is a computer file format designed \
|
|
|
|
primarily to store scanned documents, especially those containing a \
|
|
|
|
combination of text, line drawings, indexed color images, and photographs. \
|
|
|
|
It uses technologies such as image layer separation of text and \
|
|
|
|
background/images, progressive loading, arithmetic coding, and lossy \
|
|
|
|
compression for bitonal (monochrome) images. This allows for high-quality, \
|
|
|
|
readable images to be stored in a minimum of space, so that they can be made \
|
|
|
|
available on the web."
|
|
|
|
HOMEPAGE="https://github.com/threedeyes/DjVuViewer"
|
|
|
|
COPYRIGHT="2005-2018 3dEyes**"
|
|
|
|
LICENSE="GNU GPL v2"
|
|
|
|
REVISION="1"
|
|
|
|
SOURCE_URI="https://github.com/threedeyes/DjVuViewer/archive/$portVersion.tar.gz"
|
2018-08-03 11:38:48 +00:00
|
|
|
CHECKSUM_SHA256="a444c25bf889407ccdbb5a1250f37cf2122990e99894057f768dcb180088f5d9"
|
2018-07-09 14:15:17 +00:00
|
|
|
SOURCE_FILENAME="DjVuViewer-$portVersion.tar.gz"
|
|
|
|
SOURCE_DIR="DjVuViewer-$portVersion"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2018-07-09 14:15:17 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
djvutranslator$secondaryArchSuffix = $portVersion
|
|
|
|
addon:DjVuTranslator$secondaryArchSuffix = $portVersion
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libdjvulibre$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libdjvulibre$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:g++$secondaryArchSuffix
|
|
|
|
cmd:make
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
make $jobArgs -f Makefile.Translator
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
mkdir -p $addOnsDir/Translators
|
|
|
|
cp DjVuTranslator $addOnsDir/Translators
|
|
|
|
}
|