residualvm: enable sndio by default
This commit is contained in:
parent
1a9a01a812
commit
cd1a17ece2
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'residualvm'
|
||||
pkgname=residualvm
|
||||
version=0.3.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --enable-all-engines --enable-release
|
||||
--enable-flac --enable-faad --enable-fluidsynth $(vopt_enable sndio)"
|
||||
|
@ -17,6 +17,7 @@ distfiles="http://www.residualvm.org/downloads/release/${version}/residualvm-${v
|
|||
checksum=f50c83bbc55a8121eefc279e83982b6ec590e608e145b7f750006619dd0bf9e9
|
||||
|
||||
build_options="sndio"
|
||||
build_options_default="sndio"
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
||||
|
@ -24,7 +25,7 @@ if [ -n "$CROSS_BUILD" ]; then
|
|||
pre_configure() {
|
||||
# - sdl-config wrapper already sets --prefix
|
||||
# - freetype-config wrapper already sets --prefix
|
||||
sed -i -e "s;_ranlib=ranlib;_ranlib=${XBPS_CROSS_TRIPLET}-ranlib;" \
|
||||
vsed -e "s;_ranlib=ranlib;_ranlib=${XBPS_CROSS_TRIPLET}-ranlib;" \
|
||||
-e "s;_strip=strip;_strip=${XBPS_CROSS_TRIPLET}-strip;" \
|
||||
-e "s;_ar=\"ar cru\";_ar=\"${XBPS_CROSS_TRIPLET}-ar cru\";" \
|
||||
-e "s;_as=\"as\";_as=\"${XBPS_CROSS_TRIPLET}-as\";" \
|
||||
|
@ -32,7 +33,7 @@ if [ -n "$CROSS_BUILD" ]; then
|
|||
-e 's;--prefix="$_freetypepath";;' \
|
||||
-e "s;^_host_cpu=\"\";_host_cpu=\"${XBPS_TARGET_MACHINE}\";" \
|
||||
-e 's;^_host_os="";_host_os="linux";' \
|
||||
configure
|
||||
-i configure
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue