summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHubert Jarosz2016-08-08 14:41:37 +0200
committerHubert Jarosz2016-08-08 14:41:37 +0200
commit1611b0c6724b1971b1bf967e44fa4869e8559f8a (patch)
tree1993841cc637ca5839f3649f05957a2bf563d7d0 /PKGBUILD
parent843fd9686f596b9e2cc3f5d3b837b3ce160c7fef (diff)
downloadaur-1611b0c6724b1971b1bf967e44fa4869e8559f8a.tar.gz
apply patches for g++ and make it default
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8d7347c1d08..a59f1a883b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,27 @@
pkgname=renderdoc
pkgver=0.30
-pkgrel=2
+pkgrel=3
pkgdesc="OpenGL and Vulkan debugging tool"
arch=(i686 x86_64)
url="https://github.com/baldurk/renderdoc"
license=("MIT")
-makedepends=("clang" "cmake" "vim")
+makedepends=("cmake" "vim")
depends=("qt5-x11extras" "libx11" "libxcb" "xcb-util-keysyms" "mesa" "mesa-libgl" "qt5-base")
source=("https://github.com/baldurk/renderdoc/archive/v$pkgver.tar.gz"
- "$pkgname.desktop")
+ "$pkgname.desktop"
+ "patch.diff")
sha384sums=("c852283b5124ca53193f898fde5b4089db745231fae4a7ebed824e84f34aa659d3508b8074f99ac7db1e3587c3fbbba3"
- "965214960726d34efd08d82a879c75e20e49769e5d7c7d996b570f2754f4688a7331267e0a0e2c54dea1eea3c1ad9e38")
+ "965214960726d34efd08d82a879c75e20e49769e5d7c7d996b570f2754f4688a7331267e0a0e2c54dea1eea3c1ad9e38"
+ "d1bbd8906e0a1c458e4d8a3efb393f2a12854ebb7f5d31e72e2307586efb2628b61a06e66dd3016e7e683f83e9452e60")
+
+prepare() {
+ patch -d "$pkgname-$pkgver" -i "../patch.diff" -p1
+}
build() {
cd $pkgname-$pkgver
- make CXX=clang++
+ make
}
package() {