From 9423dcb8494b5719ba93ce5806bcc220f48fc6e1 Mon Sep 17 00:00:00 2001
From: Lawrence Rust <lvr@softsystem.co.uk>
Date: Sun, 20 May 2012 20:43:41 +0200
Subject: [PATCH] mythbuild.sh: sync with latest version
Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
---
Win32/mythbuild.sh | 190 ++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 139 insertions(+), 51 deletions(-)
mode change 100644 => 100755 Win32/mythbuild.sh
diff --git a/Win32/mythbuild.sh b/Win32/mythbuild.sh
old mode 100644
new mode 100755
index 760e7e1..41b5c1c
a
|
b
|
|
9 | 9 | # Click: |
10 | 10 | # Automated MinGW Installer > mingw-get-inst |
11 | 11 | # Then select a version e.g. |
12 | | # mingw-get-inst-20101030 > mingw-get-inst-20101030.exe |
13 | | # NB latest mingw-get-inst-20110211.exe doesn't work on Win2K & XP |
| 12 | # mingw-get-inst-20111118 > mingw-get-inst-20111118.exe |
| 13 | # NB mingw-get-inst-20110211.exe doesn't work on Win2K & XP |
14 | 14 | # Run the installer and ensure to add: |
15 | 15 | # C++ |
16 | 16 | # MSYS basic system |
… |
… |
|
82 | 82 | # Host dependencies: |
83 | 83 | # Mac B/W G3: mythbuild.sh -c g3 |
84 | 84 | |
85 | | readonly version="0.6" |
| 85 | readonly version="0.7" |
| 86 | readonly myname="$0" |
| 87 | readonly myargs="$*" |
86 | 88 | |
87 | 89 | # Myth code repo |
88 | 90 | : ${MYTHREPO:="http://mythtv-for-windows.googlecode.com/files"} |
… |
… |
readonly version="0.6" |
93 | 95 | : ${SOURCEFORGE:="downloads.sourceforge.net"} |
94 | 96 | |
95 | 97 | # The libraries to be installed: |
| 98 | : ${PKGCONFIG:="pkg-config_0.26-1_win32"} |
| 99 | : ${PKGCONFIG_URL:="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/$PKGCONFIG.zip"} |
| 100 | : ${GLIB:="glib_2.28.8-1_win32"} |
| 101 | : ${GLIB_URL:="http://ftp.gnome.org/pub/gnome/binaries/win32/glib/${GLIB:5:4}/$GLIB.zip"} |
| 102 | : ${GETTEXT:="gettext-runtime_0.18.1.1-2_win32"} |
| 103 | : ${GETTEXT_URL:="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/$GETTEXT.zip"} |
96 | 104 | : ${PTHREADS:="pthreads-w32-2-8-0-release"} |
97 | 105 | : ${PTHREADS_URL:="ftp://sourceware.org/pub/pthreads-win32/$PTHREADS.tar.gz"} |
98 | 106 | : ${ZLIB:="zlib-1.2.5"} |
… |
… |
readonly version="0.6" |
126 | 134 | : ${LIBDVDCSS_URL:="http://download.videolan.org/pub/libdvdcss/${LIBDVDCSS/libdvdcss-/}/$LIBDVDCSS.tar.bz2"} |
127 | 135 | : ${LIBXML2:="libxml2-2.7.8"} |
128 | 136 | : ${LIBXML2_URL:="ftp://xmlsoft.org/libxml2/$LIBXML2.tar.gz"} |
129 | | # 16-Dec-2010 latest: mysql-5.5.8 |
| 137 | # 16-Sep-2011 latest: mysql-5.5.16 |
130 | 138 | : ${MYSQL:="mysql-5.1.58"} |
131 | 139 | : ${MYSQL_URL:="http://mirrors.ircam.fr/pub/mysql/Downloads/MySQL-${MYSQL:6:3}/$MYSQL.tar.gz"} |
132 | 140 | # Pre-built win32 install. NB mysql-5.1 requires winXP-SP2, 5.0 works on win2k |
| 141 | # 5.0.89 unavailable 11-feb-11 |
| 142 | #: ${MYSQLW:="mysql-5.0.89-win32"} |
| 143 | # 5.1.55 unavailable 15-sep-11 |
| 144 | #: ${MYSQLW:="mysql-5.1.55-win32"} |
133 | 145 | : ${MYSQLW:="mysql-5.1.58-win32"} |
134 | 146 | : ${MYSQLW_URL:="ftp://mirrors.ircam.fr/pub/mysql/Downloads/MySQL-${MYSQLW:6:3}/${MYSQLW/mysql-/mysql-noinstall-}.zip"} |
135 | 147 | #: ${MYSQLW_URL:="ftp://ftp.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-${MYSQLW:6:3}/${MYSQLW/mysql-/mysql-noinstall-}.zip"} |
136 | 148 | # Pre-built MacOSX install |
137 | | : ${MYSQLM:="mysql-5.1.58-osx10.4-i686"} |
| 149 | : ${MYSQLM:="mysql-5.1.58-osx10.6-x86"} |
138 | 150 | : ${MYSQLM_URL:="ftp://mirrors.ircam.fr/pub/mysql/Downloads/MySQL-${MYSQLM:6:3}/$MYSQLM.tar.gz"} |
139 | 151 | # Pre-built MacOSX powerpc |
140 | 152 | : ${MYSQLX:="mysql-standard-4.1.22-apple-darwin7.9.0-powerpc"} |
141 | 153 | : ${MYSQLX_URL:="ftp://mirrors.ircam.fr/pub/mysql/Downloads/MySQL-${MYSQLX:15:3}/$MYSQLX.tar.gz"} |
| 154 | #: ${QT:="qt-everywhere-opensource-src-4.7.4"} # Builds for host OK but win32 & mac need updated patches |
142 | 155 | : ${QT:="qt-everywhere-opensource-src-4.7.0"} |
143 | 156 | : ${QT_URL:="http://get.qt.nokia.com/qt/source/$QT.tar.gz"} |
144 | 157 | # Configurable libraries |
… |
… |
fi |
193 | 206 | |
194 | 207 | |
195 | 208 | # Default parameters |
196 | | MYTHTARGET= |
197 | | MYTHBUILD= |
198 | | MYTHBRANCH= |
| 209 | unset MYTHTARGET |
| 210 | unset MYTHBUILD |
| 211 | unset MYTHBRANCH |
199 | 212 | readtimeout=60 |
200 | 213 | logging="no" |
201 | | patches= |
| 214 | unset patches |
202 | 215 | cleanbuild="no" |
203 | 216 | reconfig="no" |
204 | 217 | themes="no" |
205 | | cpu= |
| 218 | unset cpu |
206 | 219 | if [ -n "$NUMBER_OF_PROCESSORS" ]; then |
207 | 220 | cpus=$NUMBER_OF_PROCESSORS |
208 | 221 | elif [ -r "/proc/cpuinfo" ]; then |
… |
… |
else |
212 | 225 | fi |
213 | 226 | [ $cpus -gt 1 ] && makejobs=`expr $cpus + 1` || makejobs=1 |
214 | 227 | verbose="no" |
215 | | dosudo= |
216 | | patchmaster="no" |
| 228 | unset dosudo |
| 229 | unset patchmaster |
217 | 230 | : ${DXVA2:="no"} |
218 | 231 | |
219 | 232 | |
220 | 233 | ############################################################### |
221 | 234 | # Parse the command line |
222 | 235 | ############################################################### |
223 | | readonly myname="$0" |
224 | | readonly myargs="$@" |
225 | 236 | readonly currdir="$PWD" |
226 | 237 | readonly logfile="mythbuild.log" |
227 | 238 | |
228 | 239 | # Get the current git branch |
229 | 240 | # $1= path to .git |
230 | 241 | function gitbranch() { |
231 | | [ -d "$1/.git" ] && git --git-dir="$1/.git" branch --no-color|grep "^\*"|cut -d ' ' -f 2 |
| 242 | [ -d "$1/.git" ] && git --git-dir="$1/.git" branch --no-color|grep "^\*"|cut -d ' ' -f 2 || true |
232 | 243 | } |
233 | 244 | |
234 | 245 | function myhelp() { |
… |
… |
function myhelp() { |
252 | 263 | echo " -t <n> Timeout after configure [$readtimeout Seconds]" |
253 | 264 | echo " -v Verbose build messages [$verbose]" |
254 | 265 | echo " -C Force a clean re-build" |
255 | | echo " -F Enable mythtv and mythplugins master patches [$patchmaster]" |
| 266 | echo " -F Enable mythtv and mythplugins master patches [${patchmaster:-no}]" |
256 | 267 | echo " -P Apply all patches to mythtv and mythplugins then exit" |
257 | 268 | echo " -R Reverse all patches applied to mythtv & mythplugins then exit" |
258 | 269 | echo " -S Run make install/uninstall with sudo" |
… |
… |
do |
305 | 316 | v) verbose="yes" ;; |
306 | 317 | l) logging="yes" ;; |
307 | 318 | C) cleanbuild="yes" ;; |
308 | | F) [ "$patchmaster" = "no" ] && patchmaster="yes" || patchmaster="no" ;; |
| 319 | F) [ "$patchmaster" != "yes" ] && patchmaster="yes" || patchmaster="no" ;; |
309 | 320 | H) MYTHTARGET="Host" ;; |
310 | 321 | M) MYTHTARGET="MacOSX-i686" ;; |
311 | 322 | X) MYTHTARGET="MacOSX-PPC" ;; |
… |
… |
function download() { |
353 | 364 | echo "*********************************************************************" |
354 | 365 | echo "wget $obj" |
355 | 366 | # Try the myth code repo first, if not use the full URL |
356 | | wget "$MYTHREPO/$obj" || wget $1 |
| 367 | if ! wget "$MYTHREPO/$obj" ; then |
| 368 | wget $1 |
| 369 | fi |
357 | 370 | } |
358 | 371 | |
359 | 372 | # FTP download. $1= URL |
… |
… |
function make_distclean() { |
504 | 517 | # make install |
505 | 518 | function make_install() { |
506 | 519 | echo "make install..." |
507 | | $dosudo make -j1 -s install |
| 520 | $dosudo $make -j1 install |
508 | 521 | } |
509 | 522 | |
510 | 523 | # make uninstall |
… |
… |
branch=$MYTHBRANCH |
655 | 668 | [ -z "$branch" ] && branch=`gitbranch "$MYTHDIR/mythtv"` |
656 | 669 | case "$branch" in |
657 | 670 | "") : ${MYTHVER:="master"} ;; |
| 671 | master) : ${MYTHVER:="master"} ;; |
658 | 672 | fixes/*) : ${MYTHVER:=`branch2ver "$branch"`} ;; |
659 | 673 | esac |
660 | 674 | |
… |
… |
if [ "$MYTHTARGET" = "Windows" ] && ! which zip >/dev/null 2>&1 ; then |
918 | 932 | fi |
919 | 933 | |
920 | 934 | |
| 935 | # Need pkg-config |
| 936 | if ! pkg-config --version >/dev/null 2>&1 ; then |
| 937 | if [ "$MSYSTEM" != "MINGW32" ]; then |
| 938 | install_pkg pkg-config |
| 939 | else |
| 940 | name=$PKGCONFIG; url=$PKGCONFIG_URL; arc=`basename "$url"` |
| 941 | [ ! -e "$arc" ] && download "$url" |
| 942 | unzip -d "$name" "$arc" |
| 943 | cp -p "$name/bin/pkg-config.exe" /usr/bin/ |
| 944 | |
| 945 | name=$GLIB; url=$GLIB_URL; arc=`basename "$url"` |
| 946 | [ ! -e "$arc" ] && download "$url" |
| 947 | unzip -d "$name" "$arc" |
| 948 | cp -p "$name/bin/libglib-2.0-0.dll" /usr/bin/ |
| 949 | |
| 950 | name=$GETTEXT; url=$GETTEXT_URL; arc=`basename "$url"` |
| 951 | [ ! -e "$arc" ] && download "$url" |
| 952 | unzip -d "$name" "$arc" |
| 953 | cp -p "$name/bin/intl.dll" /usr/bin/ |
| 954 | fi |
| 955 | fi |
| 956 | |
| 957 | |
921 | 958 | # Need git to get myth sources |
922 | 959 | if ! git --version >/dev/null 2>&1 ; then |
923 | 960 | if [ "$MSYSTEM" != "MINGW32" ]; then |
… |
… |
function patchmingw() { |
1024 | 1061 | EOF |
1025 | 1062 | } |
1026 | 1063 | |
| 1064 | function patchmingw32() { |
| 1065 | local gccversion=$(gcc -dumpversion) |
| 1066 | local path="/mingw/lib/gcc/mingw32/$gccversion/include" |
| 1067 | |
| 1068 | $dosudo patch -p0 $@ <<-EOF |
| 1069 | --- $path/float.h 2012-03-10 17:43:36 +0100 |
| 1070 | +++ $path/float.h 2012-03-10 17:25:34 +0100 |
| 1071 | @@ -28,6 +28,8 @@ see the files COPYING3 and COPYING.RUNTI |
| 1072 | #ifndef _FLOAT_H___ |
| 1073 | #define _FLOAT_H___ |
| 1074 | |
| 1075 | +#include_next <float.h> |
| 1076 | + |
| 1077 | /* Radix of exponent representation, b. */ |
| 1078 | #undef FLT_RADIX |
| 1079 | #define FLT_RADIX __FLT_RADIX__ |
| 1080 | EOF |
| 1081 | } |
| 1082 | |
1027 | 1083 | # Check if the mingw <float.h> patch for Qt is required |
1028 | 1084 | function check_float() { |
1029 | 1085 | ${xprefix:+$xprefix-}gcc -c -x c++ - -o /dev/null >/dev/null 2>&1 <<-EOF |
… |
… |
if [ "$MYTHTARGET" = "Windows" ] && ! check_float ; then |
1038 | 1094 | case "$REPLY" in |
1039 | 1095 | n|no|N) echo "NOTE: Qt may not build."; break ;; |
1040 | 1096 | y|yes|Y|"") |
1041 | | patchmingw "" -s --dry-run && patchmingw "sudo" || true |
| 1097 | if [ "$MSYSTEM" == "MINGW32" ]; then |
| 1098 | patchmingw32 "" -s --dry-run && patchmingw32 || true |
| 1099 | else |
| 1100 | patchmingw "" -s --dry-run && patchmingw "sudo" || true |
| 1101 | fi |
1042 | 1102 | if ! check_float ; then |
1043 | 1103 | echo "" |
1044 | 1104 | echo "WARNING: The patch failed. Qt may not build." |
… |
… |
fi |
1054 | 1114 | ############################################################### |
1055 | 1115 | # Start of build |
1056 | 1116 | ############################################################### |
1057 | | # Set the pkg-config default directory |
| 1117 | # Set the pkg-config search path |
1058 | 1118 | export PKG_CONFIG_PATH="$libdir/pkgconfig" |
1059 | 1119 | mkdir -p "$PKG_CONFIG_PATH" |
| 1120 | # If cross-compiling set the pkg-config default search directory |
| 1121 | [ -n "$xprefix" ] && export PKG_CONFIG_LIBDIR="$PKG_CONFIG_PATH" |
1060 | 1122 | |
1061 | 1123 | case "$arch" in |
1062 | 1124 | ppc*) |
… |
… |
build LAME --disable-frontend |
1333 | 1395 | #/usr/include/python2.7/pyconfig.h:1:27: fatal error: bits/wordsize.h: No such file or directoryIn file included from /usr/include/python2.7/Python.h:8:0, |
1334 | 1396 | |
1335 | 1397 | # Including path to zlib |
| 1398 | # --with-reader required by spumux (mytharhive util) link to xmlReaderForIO |
1336 | 1399 | CPPFLAGS="-I$incdir $CPPFLAGS" LDFLAGS="-L$libdir $LDFLAGS" \ |
1337 | | build LIBXML2 --with-minimum --with-output |
| 1400 | build LIBXML2 --with-minimum --with-output --with-reader |
1338 | 1401 | #build LIBXML2 $( [ "$MSYSTEM" = "MINGW32" ] && echo "--without-threads") --without-python |
1339 | 1402 | |
1340 | 1403 | ############################################################################### |
… |
… |
build LIBVORBIS |
1390 | 1453 | # For MythMusic |
1391 | 1454 | FLAC_DEBUGFLAG="--enable-debug" |
1392 | 1455 | # --disable-cpplibs 'cos examples/cpp/encode/file/main.cpp doesn't #include <string.h> for memcmp |
| 1456 | # --disable-ogg 'cos otherwise need libogg in all config tests |
1393 | 1457 | # Need to set LD_LIBRARY_PATH so ld.so can find libogg when configure runs ogg test |
1394 | | LD_LIBRARY_PATH="$( [ "$MYTHTARGET" = "Host" ] && echo "${libdir}:" )$LD_LIBRARY_PATH" \ |
1395 | | build FLAC --disable-cpplibs $( isAltivec || echo "--disable-altivec") |
| 1458 | #LD_LIBRARY_PATH="$( [ "$MYTHTARGET" = "Host" ] && echo "${libdir}:" )$LD_LIBRARY_PATH" \ |
| 1459 | build FLAC --disable-cpplibs --disable-ogg $( isAltivec || echo "--disable-altivec") |
1396 | 1460 | |
1397 | 1461 | ############################################################################### |
1398 | 1462 | # Install libcdio - http://www.gnu.org/software/libcdio/ |
… |
… |
build LIBVISUAL --disable-threads |
1436 | 1500 | # Install libdvdcss - http://www.videolan.org/developers/libdvdcss.html |
1437 | 1501 | # For MythVideo |
1438 | 1502 | # NB need LDFLAGS=-no-undefined to enable dll creation |
1439 | | LDFLAGS="-no-undefined $LDFLAGS" build LIBDVDCSS |
| 1503 | LDFLAGS="-Wl,-no-undefined $LDFLAGS" build LIBDVDCSS |
1440 | 1504 | |
1441 | 1505 | ############################################################################### |
1442 | 1506 | # Install MySQL - http://mysql.com/ |
… |
… |
if [ ! -e "$stampconfig.$debug" -o -n "${!compcfg}" -o ! -e Makefile ]; then |
1801 | 1865 | # Add -no-iconv else build fails on Mandriva with mingw iconv installed |
1802 | 1866 | args="$args -no-iconv" |
1803 | 1867 | ;; |
1804 | | MacOSX-i686) args="$args -arch x86 -little-endian" ;; |
1805 | | MacOSX-PPC) args="$args -arch powerpc -big-endian" ;; |
1806 | 1868 | MacOSX*) |
| 1869 | case "$MYTHTARGET" in |
| 1870 | MacOSX-i686) args="$args -arch x86 -little-endian" ;; |
| 1871 | MacOSX-PPC) args="$args -arch powerpc -big-endian" ;; |
| 1872 | esac |
| 1873 | |
1807 | 1874 | args="$args -no-framework" |
1808 | 1875 | |
1809 | 1876 | # Dwarf2 symbols cause memory exhaustion in debug build |
… |
… |
banner "Building $name branch $branch ($MYTHBUILD)" |
1906 | 1973 | |
1907 | 1974 | # Apply patches |
1908 | 1975 | case "$MYTHVER" in |
| 1976 | 0.[0-9]|0.[1-9]*|[1-9].*|[1-9][0-9].*) |
| 1977 | [ "$patchmaster" != "no" ] && { dopatches "$name-$MYTHVER" || rm -f $stampconfig* ; } |
| 1978 | ;; |
1909 | 1979 | master) |
1910 | 1980 | [ "$patchmaster" = "yes" ] && { dopatches "$name-$MYTHVER" || rm -f $stampconfig* ; } |
1911 | 1981 | ;; |
1912 | | [0-9].[1-9]*) |
1913 | | dopatches "$name-$MYTHVER" || rm -f $stampconfig* |
| 1982 | *) |
1914 | 1983 | ;; |
1915 | | *) ;; |
1916 | 1984 | esac |
1917 | 1985 | |
1918 | 1986 | pushd "$name" >/dev/null |
… |
… |
if [ ! -e "$stampconfig${MYTHBUILD:+.$MYTHBUILD}" -o -n "$MYTHTV_CFG" \ |
1935 | 2003 | --disable-avdevice --disable-avfilter \ |
1936 | 2004 | --enable-libfftw3 --disable-joystick-menu" |
1937 | 2005 | case "$MYTHVER" in |
1938 | | 0.23*|0.24*) args="$args --disable-directfb" ;; |
| 2006 | 0.23*) args="$args --disable-directfb" ;; |
| 2007 | 0.24*) args="$args --disable-directfb --enable-vaapi" ;; |
| 2008 | ""|0.25*|master) args="$args --enable-vaapi" ;; |
1939 | 2009 | esac |
1940 | 2010 | rprefix=".." |
1941 | 2011 | case "$MYTHTARGET" in |
1942 | | [Hh]ost) targetos= ;; |
| 2012 | [Hh]ost) |
| 2013 | targetos="" |
| 2014 | # Enable x264 for mythffmpeg transcoding |
| 2015 | args="$args --enable-libx264 --enable-libmp3lame" |
| 2016 | ;; |
1943 | 2017 | [Ww]indows) |
1944 | 2018 | targetos="mingw32" |
1945 | 2019 | rprefix="." |
… |
… |
if [ ! -e "$stampconfig${MYTHBUILD:+.$MYTHBUILD}" -o -n "$MYTHTV_CFG" \ |
1949 | 2023 | args="$args --disable-lirc --disable-hdhomerun" |
1950 | 2024 | |
1951 | 2025 | # DXVA2 |
1952 | | [ "$DXVA2" == "yes" ] && args="$args --enable-dxva2" |
| 2026 | [ "$DXVA2" = "no" ] || args="$args --enable-dxva2" |
1953 | 2027 | |
1954 | 2028 | # Disable symbol-visibility or build problems on 0.24 & 0.23 |
1955 | 2029 | # Also disabled on master to quieten warnings which otherwise hide real probs |
1956 | 2030 | args="$args --disable-symbol-visibility" |
1957 | 2031 | ;; |
1958 | | # BUG the ppc x-compiler defines __vector but the SDK expects vector |
1959 | | # in CarbonCore/MachineExceptions.h so disable altivec |
1960 | | MacOSX-PPC) : ${cpu:=g3} ;; |
1961 | | MacOSX*) targetos="darwin" ;; |
| 2032 | MacOSX*) |
| 2033 | targetos="darwin" |
| 2034 | |
| 2035 | # BUG the ppc x-compiler defines __vector but the SDK expects vector |
| 2036 | # in CarbonCore/MachineExceptions.h so disable altivec |
| 2037 | [ "$MYTHTARGET" == "MacOSX-PPC" ] && : ${cpu:=g3} |
| 2038 | ;; |
1962 | 2039 | *) die "Unknown target: $MYTHTARGET" ;; |
1963 | 2040 | esac |
1964 | 2041 | |
… |
… |
if [ ! -e "$stampconfig${MYTHBUILD:+.$MYTHBUILD}" -o -n "$MYTHTV_CFG" \ |
1986 | 2063 | # This allows warning messages to be more easily seen |
1987 | 2064 | precis="$bindir/makelessnoise" |
1988 | 2065 | cat >> config.mak <<-EOF |
1989 | | QMAKE_CC=@$precis CC \$(abspath \$<) \$\$QMAKE_CC |
1990 | | QMAKE_CXX=@$precis CXX \$(abspath \$<) \$\$QMAKE_CXX |
1991 | | QMAKE_LINK=@$precis LINK \$@ \$\$QMAKE_LINK |
1992 | | QMAKE_AR=@$precis AR \$@ \$\$QMAKE_AR |
1993 | | QMAKE_MOC=@$precis MOC \$(abspath \$<) \$\$QMAKE_MOC |
| 2066 | QMAKE_CC=@$precis CC \$(abspath \$<) \$\$QMAKE_CC |
| 2067 | QMAKE_CXX=@$precis CXX \$(abspath \$<) \$\$QMAKE_CXX |
| 2068 | QMAKE_LINK=@$precis LINK \$@ \$\$QMAKE_LINK |
| 2069 | QMAKE_AR=@$precis AR \$@ \$\$QMAKE_AR |
| 2070 | QMAKE_MOC=@$precis MOC \$(abspath \$<) \$\$QMAKE_MOC |
1994 | 2071 | EOF |
1995 | 2072 | cat > "$precis" <<-EOF && chmod +x "$precis" |
1996 | 2073 | #!/bin/sh |
… |
… |
if [ ! -e "$stampconfig${MYTHBUILD:+.$MYTHBUILD}" -o -n "$MYTHPLUGINS_CFG" \ |
2053 | 2130 | rm -f $stampconfig* |
2054 | 2131 | [ -e Makefile ] && { make_uninstall; make_distclean; } || true |
2055 | 2132 | |
2056 | | plugins="--enable-all --enable-libvisual --enable-fftw" |
| 2133 | plugins="--enable-all --enable-fftw" |
| 2134 | case "$MYTHVER" in |
| 2135 | 0.23*|0.24*) plugins="$plugins --enable-libvisual" ;; |
| 2136 | ""|0.25*|master) ;; |
| 2137 | esac |
2057 | 2138 | |
2058 | 2139 | if ! isdebug QT ; then |
2059 | 2140 | # These plugins require a debug build of Qt in .pro file |
… |
… |
if [ ! -e "$stampconfig${MYTHBUILD:+.$MYTHBUILD}" -o -n "$MYTHPLUGINS_CFG" \ |
2065 | 2146 | esac |
2066 | 2147 | fi |
2067 | 2148 | |
2068 | | args="--prefix=$MYTHINSTALL --qmake=$MYTHWORK/$QT/bin/qmake --sysroot=$MYTHINSTALL --compile-type=$MYTHBUILD" |
| 2149 | args="--prefix=$MYTHINSTALL --qmake=$MYTHWORK/$QT/bin/qmake --compile-type=$MYTHBUILD" |
| 2150 | [ -n "$xprefix" ] && args="$args --cross-prefix=${xprefix}- --sysroot=$MYTHINSTALL" |
2069 | 2151 | case "$MYTHTARGET" in |
2070 | 2152 | [Ww]indows) |
2071 | | [ -n "$xprefix" ] && args="$args --cross-prefix=${xprefix}- --targetos=MINGW32" |
| 2153 | [ -n "$xprefix" ] && args="$args --targetos=MINGW32" |
2072 | 2154 | plugins="$plugins --d |