DocumentViewer: update to the latest commit

This commit is contained in:
Sergei Reznikov
2015-03-12 23:12:09 +03:00
parent ae9aec2505
commit 89942b9588

View File

@@ -1,12 +1,10 @@
SUMMARY="A viewer supporting PDF and DJVU Files"
DESCRIPTION="DocumentViewer is a viewer that supports PDF and DJVU Files."
SUMMARY="A viewer supporting PDF and DJVU files"
DESCRIPTION="DocumentViewer is a viewer that supports PDF and DJVU files."
LICENSE="MIT"
COPYRIGHT="2010-2014 Haiku, Inc"
HOMEPAGE="http://github.com/HaikuArchives/DocumentViewer/"
SRC_URI="https://github.com/HaikuArchives/DocumentViewer/archive/eac703f.tar.gz"
REVISION="3"
SOURCE_DIR="DocumentViewer-eac703ff0c76c2bca660fc64eab2ec2739f331a4"
CHECKSUM_SHA256="8ab465d2d411d9a75d0d185f710a739b6b5749bf5b68a667222e315ad6879294"
HOMEPAGE="http://github.com/HaikuArchives/DocumentViewer"
SRC_URI="git://github.com/HaikuArchives/DocumentViewer#044c2f3"
REVISION="4"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -46,17 +44,19 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:find
cmd:g++$secondaryArchSuffix
cmd:jam
cmd:make
makefile_engine
"
BUILD()
{
jam -q $jobArgs
cd application
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp application/DocumentViewer $appsDir
cp application/objects/DocumentViewer $appsDir
addAppDeskbarSymlink $appsDir/DocumentViewer
}