<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openxr</Name>
        <Homepage>https://www.khronos.org/openxr/</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>APACHE</License>
        <IsA>library</IsA>
        <Summary>An open standard for virtual reality and augmented reality platforms and devices</Summary>
        <Description>An open standard for virtual reality and augmented reality platforms and devices</Description>
        <Archive sha1sum="d5f4f0604526c2fb0553f8e7b306142122de0f66" type="targz">https://github.com/KhronosGroup/OpenXR-SDK-Source/archive/refs/tags/release-1.0.31.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency>wayland-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>vulkan-devel</Dependency>
            <Dependency>libglvnd-devel</Dependency>
            <Dependency>vulkan-headers</Dependency>
            <Dependency>jsoncpp-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXxf86vm-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>openxr.patch</Patch>
            <Patch level="1">openxr.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>openxr</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>vulkan</Dependency>
            <Dependency>libglvnd</Dependency>
            <Dependency>jsoncpp</Dependency>
            <Dependency>libXxf86vm</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/libXrApiLayer*</Path>
            <Path fileType="library">/usr/lib/libopenxr_loader.so*</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/openxr</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>openxr-devel</Name>
        <Summary>Development files for openxr</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openxr</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2023-10-22</Date>
            <Version>1.0.31</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2023-07-13</Date>
            <Version>1.0.28</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2021-11-20</Date>
            <Version>1.0.20</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2021-08-29</Date>
            <Version>1.0.19</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2021-08-07</Date>
            <Version>1.0.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-01-20</Date>
            <Version>1.0.13</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
