summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0092dcfd9e3..26eb5fe557f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,21 @@
pkgname=renderdoc
pkgver=0.34
-pkgrel=2
+pkgrel=3
pkgdesc="OpenGL and Vulkan debugging tool"
arch=(i686 x86_64)
url="https://github.com/baldurk/renderdoc"
license=("MIT")
makedepends=("cmake")
depends=("libx11" "libxcb" "mesa" "libgl" "qt5-base" "qt5-svg" "qt5-x11extras" "xcb-util-keysyms")
-source=("https://github.com/baldurk/renderdoc/archive/v${pkgver}.tar.gz")
-sha384sums=("1e507108fd1b4bcbf1161a66095ffa19a38a099fc301fd5ed206769f7609c4da4b45522dd63ad7825bfd523b7c35442a")
+source=("https://github.com/baldurk/renderdoc/archive/v${pkgver}.tar.gz"
+ "0001-Avoid-calling-XOpenDisplay-multiple-times-fixes-cras.patch")
+sha384sums=("1e507108fd1b4bcbf1161a66095ffa19a38a099fc301fd5ed206769f7609c4da4b45522dd63ad7825bfd523b7c35442a"
+ "4113c5bf7293e9fdc1cf140a79620a53ee1a7d08b9ba932088a5c2112d43cddd4425a6bbc134409eb8e2969e68c86c19")
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i "${srcdir}/0001-Avoid-calling-XOpenDisplay-multiple-times-fixes-cras.patch"
+}
build() {
cmake -DCMAKE_BUILD_TYPE=Release \