1
0
forked from ports/contrib

vulkan ports: Initial import

Import glslang, vulkan-headers, vulkan-loader, vulkan-tools and
vulkan-validation-layers ports.
This commit is contained in:
Predrag Ivanović 2018-07-25 18:51:28 +02:00
parent 0391d1e709
commit 48458c3217
15 changed files with 282 additions and 0 deletions

85
glslang/.footprint Normal file
View File

@ -0,0 +1,85 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/glslangValidator
-rwxr-xr-x root/root usr/bin/spirv-as
-rwxr-xr-x root/root usr/bin/spirv-cfg
-rwxr-xr-x root/root usr/bin/spirv-dis
-rwxr-xr-x root/root usr/bin/spirv-lesspipe.sh
-rwxr-xr-x root/root usr/bin/spirv-link
-rwxr-xr-x root/root usr/bin/spirv-opt
-rwxr-xr-x root/root usr/bin/spirv-remap
-rwxr-xr-x root/root usr/bin/spirv-stats
-rwxr-xr-x root/root usr/bin/spirv-val
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/SPIRV/
-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.AMD.h
-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.EXT.h
-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.KHR.h
-rw-r--r-- root/root usr/include/SPIRV/GLSL.ext.NV.h
-rw-r--r-- root/root usr/include/SPIRV/GLSL.std.450.h
-rw-r--r-- root/root usr/include/SPIRV/GlslangToSpv.h
-rw-r--r-- root/root usr/include/SPIRV/Logger.h
-rw-r--r-- root/root usr/include/SPIRV/SPVRemapper.h
-rw-r--r-- root/root usr/include/SPIRV/SpvBuilder.h
-rw-r--r-- root/root usr/include/SPIRV/bitutils.h
-rw-r--r-- root/root usr/include/SPIRV/disassemble.h
-rw-r--r-- root/root usr/include/SPIRV/doc.h
-rw-r--r-- root/root usr/include/SPIRV/hex_float.h
-rw-r--r-- root/root usr/include/SPIRV/spirv.hpp
-rw-r--r-- root/root usr/include/SPIRV/spvIR.h
drwxr-xr-x root/root usr/include/glslang/
drwxr-xr-x root/root usr/include/glslang/Include/
-rw-r--r-- root/root usr/include/glslang/Include/BaseTypes.h
-rw-r--r-- root/root usr/include/glslang/Include/Common.h
-rw-r--r-- root/root usr/include/glslang/Include/ConstantUnion.h
-rw-r--r-- root/root usr/include/glslang/Include/InfoSink.h
-rw-r--r-- root/root usr/include/glslang/Include/InitializeGlobals.h
-rw-r--r-- root/root usr/include/glslang/Include/PoolAlloc.h
-rw-r--r-- root/root usr/include/glslang/Include/ResourceLimits.h
-rw-r--r-- root/root usr/include/glslang/Include/ShHandle.h
-rw-r--r-- root/root usr/include/glslang/Include/Types.h
-rw-r--r-- root/root usr/include/glslang/Include/arrays.h
-rw-r--r-- root/root usr/include/glslang/Include/intermediate.h
-rw-r--r-- root/root usr/include/glslang/Include/revision.h
drwxr-xr-x root/root usr/include/glslang/MachineIndependent/
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/Initialize.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/LiveTraverser.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/ParseHelper.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/RemoveTree.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/Scan.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/ScanContext.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/SymbolTable.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/Versions.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/attribute.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/gl_types.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/glslang_tab.cpp.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/iomapper.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/localintermediate.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/parseVersions.h
drwxr-xr-x root/root usr/include/glslang/MachineIndependent/preprocessor/
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/preprocessor/PpContext.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/preprocessor/PpTokens.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/propagateNoContraction.h
-rw-r--r-- root/root usr/include/glslang/MachineIndependent/reflection.h
drwxr-xr-x root/root usr/include/glslang/Public/
-rw-r--r-- root/root usr/include/glslang/Public/ShaderLang.h
drwxr-xr-x root/root usr/include/spirv-tools/
-rw-r--r-- root/root usr/include/spirv-tools/libspirv.h
-rw-r--r-- root/root usr/include/spirv-tools/libspirv.hpp
-rw-r--r-- root/root usr/include/spirv-tools/linker.hpp
-rw-r--r-- root/root usr/include/spirv-tools/optimizer.hpp
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libHLSL.so
-rw-r--r-- root/root usr/lib/libOGLCompiler.a
-rw-r--r-- root/root usr/lib/libOSDependent.a
-rwxr-xr-x root/root usr/lib/libSPIRV-Tools-link.so
-rwxr-xr-x root/root usr/lib/libSPIRV-Tools-opt.so
-rwxr-xr-x root/root usr/lib/libSPIRV-Tools-shared.so
-rwxr-xr-x root/root usr/lib/libSPIRV-Tools.so
-rwxr-xr-x root/root usr/lib/libSPIRV.so
-rwxr-xr-x root/root usr/lib/libSPVRemapper.so
-rwxr-xr-x root/root usr/lib/libglslang-default-resource-limits.so
-rwxr-xr-x root/root usr/lib/libglslang.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/SPIRV-Tools-shared.pc
-rw-r--r-- root/root usr/lib/pkgconfig/SPIRV-Tools.pc

