|
|
|
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../smpeg/smpeg.conf
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# 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; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
autogen=1
|
|
|
|
|
|
|
|
smpeg_preconf()
|
|
|
|
{
|
|
|
|
ACLOCAL_FLAGS="-I $root/$SDECFG_PKG_GNOME14_CORE_PREFIX/share/aclocal"
|
|
|
|
export ACLOCAL_FLAGS
|
|
|
|
|
|
|
|
if [ $SDECFG_PKG_SMPEG_MMX == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-mmx"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-mmx"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_ATI == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-ati"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-ati"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_SYNC == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-timestamp-sync"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-timestamp-sync"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_THSYS == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-threaded-system"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-threaded-system"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_THAUDIO == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-threaded-audio"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-threaded-audio"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_GTKPLAY == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-gtk-player"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-gtk-player"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_GLPLAY == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-opengl-player"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-opengl-player"
|
|
|
|
fi
|
|
|
|
if [ $SDECFG_PKG_SMPEG_ASSERT == 1 ] ; then
|
|
|
|
var_append extraconfopt " " "--enable-assertions"
|
|
|
|
else
|
|
|
|
var_append extraconfopt " " "--disable-assertions"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
hook_add preconf 5 smpeg_preconf
|
|
|
|
|