<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xmoto</Name>
        <Homepage>http://xmoto.tuxfamily.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>xmoto</Icon>
        <IsA>app:gui</IsA>
        <Summary>Motorcross game</Summary>
        <Description>A motocross game with fancy effects like ghost replay. Requires a 3D accelerated video card.</Description>
        <Archive sha1sum="df3b7598b5fdf23c96a7508007c0fb8370d34fe4" type="targz">https://github.com/xmoto/xmoto/archive/refs/tags/v0.6.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>sdl-mixer-devel</Dependency>
            <Dependency>sdl-ttf-devel</Dependency>
            <Dependency>sdl-net-devel</Dependency>
            <Dependency>lua52-devel</Dependency>
            <Dependency>lua-devel</Dependency>
            <Dependency>lua51-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>ode-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libsdl2-devel</Dependency>
            <Dependency>libglvnd-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>libxdg-basedir-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>sdl2-net-devel</Dependency>
            <Dependency>sdl2-ttf-devel</Dependency>
            <Dependency>sdl2-mixer-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">xmoto-0.6.1_cmake_lua_version.patch</Patch> -->
<!--             <Patch level="1">xmoto-0.6.1_lua_deprecated.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>xmoto</Name>
        <RuntimeDependencies>
            <Dependency>lua</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>sdl-mixer</Dependency>
            <Dependency>sdl-ttf</Dependency>
            <Dependency>sdl-net</Dependency>
            <Dependency>lua51</Dependency>
            <Dependency>ode</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>libsdl2</Dependency>
            <Dependency>mesa-glu</Dependency>
            <Dependency>sdl2-net</Dependency>
            <Dependency>sdl2-ttf</Dependency>
            <Dependency>sdl2-mixer</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libxdg-basedir</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/xmoto</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2024-11-29</Date>
            <Version>0.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ümit Solmaz</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2022-11-04</Date>
            <Version>0.6.1</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2018-09-14</Date>
            <Version>0.5.12</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2018-04-22</Date>
            <Version>0.5.12</Version>
            <Comment>First release.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2017-03-09</Date>
            <Version>0.5.11</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
