<?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-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-devel</Name>
        <Summary>Development files for libcanberra-gtk</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcanberra-gtk-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk3.pc</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 releaseFrom="4">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>

    <History>
	<Update release="6">
            <Date>2015-08-03</Date>
            <Version>0.30</Version>
            <Comment>Rebuild Unused</Comment>
            <Name>Varol Maksutoğlu</Name>
            <Email>waroi@pisilinux.org</Email>
        </Update>
	<Update release="5">
            <Date>2013-11-15</Date>
            <Version>0.30</Version>
            <Comment>Version bump</Comment>
            <Name>Richard de Bruin</Name>
            <Email>richdb@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-10-07</Date>
            <Version>0.29</Version>
            <Comment>Split Package + Fixed.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-08-17</Date>
            <Version>0.29</Version>
            <Comment>Release Bump.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-07-29</Date>
            <Version>0.29</Version>
            <Comment>missing dep.</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>erdincgultekin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-08-31</Date>
            <Version>0.29</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
