|
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/kasc/openal/openal.conf
|
|
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
preconf="cd linux; touch configure; chmod +x configure "
|
|
autogen=1
|
|
var_append extraconfopt " " "--enable-optimization --enable-arch-asm"
|
|
if [ "$ROCKCFG_PKG_OPENAL_ALSA" == "1" ] ; then
|
|
var_append extraconfopt " " "--enable-alsa"
|
|
fi
|
|
if [ "$ROCKCFG_PKG_OPENAL_ARTS" == "1" ] ; then
|
|
var_append extraconfopt " " "--enable-arts"
|
|
fi
|
|
if [ "$ROCKCFG_PKG_OPENAL_ESD" == "1" ] ; then
|
|
var_append extraconfopt " " "--enable-esd"
|
|
fi
|
|
if [ "$ROCKCFG_PKG_OPENAL_SDL" == "1" ] ; then
|
|
var_append extraconfopt " " "--enable-sdl"
|
|
fi
|
|
if [ "$ROCKCFG_PKG_OPENAL_VORBIS" == "1" ] ; then
|
|
var_append extraconfopt " " "--enable-vorbis"
|
|
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.
|
|
|
|
# ALSA 1.0 API change workaround ... :-(
|
|
var_append GCC_WRAPPER_APPEND " " \
|
|
"-DALSA_PCM_OLD_HW_PARAMS_API -DALSA_PCM_OLD_SW_PARAMS_API"
|
|
var_append GCC_WRAPPER_REMOVE " " "-ansi"
|
|
|