libraries/gmtk: Use dconf instead of gconf

Since dconf is GConf's replacement, and it's shipped in
Slackware 14.1, we should use it.

Whether we should switch this to use gtk3 is another
issue entirely :-)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2013-07-09 23:25:22 -05:00
parent fde69dfe4b
commit dc418d20d5
2 changed files with 1 additions and 16 deletions

View file

@ -9,7 +9,3 @@ other applications. Those widgets are
gmtk_audio_meter - a audio visualization tool
gmtk_output_combobox - a widget for selecting audio outputs
(alsa and pulse compatible)
It uses GConf to save its setting, but it can use the optional
dependency dconf for it: in this case pass the switch DCONF="YES"
to the script.

View file

@ -21,10 +21,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# Assume we're using gconf unless otherwise specified
# set to "YES" to use dconf
DCONF=${DCONF:-NO}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@ -54,13 +50,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
# If DCONF=YES above, then disable gconf; otherwise, enable it.
if [ "$DCONF" = "YES" ]; then
do_gconf="disable"
else
do_gconf="enable"
fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -68,7 +57,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--${do_gconf}-gconf \
--disable-gconf \
--disable-gtk3 \
--build=$ARCH-slackware-linux