pmaports/main/apitrace/APKBUILD

31 lines
1.1 KiB
Text
Raw Normal View History

# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=apitrace
2020-02-24 20:00:14 +00:00
pkgver=9.0
pkgrel=2
pkgdesc="Tools for tracing OpenGL, Direct3D, and other graphics APIs"
arch="all"
url="http://apitrace.github.io/"
license="MIT"
depends_dev="mesa-dev zlib-dev libpng-dev libx11-dev linux-headers qt5-qtbase-dev"
makedepends="$depends_dev cmake python3"
source="https://github.com/apitrace/apitrace/archive/$pkgver/apitrace-$pkgver.tar.gz
0001-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch
"
subpackages="$pkgname-doc"
options="!check" # Tests fail under QEMU
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
2020-02-24 20:00:14 +00:00
make -C build
}
package() {
2020-02-24 20:00:14 +00:00
DESTDIR="$pkgdir" make -C build install
}
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"