<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libsndfile</Name>
        <Homepage>http://www.mega-nerd.com/libsndfile/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>A C library for reading and writing files containing sampled sound</Summary>
        <Description>Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.</Description>
        <Archive sha1sum="e95d9fca57f7ddace9f197071cbcfb92fa16748e" type="targz">http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>flac-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libsndfile-1.0.18-less_strict_tests.patch</Patch>
            <Patch level="1">libsndfile-1.0.17-regtests-need-sqlite.patch</Patch>
            <Patch level="1">m4dir.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libsndfile</Name>
        <RuntimeDependencies>
            <Dependency>flac</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
        </RuntimeDependencies>
        <Files>
            <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>
            <Path fileType="data">/usr/share/octave</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsndfile-devel</Name>
        <Summary>Development files for libsndfile</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libsndfile</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>libsndfile-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libsndfile</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>glibc-32bit</Dependency>
            <Dependency>flac-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>glibc-32bit</Dependency>  
            <Dependency>flac-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
            <Dependency release="current">libsndfile</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2014-05-25</Date>
            <Version>1.0.25</Version>
            <Comment>Rebuild</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-02-01</Date>
            <Version>1.0.25</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1" type="security">
            <Date>2011-07-17</Date>
            <Version>1.0.25</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
