Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 20 years ago
parent
commit
9cfe908f15
2 changed files with 18 additions and 28 deletions
  1. +4
    -8
      package/kasc/openal/openal.conf
  2. +14
    -20
      package/kasc/openal/subconfig-libs.in

+ 4
- 8
package/kasc/openal/openal.conf

@ -21,9 +21,11 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
preconf="cd linux; touch configure; chmod +x configure "
autogen=1
preconf="cd linux; touch configure; chmod +x configure "
var_append extraconfopt " " "--enable-optimization --enable-arch-asm"
if [ "$ROCKCFG_PKG_OPENAL_ALSA" == "1" ] ; then
var_append extraconfopt " " "--enable-alsa"
fi
@ -42,18 +44,12 @@ fi
if [ "$ROCKCFG_PKG_OPENAL_SMPEG" == "1" ] ; then
var_append extraconfopt " " "--enable-smpeg"
fi
if [ "$ROCKCFG_PKG_OPENAL_EFENCE" == "1" ] ; then
var_append extraconfopt " " "--enable-efence"
fi
if [ "$ROCKCFG_PKG_OPENAL_DMALLOC" == "1" ] ; then
var_append extraconfopt " " "--enable-dmalloc"
fi
if [ "$ROCKCFG_PKG_OPENAL_CAPTURE" == "1" ] ; then
var_append extraconfopt " " "--enable-capture"
fi
# known bugs:
# --enable-smpeg, and --enable-dmalloc could be useful but are untested yet.
# --enable-smpeg could be useful but are untested yet.
# ALSA 1.0 API change workaround ... :-(
var_append GCC_WRAPPER_APPEND " " \

+ 14
- 20
package/kasc/openal/subconfig-libs.in

@ -24,37 +24,31 @@ if pkgcheck openal X ; then
menu_begin MENU_PKG_OPENAL 'OpenAL Library Options'
block_begin 4
if pkgcheck alsa X ; then
bool 'alsa support (broken)' ROCKCFG_PKG_OPENAL_ALSA 1 "
Compile with alsa output support"
bool 'alsa support (broken)' ROCKCFG_PKG_OPENAL_ALSA 1 \
"Compile with alsa output support"
fi
if pkgcheck arts31 X ; then
bool 'arts support' ROCKCFG_PKG_OPENAL_ARTS 0 "
Compile with arts output support"
bool 'arts support' ROCKCFG_PKG_OPENAL_ARTS 0 \
"Compile with arts output support"
fi
if pkgcheck esound X ; then
bool 'esd support' ROCKCFG_PKG_OPENAL_ESD 1 "
Compile with esd output support"
bool 'esd support' ROCKCFG_PKG_OPENAL_ESD 1 \
"Compile with esd output support"
fi
if pkgcheck libsdl X ; then
bool 'sdl support' ROCKCFG_PKG_OPENAL_SDL 1 "
Compile with sdl output support"
bool 'sdl support' ROCKCFG_PKG_OPENAL_SDL 1 \
"Compile with sdl output support"
fi
if pkgcheck ogg-vorbis X ; then
bool 'vorbis support' ROCKCFG_PKG_OPENAL_VORBIS 1 "
Compile with ogg-vorbis output support"
bool 'vorbis support' ROCKCFG_PKG_OPENAL_VORBIS 1 \
"Compile with ogg-vorbis output support"
fi
if pkgcheck smpeg X ; then
bool 'smpeg support' ROCKCFG_PKG_OPENAL_SMPEG 1 "
Compile with smpeg support"
bool 'smpeg support' ROCKCFG_PKG_OPENAL_SMPEG 1 \
"Compile with smpeg support"
fi
if pkgcheck electricfence X ; then
bool 'efence support' ROCKCFG_PKG_OPENAL_EFENCE 1 "
Compile with efence support"
fi
bool 'dmalloc support' ROCKCFG_PKG_OPENAL_DMALLOC 0 "
Compile with dmalloc support"
bool 'capture support' ROCKCFG_PKG_OPENAL_CAPTURE 1 "
Compile with capture support"
bool 'capture support' ROCKCFG_PKG_OPENAL_CAPTURE 1 \
"Compile with capture support"
block_end
menu_end
fi

Loading…
Cancel
Save