summaryrefslogtreecommitdiff
path: root/multimedia/gnome-mplayer/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-11 22:21:15 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 01:25:03 -0600
commit62d63bc15cf5039e857b7553170462c1a2803774 (patch)
treeca5cf4b814dcaa20ae797f096ff354affbc49e35 /multimedia/gnome-mplayer/doinst.sh
parent2d78ba30d13435430043881ae38e1d10c3784a27 (diff)
downloadslackbuilds-62d63bc15cf5039e857b7553170462c1a2803774.tar.gz
multimedia/gnome-mplayer: compile glib schemas in doinst.sh
This is needed when gmtk is built to use gsettings instead of gconf for storing preferences. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/gnome-mplayer/doinst.sh')
-rw-r--r--multimedia/gnome-mplayer/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/multimedia/gnome-mplayer/doinst.sh b/multimedia/gnome-mplayer/doinst.sh
index 9424ce43ff..36c8205d7d 100644
--- a/multimedia/gnome-mplayer/doinst.sh
+++ b/multimedia/gnome-mplayer/doinst.sh
@@ -11,3 +11,10 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+