69 lines
1.7 KiB
Bash
69 lines
1.7 KiB
Bash
SUMMARY="Tools for tracing OpenGL, Direct3D, and other graphics APIs"
|
|
DESCRIPTION="apitrace consists of a set of tools to:
|
|
* trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs calls to a file;
|
|
* replay OpenGL and OpenGL ES calls from a file;
|
|
* inspect OpenGL state at any call while retracing;
|
|
* visualize and edit trace files."
|
|
HOMEPAGE="https://github.com/apitrace/apitrace/"
|
|
COPYRIGHT="2007-2012 VMware, Inc.
|
|
2011 Intel Corporation
|
|
2011 LunarG, Inc.
|
|
2011 Zack Rusin
|
|
2011-2012 Jose Fonseca"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/apitrace/apitrace/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="2103386d747d34f3d6fb1d01fde9078a45ad2e9976afab3a7489c95b08dde0a2"
|
|
PATCHES="apitrace-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
apitrace$secondaryArchSuffix = $portVersion
|
|
cmd:apitrace$secondaryArchSuffix = $portVersion
|
|
cmd:qapitrace$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libQt5WebKitWidgets$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libsnappy$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libQt5WebKitWidgets$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
devel:libsnappy$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p haiku_build && cd haiku_build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=$prefix
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd haiku_build
|
|
make install
|
|
|
|
mkdir -p $docDir
|
|
mv $prefix/share/doc/* $docDir/
|
|
rm -rf $prefix/share
|
|
}
|