# Template build file for 'libcanberra'.
pkgname=libcanberra
version=0.28
revision=2
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--localstatedir=/var --enable-alsa --enable-null
--enable-gstreamer --disable-oss --with-builtin=dso --disable-lynx
--disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas"
short_desc="XDG Sound Theme and Name Specification library implementation"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=eb1f8b2cabad7f07b6e44d606a91d73e1efca4b46daf92bd553e7222bc68868c
long_desc="
 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. It consists of the following parts:

   1. libcanberra: the main library
   2. libcanberra-gtk: some glue code to make it easier to use libcanberra
      from Gtk+ applications
   3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
      trigger input feedback event sounds"

gconf_schemas="libcanberra.schemas"
subpackages="$pkgname-devel"

Add_dependency run glibc
Add_dependency run libudev
Add_dependency run glib
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run libpng
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run gtk+3
Add_dependency run libvorbis
Add_dependency run libogg
Add_dependency run libltdl
Add_dependency run gstreamer
Add_dependency run libxml2
Add_dependency run alsa-lib
Add_dependency run libtdb
Add_dependency run libpulseaudio

Add_dependency build pkg-config
Add_dependency build glib-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build gtk+-devel
Add_dependency build gtk+3-devel
Add_dependency build libvorbis-devel
Add_dependency build libogg-devel
Add_dependency build libltdl-devel
Add_dependency build gstreamer-devel
Add_dependency build libxml2-devel
Add_dependency build alsa-lib-devel
Add_dependency build tdb-devel
Add_dependency build pulseaudio-devel
Add_dependency build libudev-devel
Add_dependency build vala-devel
Add_dependency full GConf
