1SUMMARY="A Qt WebKit Web Page Rendering Capture Utility" 2DESCRIPTION="CutyCapt is a Qt and WebKit based command-line utility that \ 3captures WebKit's rendering of a web page into various bitmap, vector, and \ 4other file formats." 5HOMEPAGE="https://github.com/hoehrmann/CutyCapt" 6COPYRIGHT="2003-2013 Bjoern Hoehrmann" 7LICENSE="GNU LGPL v2.1" 8REVISION="1" 9srcGitRev="bea8c782dba815ff7f2d688d113b05e3c2fe82f7" 10SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" 11CHECKSUM_SHA256="32468530e153ab62488c50f76b83c9c79f3995fd62ef92588dec632252f9be37" 12SOURCE_FILENAME="cutycapt-$srcGitRev.tar.gz" 13SOURCE_DIR="CutyCapt-$srcGitRev" 14PATCHES="cutycapt-$portVersion.patchset" 15 16ARCHITECTURES="all !x86_gcc2" 17SECONDARY_ARCHITECTURES="x86" 18 19commandSuffix=$secondaryArchSuffix 20commandBinDir=$binDir 21if [ "$targetArchitecture" = x86_gcc2 ]; then 22 commandSuffix= 23 commandBinDir=$prefix/bin 24fi 25 26PROVIDES=" 27 cutycapt$secondaryArchSuffix = $portVersion 28 cmd:cutycapt$commandSuffix = $portVersion 29 " 30REQUIRES=" 31 haiku$secondaryArchSuffix 32 lib:libGL$secondaryArchSuffix 33 lib:libQt5Core$secondaryArchSuffix 34 lib:libQt5Gui$secondaryArchSuffix 35 lib:libQt5Network$secondaryArchSuffix 36 lib:libQt5PrintSupport$secondaryArchSuffix 37 lib:libQt5Svg$secondaryArchSuffix 38 lib:libQt5WebKit$secondaryArchSuffix 39 lib:libQt5WebKitWidgets$secondaryArchSuffix 40 lib:libQt5Widgets$secondaryArchSuffix 41 " 42 43BUILD_REQUIRES=" 44 haiku${secondaryArchSuffix}_devel 45 devel:libGL$secondaryArchSuffix 46 devel:libQt5Core$secondaryArchSuffix 47 devel:libQt5Gui$secondaryArchSuffix 48 devel:libQt5Network$secondaryArchSuffix 49 devel:libQt5PrintSupport$secondaryArchSuffix 50 devel:libQt5Svg$secondaryArchSuffix 51 devel:libQt5WebKit$secondaryArchSuffix 52 devel:libQt5WebKitWidgets$secondaryArchSuffix 53 devel:libQt5Widgets$secondaryArchSuffix 54 " 55BUILD_PREREQUIRES=" 56 cmd:gcc$secondaryArchSuffix 57 cmd:ld$secondaryArchSuffix 58 cmd:make 59 cmd:pkg_config$secondaryArchSuffix 60 cmd:qmake$secondaryArchSuffix >= 5 61 " 62 63defineDebugInfoPackage cutycapt$secondaryArchSuffix \ 64 "$commandBinDir"/CutyCapt 65 66BUILD() 67{ 68 qmake . 69 make $jobArgs 70} 71 72INSTALL() 73{ 74 install -d "$commandBinDir" 75 install -t "$commandBinDir" CutyCapt 76} 77