Commit e3dfa451 authored by Jean-Paul Saman's avatar Jean-Paul Saman

HD1000 Cascade needs to link with mad and dvbpsi. Generalized buildscript and...

HD1000 Cascade needs to link with mad and dvbpsi. Generalized buildscript and the HD1000v module has priority 100 on Roku OS
parent 6474e0a6
...@@ -2400,7 +2400,7 @@ AC_CHECK_HEADERS(png.h, [ ...@@ -2400,7 +2400,7 @@ AC_CHECK_HEADERS(png.h, [
AX_ADD_LDFLAGS([logo],[-lpng -lz]) AX_ADD_LDFLAGS([logo],[-lpng -lz])
AX_ADD_PLUGINS([logo]) AX_ADD_PLUGINS([logo])
AX_ADD_LDFLAGS([svcdsub],[-lpng -lz]) AX_ADD_LDFLAGS([svcdsub],[-lpng -lz])
AX_ADD_LDFLAGS([cvdsub],[-lpng -lz]) AX_ADD_LDFLAGS([cvdsub],[-lpng -lz -lm])
AC_DEFINE(HAVE_LIBPNG, [], [Define if you have the PNG library: libpng])]) AC_DEFINE(HAVE_LIBPNG, [], [Define if you have the PNG library: libpng])])
dnl dnl
...@@ -2681,7 +2681,7 @@ dnl ...@@ -2681,7 +2681,7 @@ dnl
dnl Roku HD1000 Video output module dnl Roku HD1000 Video output module
dnl dnl
AC_ARG_ENABLE(hd1000v, AC_ARG_ENABLE(hd1000v,
[ --enable-hd1000v HD1000 Video Output module (default enabled on HD1 000)]) [ --enable-hd1000v HD1000 Video Output module (default enabled on HD1000)])
if test "${enable_hd1000v}" != "no" && if test "${enable_hd1000v}" != "no" &&
(test "${SYS}" != "mingw32" || test "${enable_hd1000v}" = "yes") (test "${SYS}" != "mingw32" || test "${enable_hd1000v}" = "yes")
then then
...@@ -2697,7 +2697,7 @@ then ...@@ -2697,7 +2697,7 @@ then
if test "$can_build_roku" = "yes" if test "$can_build_roku" = "yes"
then then
AX_ADD_PLUGINS([hd1000v]) AX_ADD_PLUGINS([hd1000v])
AX_ADD_LDFLAGS([hd1000v],[-lCascade]) AX_ADD_LDFLAGS([hd1000v],[-lCascade -ldvbpsi -lmad])
fi fi
AC_LANG_POP([C++]) AC_LANG_POP([C++])
fi fi
...@@ -3160,7 +3160,7 @@ dnl ...@@ -3160,7 +3160,7 @@ dnl
dnl PDA Gtk+2 module dnl PDA Gtk+2 module
dnl dnl
AC_ARG_ENABLE(pda, AC_ARG_ENABLE(pda,
[ --enable-pda PDA interface needs Gtk2 support (default disabled)]) [ --enable-pda PDA interface needs Gtk2 support (default disabled)])
if test "x${enable_pda}" = "xyes" if test "x${enable_pda}" = "xyes"
then then
PKG_CHECK_MODULES(GTK2, [gtk+-2.0 >= 2.0.0, gthread-2.0]) PKG_CHECK_MODULES(GTK2, [gtk+-2.0 >= 2.0.0, gthread-2.0])
......
...@@ -55,7 +55,7 @@ static void FreePicture( vout_thread_t *, picture_t * ); ...@@ -55,7 +55,7 @@ static void FreePicture( vout_thread_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_description( _("HD1000 video output") ); set_description( _("HD1000 video output") );
set_capability( "video output", 10 ); set_capability( "video output", 100 );
add_shortcut( "hd1000v" ); add_shortcut( "hd1000v" );
set_callbacks( Create, Destroy ); set_callbacks( Create, Destroy );
vlc_module_end(); vlc_module_end();
......
#!/bin/sh #!/bin/sh
SRC="${HOME}/src"
# do it.
make distclean make distclean
./bootstrap ./bootstrap
CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld RANLIB=mipsel-linux-ranlib STRIP=mipsel-linux-strip \ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld RANLIB=mipsel-linux-ranlib STRIP=mipsel-linux-strip \
./configure --host=mipsel --enable-release --enable-static --disable-shared --disable-plugins \ ./configure --host=mipsel --enable-release --enable-static --enable-shared --enable-plugins \
--prefix=/home/jpsaman/src/roku-dev/usr \ --prefix=${HOME}/src/roku-dev/usr \
--disable-sdl \ --disable-sdl \
--enable-mad --with-mad-tree=/home/jpsaman/src/libmad-0.15.0b \ --enable-mad \
--enable-libmpeg2 --with-libmpeg2-tree=/home/jpsaman/src/mpeg2dec-0.4.0 \ --disable-libmpeg2 --with-libmpeg2-tree=${SRC}/mpeg2dec-0.4.0 \
--enable-dvbpsi --with-dvbpsi-tree=/home/jpsaman/src/libdvbpsi3-0.1.4 \ --disable-dvbpsi --with-dvbpsi-tree=${SRC}/libdvbpsi3-0.1.4 \
--disable-vcd --disable-vcdx --disable-cdda --disable-cddax --disable-libcdio --disable-libcddb \ --disable-vcd --disable-vcdx --disable-cdda --disable-cddax --disable-libcdio --disable-libcddb \
--disable-dvd --disable-dvdread --disable-dvdnav --disable-dvdplay \ --disable-dvd --disable-dvdread --disable-dvdnav --disable-dvdplay \
--disable-dshow --disable-directx --disable-wingdi --disable-waveout \ --disable-dshow --disable-directx --disable-wingdi --disable-waveout \
...@@ -45,9 +49,10 @@ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld R ...@@ -45,9 +49,10 @@ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld R
--disable-fribidi --disable-freetype \ --disable-fribidi --disable-freetype \
--disable-sout \ --disable-sout \
--enable-oss --disable-alsa \ --enable-oss --disable-alsa \
--enable-visual --disable-goom \ --disable-visual --disable-goom \
--enable-hd1000a --enable-hd1000v \ --enable-hd1000a --disable-hd1000v \
CFLAGS="-I/home/jpsaman/src/roku-dev/usr/include -I/home/jpsaman/src/roku-dev/usr/local/include/roku" \ CFLAGS="-I${HOME}/src/roku-dev/usr/include -I${HOME}/src/roku-dev/usr/local/include/roku" \
CXXFLAGS="-I/usr/tools/roku/include " \ CXXFLAGS="-I/usr/tools/roku/include" \
LDFLAGS="-L/usr/tools/roku/mipsel-linux/lib -L/home/jpsaman/src/roku-dev/lib -L/home/jpsaman/src/roku-dev/usr/local/lib -Wl,-rpath-link -Wl,/home/jpsaman/src/roku-dev/usr/local/lib" && \ CPPFLAGS="-I${HOME}/src/roku-dev/usr/local/include" \
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" && \
make make
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment