<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdrm</Name>
        <Homepage>http://dri.freedesktop.org/libdrm/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>Userspace interface to kernel DRM services</Summary>
        <Description>libdrm is a library providing the userspace interface to kernel DRM services.</Description>
        <Archive sha1sum="4e041a5ff22b2b9132b216eb0574638bf252b7a9" type="tarbz2">http://dri.freedesktop.org/libdrm/libdrm-2.4.60.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency releaseFrom="7">libpciaccess-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libdrm</Name>
        <RuntimeDependencies>
            <Dependency releaseFrom="7">libpciaccess</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib/libdrm.*</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/91-drm-modeset.rules">91-drm-modeset.rules</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>libdrm-intel</Name>
        <Summary>Userspace interface to kernel DRM services for intel</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libdrm</Dependency>
            <Dependency>libpciaccess</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdrm_intel.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-nouveau</Name>
        <Summary>Userspace interface to kernel DRM services for nouveau</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libdrm</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdrm_nouveau.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-radeon</Name>
        <Summary>Userspace interface to kernel DRM services for radeon</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libdrm</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdrm_radeon.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libkms</Name>
        <Summary>Userspace library for kernel mode setting</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libdrm</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libkms.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-devel</Name>
        <Summary>Development files for libdrm</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libdrm</Dependency>
            <Dependency release="current">libdrm-intel</Dependency>
            <Dependency release="current">libdrm-nouveau</Dependency>
            <Dependency release="current">libdrm-radeon</Dependency>
            <Dependency release="current">libkms</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libdrm</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>glibc-32bit</Dependency>
            <Dependency releaseFrom="2">libpciaccess-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">libdrm</Dependency>
            <Dependency>glibc-32bit</Dependency>
            <Dependency releaseFrom="2">libpciaccess-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libdrm.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-intel-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libdrm-intel</Summary>
        <BuildType>emul32</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">libdrm-intel</Dependency>
            <Dependency release="current">libdrm-32bit</Dependency>
            <Dependency>libpciaccess-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libdrm_intel.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-nouveau-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libdrm-nouveau</Summary>
        <BuildType>emul32</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">libdrm-nouveau</Dependency>
            <Dependency release="current">libdrm-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libdrm_nouveau.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdrm-radeon-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libdrm-radeon</Summary>
        <BuildType>emul32</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">libdrm-radeon</Dependency>
            <Dependency release="current">libdrm-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libdrm_radeon.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libkms-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libkms</Summary>
        <BuildType>emul32</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">libkms</Dependency>
            <Dependency release="current">libdrm-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libkms.*</Path>
        </Files>
    </Package>

    <History>
        <Update release="11">
            <Date>2015-05-05</Date>
            <Version>2.4.60</Version>
            <Comment>Version bump.</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2015-01-28</Date>
            <Version>2.4.59</Version>
            <Comment>Version bump.</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2014-10-18</Date>
            <Version>2.4.58</Version>
            <Comment>Version bump.</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2014-09-08</Date>
            <Version>2.4.56</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
      <Update release="7">
            <Date>2014-05-16</Date>
            <Version>2.4.54</Version>
            <Comment>Version bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>  
      <Update release="6">
            <Date>2014-03-07</Date>
            <Version>2.4.52</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-10-07</Date>
            <Version>2.4.46</Version>
            <Comment>Rebuild.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-08-25</Date>
            <Version>2.4.46</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-07-13</Date>
            <Version>2.4.46</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-02-28</Date>
            <Version>2.4.42</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-11-22</Date>
            <Version>2.4.40</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
