63 lines
1.6 KiB
Bash
63 lines
1.6 KiB
Bash
SUMMARY="A viewer for DjVu files"
|
|
DESCRIPTION="
|
|
This app is a viewer 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.
|
|
|
|
Main features:
|
|
* Multilingual user interface
|
|
* Themes
|
|
* Ability to save selected page in any available format through the use of \
|
|
Translators
|
|
* Fullscreen mode
|
|
* PgUp/PgDown navigation
|
|
* Smooth scaling based on Haiku's ShowImage filter
|
|
* Ability to go to specific page number"
|
|
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"
|
|
CHECKSUM_SHA256="a444c25bf889407ccdbb5a1250f37cf2122990e99894057f768dcb180088f5d9"
|
|
SOURCE_DIR="DjVuViewer-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
djvuviewer = $portVersion
|
|
app:DjVuViewer = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libdjvulibre
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libdjvulibre
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++
|
|
cmd:make
|
|
cmd:yasm
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/DjVuViewer
|
|
cp DjVuViewer $appsDir/DjVuViewer
|
|
cp -r Languages $appsDir/DjVuViewer
|
|
cp -r Themes $appsDir/DjVuViewer
|
|
addAppDeskbarSymlink $appsDir/DjVuViewer/DjVuViewer
|
|
}
|