pmaports/main/apitrace/APKBUILD
Bart Ribbers 356e7ecb77
*/*: switch CMake buildtype to None (MR 1311)
This switch has happened in the Alpine repos quite a while ago and most
of the pmOS packages were using it already too, so let's switch over the
last ones as well.

This also cleans up the APKBUILDs where necessary
2020-06-26 11:31:37 +00:00

30 lines
1.1 KiB
Text

# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=apitrace
pkgver=9.0
pkgrel=1
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
make -C build
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="4234bc2d14378b1bd9554752d83f8ce0703b4e08c3edc85769dc988a2b3a44b8e55d2f5856954658155a11d69802849bae6350ed5031a5916c7ac7bc7287918c apitrace-9.0.tar.gz
1018d6d23946c42936c20a7ae06d9a1011ca10d31159e991564d000969783dc171cb9d71e53fe22915183624b818bf8a361fbd1a01c521b2b245341504407eac 0001-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch"