1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../smpeg/smpeg.conf
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
20 export ACLOCAL_FLAGS="-I $root/$SDECFG_PKG_GNOME14_CORE_PREFIX/share/aclocal"
22 if [ $SDECFG_PKG_SMPEG_MMX == 1 ]; then
23 var_append extraconfopt " " "--enable-mmx"
25 var_append extraconfopt " " "--disable-mmx"
27 if [ $SDECFG_PKG_SMPEG_ATI == 1 ]; then
28 var_append extraconfopt " " "--enable-ati"
30 var_append extraconfopt " " "--disable-ati"
32 if [ $SDECFG_PKG_SMPEG_SYNC == 1 ]; then
33 var_append extraconfopt " " "--enable-timestamp-sync"
35 var_append extraconfopt " " "--disable-timestamp-sync"
37 if [ $SDECFG_PKG_SMPEG_THSYS == 1 ]; then
38 var_append extraconfopt " " "--enable-threaded-system"
40 var_append extraconfopt " " "--disable-threaded-system"
42 if [ $SDECFG_PKG_SMPEG_THAUDIO == 1 ]; then
43 var_append extraconfopt " " "--enable-threaded-audio"
45 var_append extraconfopt " " "--disable-threaded-audio"
47 if [ $SDECFG_PKG_SMPEG_GTKPLAY == 1 ]; then
48 var_append extraconfopt " " "--enable-gtk-player"
50 var_append extraconfopt " " "--disable-gtk-player"
52 if [ $SDECFG_PKG_SMPEG_GLPLAY == 1 ]; then
53 var_append extraconfopt " " "--enable-opengl-player"
55 var_append extraconfopt " " "--disable-opengl-player"
57 if [ $SDECFG_PKG_SMPEG_ASSERT == 1 ]; then
58 var_append extraconfopt " " "--enable-assertions"
60 var_append extraconfopt " " "--disable-assertions"
63 hook_add preconf 5 smpeg_preconf