glfs/x/lib/vulkan-headers.xml
2024-03-02 13:15:06 -06:00

129 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY vulkan-headers-download-http "https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v&vulkan-headers-version;/Vulkan-Headers-&vulkan-headers-version;.tar.gz">
<!ENTITY vulkan-headers-download-ftp " ">
<!ENTITY vulkan-headers-md5sum "60d2c28b4896e5a2e698392502c020ea">
<!ENTITY vulkan-headers-size "2.1 MB">
<!ENTITY vulkan-headers-buildsize "26 MB">
<!ENTITY vulkan-headers-time "less than 0.1 SBU">
]>
<sect1 id="vulkan-headers" xreflabel="Vulkan-Headers-&vulkan-headers-version;">
<?dbhtml filename="vulkan-headers.html"?>
<title>Vulkan-Headers-&vulkan-headers-version;</title>
<indexterm zone="vulkan-headers">
<primary sortas="a-vulkan-headers">Vulkan-Headers</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Vulkan-headers</title>
<para>
The <application>Vulkan-Headers</application> package contains a set of
header files necessary to build and link applications against the Vulkan
API.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&vulkan-headers-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&vulkan-headers-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &vulkan-headers-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &vulkan-headers-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &vulkan-headers-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &vulkan-headers-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Vulkan-Headers Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Vulkan-Headers</title>
<para>
Install <application>Vulkan-Headers</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. &amp;&amp;
ninja</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
None
</seg>
<seg>
/usr/include/vk_video,
/usr/include/vulkan,
/usr/share/cmake/VulkanHeaders, and
/usr/share/vulkan
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>