2019-07-22 15:55:28 +00:00
|
|
|
# Contributor: Bhushan Shah <bshah@kde.org>
|
|
|
|
# Maintainer: Bhushan Shah <bshah@kde.org>
|
|
|
|
pkgname=apitrace
|
|
|
|
pkgver=8.0
|
2019-10-10 17:15:08 +00:00
|
|
|
pkgrel=1
|
2019-07-22 15:55:28 +00:00
|
|
|
_commit="81c73a74860a45cbc21da9925eb04e1edad646d5"
|
|
|
|
pkgdesc="Tools for tracing OpenGL, Direct3D, and other graphics APIs"
|
|
|
|
arch="all"
|
|
|
|
url="http://apitrace.github.io/"
|
|
|
|
license="MIT"
|
2019-10-10 17:25:19 +00:00
|
|
|
depends_dev="mesa-dev zlib-dev libpng-dev libx11-dev linux-headers qt5-qtbase-dev"
|
2019-07-22 15:55:28 +00:00
|
|
|
makedepends="$depends_dev cmake python3"
|
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/apitrace/apitrace/archive/$_commit.tar.gz
|
|
|
|
musl-fixes.patch"
|
|
|
|
subpackages="$pkgname-doc"
|
2019-10-10 17:15:08 +00:00
|
|
|
options="!check" # Tests fail under QEMU
|
2019-07-22 15:55:28 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
2019-10-10 17:15:08 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
mkdir "$builddir"/build
|
|
|
|
}
|
|
|
|
|
2019-07-22 15:55:28 +00:00
|
|
|
build() {
|
2019-10-10 17:15:08 +00:00
|
|
|
cd "$builddir"/build
|
|
|
|
cmake "$builddir" \
|
2019-07-22 15:55:28 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-10-10 17:15:08 +00:00
|
|
|
cd "$builddir"/build
|
2019-07-22 15:55:28 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
}
|
2019-10-10 17:15:08 +00:00
|
|
|
|
2019-07-22 15:55:28 +00:00
|
|
|
sha512sums="2c02106730e4c46c929dfa1b475691bbc72eaf232625276540ab46bbc80728f8b3d230c4297bdcbb11d8396490ed1f91ad592bb404c52fe2c63ef5840678eb32 apitrace-81c73a74860a45cbc21da9925eb04e1edad646d5.tar.gz
|
|
|
|
a204b51654d9adc484657ec68da6f89cbcdc4dd3a810d024979dcbeacffa5867d3e5ce0b40fcdc9133b36e8927d2c7672ef5c3a40db3dee0813fe2766130e21b musl-fixes.patch"
|