5
glslang/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30WANmm9EWDaAGI/EC9AJGXtsu3emNpE/LEUOa3eW9DI4uPqofpX1ORF3kFd0Vzb1vY+UuDqwPF0uAxm6d1gcw4=
SHA256 (Pkgfile) = 23ae927cb755d1fa42fe2c7819ce6b3e0f26f069323539f3d510a83ef9b309cc
SHA256 (.footprint) = 5dc1a9c8680088df5e980b88fabb8d1a0ca8f3e28c7be715f4b06cab07c3e4bf
SHA256 (glslang-20180721-fa4952c3.tar.bz2) = a39a2ebd2529a33c18bffe0c155a51b8648f925c0cfb2acc6972141bb0eae2dd

23
glslang/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator
# URL: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler
# Maintainer: Pedja, predivan at mts dot rs
# Depends on: cmake git
name=glslang
version=20180721
git_commit=fa4952c3
release=1
source=(https://bitbucket.org/predivan/vulkan/downloads/$name-$version-$git_commit.tar.bz2)
build() {
cd $name-$version-$git_commit
python update_glslang_sources.py
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON ../
make
make DESTDIR=$PKG install
}

29
vulkan-headers/.footprint Normal file
View File

@ -0,0 +1,29 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/vulkan/
-rw-r--r-- root/root usr/include/vulkan/vk_icd.h
-rw-r--r-- root/root usr/include/vulkan/vk_layer.h
-rw-r--r-- root/root usr/include/vulkan/vk_platform.h
-rw-r--r-- root/root usr/include/vulkan/vk_sdk_platform.h
-rw-r--r-- root/root usr/include/vulkan/vulkan.h
-rw-r--r-- root/root usr/include/vulkan/vulkan.hpp
-rw-r--r-- root/root usr/include/vulkan/vulkan_android.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_core.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_ios.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_macos.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_mir.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_vi.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_wayland.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_win32.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_xcb.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_xlib.h
-rw-r--r-- root/root usr/include/vulkan/vulkan_xlib_xrandr.h
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/vulkan/
drwxr-xr-x root/root usr/share/vulkan/registry/
-rw-r--r-- root/root usr/share/vulkan/registry/cgenerator.py
-rw-r--r-- root/root usr/share/vulkan/registry/generator.py
-rw-r--r-- root/root usr/share/vulkan/registry/genvk.py
-rw-r--r-- root/root usr/share/vulkan/registry/reg.py
-rw-r--r-- root/root usr/share/vulkan/registry/validusage.json
-rw-r--r-- root/root usr/share/vulkan/registry/vk.xml

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35CVNHgit5YIqXAAI3GfDhuRbEuMOMDgmL9xCfC5eQxT6dP3gUHzQih0ATS9PZ0dhpru/6z/57aN16KeDXdJSAA=
SHA256 (Pkgfile) = 55621324355e3a9f24807ff192ff05a7197fd1475918ebe42686f79c95b85be9
SHA256 (.footprint) = c9997942833f0af4796334d203810837aa0095cfba3e1f9a9da10dfbb1d3bce2
SHA256 (Vulkan-Headers-sdk-1.1.77.0.tar.gz) = b2f532bfd1d8e7594f131a4aa79358bfe4fd0aa59d3292dbafd484223d56ef16

18
vulkan-headers/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: Vulkan headers
# URL: https://www.khronos.org/vulkan/
# Maintainer: Pedja, predivan at mts dot rs
# Depends on: cmake
name=vulkan-headers
version=1.1.77.0
release=1
source=(https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-$version/Vulkan-Headers-sdk-$version.tar.gz)
build() {
cd Vulkan-Headers-sdk-$version
mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
make DESTDIR=$PKG install
}

10
vulkan-loader/.footprint Normal file
View File

@ -0,0 +1,10 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/vulkan/
-rw-r--r-- root/root usr/include/vulkan/vk_layer_dispatch_table.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libvulkan.so -> libvulkan.so.1
lrwxrwxrwx root/root usr/lib/libvulkan.so.1 -> libvulkan.so.1.1.77
-rwxr-xr-x root/root usr/lib/libvulkan.so.1.1.77
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/vulkan.pc

5
vulkan-loader/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3znXto5BVl8ZHn4LSyPxcop8FBPV9sc2X4c7mDm/rKmuX+w6xgPUI4O+eF0+bV5VCILB8X6yBrHWmTlEkQTe+QI=
SHA256 (Pkgfile) = 6b228e36fc906dcb5946774ea2856e973dbb27a74b5de3317363381a385919ed
SHA256 (.footprint) = ac662e0ba8025d18dabd4f423aea81981f96e397203c32ae454572877d7bc0e3
SHA256 (Vulkan-Loader-sdk-1.1.77.0.tar.gz) = 4d80cd2f56e55812b685fcc90c72ef9fc3d4def7e7aae1330934a9c5cb32e8fd

20
vulkan-loader/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: Vulkan loader
# URL: https://www.khronos.org/vulkan/
# Maintainer: Pedja, predivan at mts dot rs
# Depends on: vulkan-headers python3 xorg-libxrandr
name=vulkan-loader
version=1.1.77.0
release=1
source=(https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-$version/Vulkan-Loader-sdk-$version.tar.gz)
build() {
cd Vulkan-Loader-sdk-$version
mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF ../
make
make DESTDIR=$PKG install
}

5
vulkan-tools/.footprint Normal file
View File

@ -0,0 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cube
-rwxr-xr-x root/root usr/bin/cubepp
-rwxr-xr-x root/root usr/bin/vulkaninfo

5
vulkan-tools/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zaiD4xWNvoh3sYlsNaCVqcPM/tMVrW4L/HbLhkFj3Ut6YhTMfG9hGy78eNxoser6/41iI1gYOEoNKWXRRPliw4=
SHA256 (Pkgfile) = a1eeb2042cc1907bb04a757b5aa07699890d29e8261a568769934ce703ce57fd
SHA256 (.footprint) = 89dcec83887fd5c867d733b41dc44cb32cab05278905fd9fb5abe5ea4938ae5c
SHA256 (Vulkan-Tools-sdk-1.1.77.0.tar.gz) = 15eaefa9d9370c58aac3458b3cb67909759fb4e965d737a57e7de6cc108fabc6

22
vulkan-tools/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: Vulkan tools
# URL: https://www.khronos.org/vulkan/
# Maintainer: Pedja, predivan at mts dot rs
# Depends on: glslang vulkan-loader
name=vulkan-tools
version=1.1.77.0
release=1
source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-sdk-$version.tar.gz)
build() {
cd Vulkan-Tools-sdk-$version
mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DGLSLANG_INSTALL_DIR=/usr \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
-DBUILD_ICD=OFF ../
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,17 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libVkLayer_core_validation.so
-rwxr-xr-x root/root usr/lib/libVkLayer_object_tracker.so
-rwxr-xr-x root/root usr/lib/libVkLayer_parameter_validation.so
-rwxr-xr-x root/root usr/lib/libVkLayer_threading.so
-rwxr-xr-x root/root usr/lib/libVkLayer_unique_objects.so
-rwxr-xr-x root/root usr/lib/libVkLayer_utils.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/vulkan/
drwxr-xr-x root/root usr/share/vulkan/explicit_layer.d/
-rw-r--r-- root/root usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json
-rw-r--r-- root/root usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json
-rw-r--r-- root/root usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json
-rw-r--r-- root/root usr/share/vulkan/explicit_layer.d/VkLayer_standard_validation.json
-rw-r--r-- root/root usr/share/vulkan/explicit_layer.d/VkLayer_threading.json
-rw-r--r-- root/root usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31Su6oMXnwfEHkyjZkoDOPntC0eNAfpddajnMaBqxbrW+jtb69HZyj46hoo8BPp93jHyEJ337eeP2aRcH4yW1Ak=
SHA256 (Pkgfile) = e4b0e55b89dc091bac0dcd48b3c76feda74409666b2ed048e0e17fa8854963b1
SHA256 (.footprint) = 8faf751e3097c468889efbe5c7d4a9e2015eacb7c3ce2bdc33187c627b19ad1e
SHA256 (Vulkan-ValidationLayers-sdk-1.1.77.0.tar.gz) = 66dc892eb566d398f9d90c710956475327d67d966a535b5753873af0ab65a669

View File

@ -0,0 +1,28 @@
# Description: Vulkan validation layers
# URL: https://www.khronos.org/vulkan/
# Maintainer: Pedja, predivan at mts dot rs
# Depends on: vulkan-loader glslang
name=vulkan-validation-layers
version=1.1.77.0
release=1
source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-$version/Vulkan-ValidationLayers-sdk-$version.tar.gz)
build() {
cd Vulkan-ValidationLayers-sdk-$version
rm -rf build ; mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_DATADIR=/share \
-DGLSLANG_INSTALL_DIR=/usr \
-DCMAKE_SKIP_RPATH=True \
-DBUILD_TESTS=Off \
-DBUILD_WSI_WAYLAND_SUPPORT=Off \
-DBUILD_WSI_MIR_SUPPORT=Off \
-DCMAKE_BUILD_TYPE=Release ..
make
make DESTDIR=$PKG install
}