mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/vulkan-tools to 1.0.30.0-2
This commit is contained in:
parent
9868d41f37
commit
ea8db8c842
1 changed files with 4 additions and 32 deletions
|
@ -7,47 +7,19 @@
|
|||
pkgbase=vulkan-tools
|
||||
pkgname=(vulkan-trace vulkan-extra-layers)
|
||||
pkgver=1.0.30.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=(i686 x86_64)
|
||||
url="http://lunarg.com/"
|
||||
license=('custom')
|
||||
depends=()
|
||||
makedepends=(git cmake wget python-lxml libxcb imagemagick)
|
||||
source=("vulkanTools-sdk-${pkgver}::https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz"
|
||||
'git://github.com/KhronosGroup/glslang.git#commit=81cd764b5ffc475bc73f1fb35f75fd1171bb2343'
|
||||
'git://github.com/KhronosGroup/SPIRV-Tools.git#commit=923a4596b44831a07060df45caacb522613730c9'
|
||||
'git://github.com/KhronosGroup/SPIRV-Headers#commit=33d41376d378761ed3a4c791fc4b647761897f26')
|
||||
sha256sums=('7cabc5e25ec0b8873f9ba44755ba6ec935b66305e3f58761d943be10c694df4b'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
source=("vulkanTools-sdk-${pkgver}::https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz")
|
||||
sha256sums=('7cabc5e25ec0b8873f9ba44755ba6ec935b66305e3f58761d943be10c694df4b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/VulkanTools-sdk-${pkgver}"
|
||||
|
||||
# reproduce some of the update_external_sources.sh script
|
||||
rm -rf external && mkdir external && cd external
|
||||
git clone ${srcdir}/glslang
|
||||
git clone ${srcdir}/SPIRV-Tools spirv-tools
|
||||
pushd spirv-tools
|
||||
git clone ${srcdir}/SPIRV-Headers external/spirv-headers
|
||||
popd
|
||||
|
||||
pushd glslang
|
||||
rm -rf build ; mkdir build ; cd build
|
||||
cmake -D CMAKE_BUILD_TYPE=Release ..
|
||||
cmake -D CMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install
|
||||
popd
|
||||
|
||||
pushd spirv-tools
|
||||
rm -rf build ; mkdir build ; cd build
|
||||
cmake -D CMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
popd
|
||||
|
||||
cd "${srcdir}/VulkanTools-sdk-${pkgver}"
|
||||
./update_external_sources.sh --glslang --spirv-tools
|
||||
|
||||
rm -rf build ; mkdir build ; cd build
|
||||
cmake \
|
||||
|
|
Loading…
Reference in a new issue