<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libcanberra</Name>
        <Homepage>http://0pointer.de/lennart/projects/libcanberra/</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 library for generating event sounds on free desktops</Summary>
        <Description>libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable.</Description>
        <Archive sha1sum="fd4c16e341ffc456d688ed3462930d17ca6f6c20" type="tarxz">http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <!--Dependency>gconf</Dependency-->
            <Dependency>glib2-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>at-spi2-core-devel</Dependency><!--opps is dep for gt3-devel --> 
            <Dependency>eudev-devel</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libtdb-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">fix-pthread.patch</Patch>
            <Patch level="1">fix-underlinking.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libcanberra</Name>
        <RuntimeDependencies>
            <Dependency>libtdb</Dependency>
            <Dependency>libtool-ltdl</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>gstreamer-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/gdm</Path>
            <Path fileType="data">/usr/share/gnome/</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcanberra-devel</Name>
        <Summary>Development files for libcanberra</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/vala</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcanberra-gtk</Name>
        <Summary>GTK+ convenience API and utilities for libcanberra</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gtk-2*</Path>
            <Path fileType="library">/usr/lib/libcanberra-gtk.so*</Path>
        </Files>
    </Package>

    <Package> 
        <Name>libcanberra-gtk-devel</Name>
        <Summary>Development files for libcanberra-gtk</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
            <Dependency release="current">libcanberra-gtk</Dependency>
            <Dependency release="current">libcanberra-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/canberra-gtk.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk.pc</Path>
            <Path fileType="data">/usr/share/vala/vapi/libcanberra-gtk.vapi</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcanberra-gtk3</Name>
        <Summary>GTK+ convenience API and utilities for libcanberra</Summary>
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency release="current">libcanberra</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gtk-3*</Path>
            <Path fileType="library">/usr/lib/libcanberra-gtk3*</Path>
            <Path fileType="doc">/usr/share/doc/libcanberra-gtk3</Path>
            <Path fileType="executable">/usr/bin/canberra-boot</Path>
            <Path fileType="executable">/usr/bin/canberra-gtk-play</Path>
        </Files>
    </Package>
    
     <Package>
        <Name>libcanberra-gtk3-devel</Name>
        <Summary>Development files for libcanberra-gt3k</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
            <Dependency release="current">libcanberra-devel</Dependency>
            <Dependency release="current">libcanberra-gtk3</Dependency>
            <Dependency>gtk3-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk3.pc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>0.30</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>0.30</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-16</Date>
            <Version>0.30</Version>
            <Comment>Fix</Comment>
            <Name>Varol Maksutoğlu</Name>
            <Email>waroi@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>0.30</Version>
            <Comment>First release</Comment>
            <Name>Varol Maksutoğlu</Name>
            <Email>waroi@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
