mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
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:
parent
fde69dfe4b
commit
dc418d20d5
2 changed files with 1 additions and 16 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue