HD1000 Cascade needs to link with mad and dvbpsi. Generalized buildscript and the...
[vlc.git] / vlc.roku
1 #!/bin/sh
2
3 SRC="${HOME}/src"
4
5 # do it.
6 make distclean
7 ./bootstrap
8 CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld RANLIB=mipsel-linux-ranlib STRIP=mipsel-linux-strip \
9  ./configure --host=mipsel --enable-release --enable-static --enable-shared --enable-plugins \
10   --prefix=${HOME}/src/roku-dev/usr \
11   --disable-sdl \
12   --enable-mad \
13   --disable-libmpeg2 --with-libmpeg2-tree=${SRC}/mpeg2dec-0.4.0 \
14   --disable-dvbpsi --with-dvbpsi-tree=${SRC}/libdvbpsi3-0.1.4 \
15   --disable-vcd --disable-vcdx --disable-cdda --disable-cddax --disable-libcdio --disable-libcddb \
16   --disable-dvd --disable-dvdread --disable-dvdnav --disable-dvdplay \
17   --disable-dshow --disable-directx --disable-wingdi --disable-waveout \
18   --disable-macosx --disable-coreaudio --disable-quicktime \
19   --disable-qnx \
20   --disable-ncurses \
21   --disable-corba \
22   --disable-mozilla \
23   --disable-mga \
24   --disable-svgalib --disable-ggi --disable-glide \
25   --disable-aa --disable-caca \
26   --disable-qte --disable-qt_video \
27   --disable-livedotcom \
28   --disable-v4l \
29   --disable-pvr \
30   --disable-satellite --disable-dvb \
31   --disable-slp \
32   --disable-speex \
33   --disable-ffmpeg \
34   --disable-ogg --disable-vorbis --disable-tremor --disable-tarkin --disable-theora \
35   --disable-mod \
36   --disable-mkv \
37   --disable-a52 \
38   --disable-dts \
39   --disable-faad \
40   --disable-flac \
41   --disable-lirc --disable-joystick \
42   --disable-x11 --disable-xvideo --disable-xosd \
43   --disable-gtk --disable-gnome --disable-esd \
44   --disable-wxwindows \
45   --disable-kde --disable-arts \
46   --disable-pda --disable-opie \
47   --disable-cmml \
48   --disable-skins --disable-skins2 \
49   --disable-fribidi --disable-freetype \
50   --disable-sout \
51   --enable-oss --disable-alsa \
52   --disable-visual --disable-goom \
53   --enable-hd1000a --disable-hd1000v \
54   CFLAGS="-I${HOME}/src/roku-dev/usr/include -I${HOME}/src/roku-dev/usr/local/include/roku" \
55   CXXFLAGS="-I/usr/tools/roku/include" \
56   CPPFLAGS="-I${HOME}/src/roku-dev/usr/local/include" \
57   LDFLAGS="-L/usr/tools/roku/mipsel-linux/lib -L${HOME}/src/roku-dev/lib -L${HOME}/src/roku-dev/usr/local/lib -Wl,-rpath-link -Wl,${HOME}/src/roku-dev/usr/local/lib -lm" && \
58   make