2018-05-20 14:54:52 +00:00
|
|
|
SUMMARY="A Qt WebKit Web Page Rendering Capture Utility"
|
|
|
|
DESCRIPTION="CutyCapt is a Qt and WebKit based command-line utility that \
|
|
|
|
captures WebKit's rendering of a web page into various bitmap, vector, and \
|
|
|
|
other file formats."
|
|
|
|
HOMEPAGE="https://github.com/hoehrmann/CutyCapt"
|
|
|
|
COPYRIGHT="2003-2013 Bjoern Hoehrmann"
|
|
|
|
LICENSE="GNU LGPL v2.1"
|
|
|
|
REVISION="1"
|
|
|
|
srcGitRev="bea8c782dba815ff7f2d688d113b05e3c2fe82f7"
|
|
|
|
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
|
|
|
CHECKSUM_SHA256="32468530e153ab62488c50f76b83c9c79f3995fd62ef92588dec632252f9be37"
|
|
|
|
SOURCE_FILENAME="cutycapt-$srcGitRev.tar.gz"
|
|
|
|
SOURCE_DIR="CutyCapt-$srcGitRev"
|
|
|
|
PATCHES="cutycapt-$portVersion.patchset"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
2018-05-20 14:54:52 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
|
|
commandBinDir=$binDir
|
|
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
|
|
commandSuffix=
|
|
|
|
commandBinDir=$prefix/bin
|
|
|
|
fi
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
cutycapt$secondaryArchSuffix = $portVersion
|
|
|
|
cmd:cutycapt$commandSuffix = $portVersion
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libGL$secondaryArchSuffix
|
|
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
|
|
lib:libQt5Svg$secondaryArchSuffix
|
|
|
|
lib:libQt5WebKit$secondaryArchSuffix
|
|
|
|
lib:libQt5WebKitWidgets$secondaryArchSuffix
|
|
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libGL$secondaryArchSuffix
|
|
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
|
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
|
|
|
devel:libQt5Svg$secondaryArchSuffix
|
|
|
|
devel:libQt5WebKit$secondaryArchSuffix
|
|
|
|
devel:libQt5WebKitWidgets$secondaryArchSuffix
|
|
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
cmd:ld$secondaryArchSuffix
|
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
cmd:qmake$secondaryArchSuffix >= 5
|
|
|
|
"
|
|
|
|
|
|
|
|
defineDebugInfoPackage cutycapt$secondaryArchSuffix \
|
|
|
|
"$commandBinDir"/CutyCapt
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
qmake .
|
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
install -d "$commandBinDir"
|
|
|
|
install -t "$commandBinDir" CutyCapt
|
|
|
|
}
|