2019-07-22 15:55:28 +00:00
|
|
|
# Maintainer: Bhushan Shah <bshah@kde.org>
|
|
|
|
pkgname=apitrace
|
2020-02-24 20:00:14 +00:00
|
|
|
pkgver=9.0
|
|
|
|
pkgrel=0
|
2019-07-22 15:55:28 +00:00
|
|
|
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"
|
2020-02-24 20:00:14 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/apitrace/apitrace/archive/$pkgver.tar.gz
|
|
|
|
0001-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch"
|
2019-07-22 15:55:28 +00:00
|
|
|
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
|
|
|
build() {
|
2020-02-24 20:00:14 +00:00
|
|
|
cmake -B "$builddir"/build \
|
2019-07-22 15:55:28 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-02-24 20:00:14 +00:00
|
|
|
make -C build
|
2019-07-22 15:55:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-02-24 20:00:14 +00:00
|
|
|
DESTDIR="$pkgdir" make -C build install
|
2019-07-22 15:55:28 +00:00
|
|
|
}
|
2019-10-10 17:15:08 +00:00
|
|
|
|
2020-02-24 20:00:14 +00:00
|
|
|
sha512sums="4234bc2d14378b1bd9554752d83f8ce0703b4e08c3edc85769dc988a2b3a44b8e55d2f5856954658155a11d69802849bae6350ed5031a5916c7ac7bc7287918c apitrace-9.0.tar.gz
|
|
|
|
1018d6d23946c42936c20a7ae06d9a1011ca10d31159e991564d000969783dc171cb9d71e53fe22915183624b818bf8a361fbd1a01c521b2b245341504407eac 0001-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch"
|