diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2018-08-02 01:07:15 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2018-08-02 01:07:15 +1000 |
commit | 5af43e9e0a5eddb4805c791b59b0de9ce3b6bd68 (patch) | |
tree | 60751f6f8e1b7bae2a667b4646e4ce44259063cf /vulkan-tools-32 | |
parent | 18a3ab110628255316ab17c7ff259675ab4ad3ac (diff) | |
download | compat-32-5af43e9e0a5eddb4805c791b59b0de9ce3b6bd68.tar.gz compat-32-5af43e9e0a5eddb4805c791b59b0de9ce3b6bd68.tar.xz |
vulkan 32bit ports: Initial import
Import glslang-32, vulkan-loader-32, vulkan-tools-32 and
vulkan-validation-layers-32 ports.
Diffstat (limited to 'vulkan-tools-32')
-rw-r--r-- | vulkan-tools-32/.32bit | 0 | ||||
-rw-r--r-- | vulkan-tools-32/.footprint | 5 | ||||
-rw-r--r-- | vulkan-tools-32/.signature | 5 | ||||
-rw-r--r-- | vulkan-tools-32/Pkgfile | 32 |
4 files changed, 42 insertions, 0 deletions
diff --git a/vulkan-tools-32/.32bit b/vulkan-tools-32/.32bit new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/vulkan-tools-32/.32bit diff --git a/vulkan-tools-32/.footprint b/vulkan-tools-32/.footprint new file mode 100644 index 00000000..47886c61 --- /dev/null +++ b/vulkan-tools-32/.footprint @@ -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-32 +-rwxr-xr-x root/root usr/bin/cubepp-32 +-rwxr-xr-x root/root usr/bin/vulkaninfo-32 diff --git a/vulkan-tools-32/.signature b/vulkan-tools-32/.signature new file mode 100644 index 00000000..f3d1e046 --- /dev/null +++ b/vulkan-tools-32/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/compat-32.pub +RWSwxGo/zH7eXaFh3d3FIrzwkR/btlQD+mw1vaSRnnisrIXj7YYIceBGmBe5zVhFSHIyg0gAl/9cfuAx+EQnyALiespsrX5eoA0= +SHA256 (Pkgfile) = 48a710fe0eae737a48d7dd6311341a43a05f79de94fdf65dd6f9f1d2a51d8c89 +SHA256 (.footprint) = 678123fdf6bb7f746ac0235c43764c5c9ebe180d3f2ec3739bf2c0ee0915d9aa +SHA256 (Vulkan-Tools-sdk-1.1.77.0.tar.gz) = 15eaefa9d9370c58aac3458b3cb67909759fb4e965d737a57e7de6cc108fabc6 diff --git a/vulkan-tools-32/Pkgfile b/vulkan-tools-32/Pkgfile new file mode 100644 index 00000000..de3499f2 --- /dev/null +++ b/vulkan-tools-32/Pkgfile @@ -0,0 +1,32 @@ +# Description: Vulkan tools +# URL: https://www.khronos.org/vulkan/ +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: glslang-32 vulkan-loader-32 xorg-libxcb-32 + +name=vulkan-tools-32 +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 + + export ASFLAGS='--32' + + mkdir build + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DGLSLANG_INSTALL_DIR=/usr \ + -DBUILD_WSI_WAYLAND_SUPPORT=OFF \ + -DBUILD_ICD=OFF + + make + make DESTDIR=$PKG install + + for app in $PKG/usr/bin/* ; do + mv $app $app-32 + done +} |