libraries/libcanberra: Updated for version 0.27.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-03-27 15:13:47 -05:00
parent 41ebe35ec8
commit f4898d92ac
4 changed files with 26 additions and 6 deletions

View File

@ -3,5 +3,14 @@ Specifications, for generating event sounds on free desktops.
It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null)
and is designed to be portable.
This requires sound-theme-freedesktop.
This requires GConf and sound-theme-freedesktop, and you'll need to make
sure GTK_MODULES contains "canberra-gtk-module" - the easiest way to do
that is to have something like this in your shell inititialization:
if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi
export GTK_MODULES

View File

@ -0,0 +1,10 @@
schema_install() {
SCHEMA="$1"
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
chroot . gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/$SCHEMA \
1>/dev/null 2>/dev/null
}
schema_install libcanberra.schemas

View File

@ -2,7 +2,7 @@
# Slackware build script for libcanberra
# Copyright 2010 Robby Workman, Northport, Alabama, USA
# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=libcanberra
VERSION=0.23
VERSION=0.27
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -97,6 +97,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,8 +1,8 @@
PRGNAM="libcanberra"
VERSION="0.23"
VERSION="0.27"
HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
DOWNLOAD="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.23.tar.gz"
MD5SUM="83fb2fb7608c77f91904e12a867534fd"
DOWNLOAD="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.27.tar.gz"
MD5SUM="1c683f8753074acf9bddf77e2577932d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"