blob: ebd635ef69b95668abd8ed6ba1c33c76770bff64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Hubert Jarosz <marqin.pl+aur at gmail dot com> PGP: 0xFFECF63C1AAB83FF
pkgname=renderdoc-git
pkgver=1.27
pkgrel=1
pkgdesc="OpenGL and Vulkan debugging tool"
arch=(i686 x86_64)
url="https://github.com/baldurk/renderdoc"
license=("MIT")
makedepends=("git" "cmake" "ninja" "python")
depends=("wayland" "libx11" "libxcb" "mesa" "libgl" "qt5-base" "qt5-svg" "qt5-x11extras" "xcb-util-keysyms" "pcre")
source=("git+https://github.com/baldurk/renderdoc")
sha256sums=('SKIP')
conflicts=('renderdoc')
provides=("renderdoc=${pkgver%+*}")
pkgver() {
cd "${srcdir}"/renderdoc
git describe --always --abbrev=10 HEAD |
sed 's/^v//; s/-/+/; s/-/./'
}
build() {
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_VERSION_DIST_CONTACT="https://aur.archlinux.org/packages/renderdoc-git" \
-DBUILD_VERSION_DIST_NAME="Arch" \
-DBUILD_VERSION_DIST_VER="${pkgver}" \
-S renderdoc -B build \
-G Ninja
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 renderdoc/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|