<?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="e112d4937352d1722b06911b00c79e9bce15095c" type="targz">http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.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>flac-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <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="4">
            <Date>2017-02-06</Date>
            <Version>1.0.27</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.0.25</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>1.0.25</Version>
            <Comment>Release bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-25</Date>
            <Version>1.0.25</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
