diff options
author | Eric Engestrom | 2019-11-25 21:15:24 +0000 |
---|---|---|
committer | Eric Engestrom | 2019-11-25 21:15:24 +0000 |
commit | f70c4af216b7aaa0a4d9d1f504e122decf9f2a38 (patch) | |
tree | 069e3a66f13565cdcaac32be37d63aa59a881f37 | |
parent | 8f55341f1c0eeb50e5c57da7a87ff904b7407ca3 (diff) | |
download | aur-f70c4af216b7aaa0a4d9d1f504e122decf9f2a38.tar.gz |
fetch submodules with the other sources instead of doing that in prepare()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 11 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = swiftshader-git pkgdesc = High-performance CPU-based implementation of the Vulkan, OpenGL ES, and Direct3D 9 graphics APIs - pkgver = r4700.036463457e + pkgver = r4824.e7ce4e5391 pkgrel = 1 url = https://swiftshader.googlesource.com/SwiftShader arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch> pkgname=swiftshader-git -pkgver=r4700.036463457e +pkgver=r4824.e7ce4e5391 pkgrel=1 pkgdesc='High-performance CPU-based implementation of the Vulkan, OpenGL ES, and Direct3D 9 graphics APIs' arch=(x86_64) @@ -9,8 +9,10 @@ url=https://swiftshader.googlesource.com/SwiftShader provides=(swiftshader libgl opengl-driver vulkan-driver) conflicts=(swiftshader) license=(Apache) -source=("git+$url") -sha1sums=('SKIP') +source=("git+$url#branch=master" + git+https://github.com/google/googletest.git + git+https://github.com/ianlancetaylor/libbacktrace.git) +sha1sums=('SKIP' 'SKIP' 'SKIP') depends=() makedepends=(cmake ninja) @@ -22,7 +24,11 @@ pkgver() { } prepare() { - git -C SwiftShader submodule update --init + git -C SwiftShader submodule init + git -C SwiftShader config submodule."third_party/googletest".url "$srcdir/googletest" + git -C SwiftShader config submodule."third_party/libbacktrace/src".url "$srcdir/libbacktrace" + git -C SwiftShader submodule update + cmake \ -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ |