summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-27 15:13:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-27 15:13:47 -0500
commitf4898d92acfeca09121c19abc7d1400a8aca9032 (patch)
tree34169831434bacc26bc9dbf9ed1fff97d11af540 /libraries
parent41ebe35ec80a14c0c5ad05c515d9fd63a50087dd (diff)
downloadslackbuilds-f4898d92acfeca09121c19abc7d1400a8aca9032.tar.gz
libraries/libcanberra: Updated for version 0.27.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libcanberra/README11
-rw-r--r--libraries/libcanberra/doinst.sh10
-rw-r--r--libraries/libcanberra/libcanberra.SlackBuild5
-rw-r--r--libraries/libcanberra/libcanberra.info6
4 files changed, 26 insertions, 6 deletions
diff --git a/libraries/libcanberra/README b/libraries/libcanberra/README
index c86e8431d5..98aaf1d092 100644
--- a/libraries/libcanberra/README
+++ b/libraries/libcanberra/README
@@ -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
+
diff --git a/libraries/libcanberra/doinst.sh b/libraries/libcanberra/doinst.sh
new file mode 100644
index 0000000000..2f3bec4b36
--- /dev/null
+++ b/libraries/libcanberra/doinst.sh
@@ -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
+
diff --git a/libraries/libcanberra/libcanberra.SlackBuild b/libraries/libcanberra/libcanberra.SlackBuild
index 137dcba3d4..c0dae96c7f 100644
--- a/libraries/libcanberra/libcanberra.SlackBuild
+++ b/libraries/libcanberra/libcanberra.SlackBuild
@@ -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}
diff --git a/libraries/libcanberra/libcanberra.info b/libraries/libcanberra/libcanberra.info
index 7566d62f92..da962467c1 100644
--- a/libraries/libcanberra/libcanberra.info
+++ b/libraries/libcanberra/libcanberra.info
@@ -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"