mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
69 lines
1.7 KiB
Bash
69 lines
1.7 KiB
Bash
SUMMARY="A simple offline documentation browser inspired by Dash"
|
|
DESCRIPTION="Zeal is a cross-platform, open source, offline \
|
|
documentation browser for software developers, inspired by Dash Docs \
|
|
for macOS and iOS. Zeal has over 195+ docsets and are all compatible \
|
|
with Dash docsets."
|
|
HOMEPAGE="https://zealdocs.org"
|
|
COPYRIGHT="2013, 2017 Oleg Shparber"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/zealdocs/zeal/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="1f6b50026036923ae0cfbf3f4eb1066ee2fdaf0425d4c321203e0dd9506823fd"
|
|
PATCHES="zeal-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
zeal$secondaryArchSuffix = $portVersion
|
|
app:Zeal = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libarchive$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5WebKit$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libarchive$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
devel:libQt5WebKit$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:qmake$secondaryArchSuffix >= 5
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
/bin/qmake .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
# TODO Add a rdef icon for Zeal
|
|
mkdir -p $appsDir/Zeal
|
|
cp bin/zeal $appsDir/Zeal/Zeal
|
|
addAppDeskbarSymlink $appsDir/Zeal/Zeal
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|