PKGNAME=directx-headers+32
PKGSEC=devel
PKGDEP=""
BUILDDEP="devel-base+32"
PKGDES="Direct3D 12 headers"

ABHOST=optenv32

# This package ships some small static archives referred by its .pc file,
# ensure they are kept and they are not LTO archives.
NOLTO=1
NOSTATIC=0

# There are no programs, nor shared libraries.
ABSPLITDBG=0

# Both cmake and meson are provided by the upstream.
# Arch, Debian, and Gentoo all use meson.
ABTYPE=meson

# The test fails to link with "undefined reference to `D3D12CreateDevice'."
# Perhaps it only works on Windoge.
MESON_AFTER='-Dbuild-test=false'

# We used to ship this package as a part of mesa.  So mesa must be upgraded
# before installing this or the files will conflict.
PKGBREAK="mesa+32<=25.2.5+dxheaders1.618.1"
PKGREP="mesa+32<=25.2.5+dxheaders1.618.1"
