2015-03-27 08:42:18 +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="http://haikuware.ru/software/djvuviewer"
|
2018-04-01 11:13:31 +00:00
|
|
|
COPYRIGHT="2005-2018 3dEyes**"
|
2016-02-17 19:26:37 +00:00
|
|
|
LICENSE="GNU GPL v2"
|
2018-04-01 11:13:31 +00:00
|
|
|
REVISION="5"
|
|
|
|
SOURCE_URI="https://github.com/threedeyes/DjVuViewer/archive/$portVersion.tar.gz"
|
2018-08-03 11:38:48 +00:00
|
|
|
CHECKSUM_SHA256="6d2ffc500fd63c4c0a7fa2d996e3b0598820e6b709c06b36bf22e772e23a0c46"
|
2018-04-01 11:13:31 +00:00
|
|
|
SOURCE_FILENAME="DjVuViewer-$portVersion.tar.gz"
|
|
|
|
SOURCE_DIR="DjVuViewer-$portVersion"
|
2016-02-17 19:26:37 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2015-03-29 11:51:12 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
2015-03-27 08:42:18 +00:00
|
|
|
|
|
|
|
PROVIDES="
|
2015-03-29 11:51:12 +00:00
|
|
|
djvutranslator$secondaryArchSuffix = $portVersion
|
|
|
|
addon:DjVuTranslator$secondaryArchSuffix = $portVersion
|
2015-03-27 08:42:18 +00:00
|
|
|
"
|
|
|
|
REQUIRES="
|
2015-03-29 11:51:12 +00:00
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libdjvulibre$secondaryArchSuffix
|
2015-03-27 08:42:18 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
2015-03-29 11:51:12 +00:00
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libdjvulibre$secondaryArchSuffix
|
2015-03-27 08:42:18 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
2015-03-29 11:51:12 +00:00
|
|
|
cmd:g++$secondaryArchSuffix
|
2015-03-27 08:42:18 +00:00
|
|
|
cmd:make
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
make $jobArgs -f Makefile.Translator
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
mkdir -p $addOnsDir/Translators
|
|
|
|
cp DjVuTranslator $addOnsDir/Translators
|
|
|
|
}
|