<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
      <Name>primus</Name>
        <Homepage>https://github.com/amonakov/primus</Homepage>
        <Packager>
            <Name>Mathias Freire</Name>
            <Email>mathiasfreire45@gmail.com</Email>
        </Packager>
        <License>ISC</License>
        <IsA>library</IsA>
       <Summary>Minimalistic and efficient OpenGL offloading for Bumblebee</Summary>
       <Description>Primus is a shared library that provides OpenGL and GLX APIs and implements low-overhead local-only client-side OpenGL offloading via GLX forking, similar to VirtualGL.</Description>
       <Archive sha1sum="07619d043cbb1e85a23499b25835aedb7921c480" type="targz">mirrors://sourceforge/pisilinux/source/primus-20160408.tar.gz</Archive>
       <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
        </BuildDependencies>
       <Patches>
            <Patch level="1">primus-nvidia-libs.patch</Patch>
       </Patches>
    </Source>

    <Package>
        <Name>primus</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>mesa</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>primus-32bit</Name>
        <BuildDependencies>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>2016.05.02</Version>
            <Comment>Rebuild</Comment>
            <Name>Idris Kalp</Name>   
            <Email>idriskalp@gmail.com</Email>             
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>2016.05.02</Version>
            <Comment>Rebuild</Comment>
            <Name>Idris Kalp</Name>   
            <Email>idriskalp@gmail.com</Email>             
        </Update>
        <Update release="1">
            <Date>2016-04-09</Date>
            <Version>2016.04.08</Version>
            <Comment>First Release</Comment>
            <Name>Idris Kalp</Name>   
            <Email>idriskalp@gmail.com</Email>             
        </Update>
    </History>
</PISI>
 
 
