2019-01-26 18:07:07 +11:00
|
|
|
# Description: Direct3D 12 to Vulkan translation library By WineHQ.
|
|
|
|
# URL: https://github.com/d3d12/vkd3d
|
2023-07-07 22:28:27 +02:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2020-11-01 16:57:14 +11:00
|
|
|
# Depends on: spirv-tools-32 vulkan-loader-32 xorg-xcb-util-keysyms-32 vkd3d
|
2019-01-26 18:07:07 +11:00
|
|
|
|
|
|
|
name=vkd3d-32
|
2023-12-21 10:17:15 +01:00
|
|
|
version=1.10
|
2020-11-01 16:57:14 +11:00
|
|
|
release=1
|
|
|
|
source=(https://dl.winehq.org/vkd3d/source/${name%-*}-$version.tar.xz)
|
2019-01-26 18:07:07 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name%-*}-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2020-11-01 16:57:14 +11:00
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--with-spirv-tools
|
2019-01-26 18:07:07 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2020-11-01 16:57:14 +11:00
|
|
|
mv $PKG/usr/bin/vkd3d-compiler{,-32}
|
2023-09-27 21:40:33 -05:00
|
|
|
mv $PKG/usr/bin/vkd3d-dxbc{,-32}
|
2019-01-26 18:07:07 +11:00
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
|
|
|
}
|