mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
CutyCapt: new recipe (#2517)
This commit is contained in:
76
net-print/cutycapt/cutycapt-1.0_20130715.recipe
Normal file
76
net-print/cutycapt/cutycapt-1.0_20130715.recipe
Normal file
@@ -0,0 +1,76 @@
|
||||
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"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user