diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdvd/build-xbmc-win32.sh | 85 | ||||
-rwxr-xr-x | lib/libdvd/dvdread-config | 60 |
2 files changed, 0 insertions, 145 deletions
diff --git a/lib/libdvd/build-xbmc-win32.sh b/lib/libdvd/build-xbmc-win32.sh deleted file mode 100644 index 0945773ec0..0000000000 --- a/lib/libdvd/build-xbmc-win32.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -MAKECLEAN=0 -MAKEFLAGS="" -BGPROCESSFILE=$2 - -if [ "$1" = "clean" ] -then -MAKECLEAN=1 -fi - -if [ $NUMBER_OF_PROCESSORS > 1 ]; then - MAKEFLAGS=-j$NUMBER_OF_PROCESSORS -fi - -#libdvdcss -cd libdvdcss -echo "***** Cleaning libdvdcss *****" -if [ $MAKECLEAN = 1 ] -then -make distclean -fi -echo "***** Building libdvdcss *****" -autoreconf -i -./configure \ - CFLAGS="-DNDEBUG" \ - --disable-doc \ - --enable-static \ - --with-pic -make $MAKEFLAGS -strip -S .libs/libdvdcss-2.dll -cd .. -mkdir -p includes/dvdcss -cp libdvdcss/src/dvdcss/dvdcss.h includes/dvdcss -cp libdvdcss/.libs/libdvdcss-2.dll /xbmc/system/players/VideoPlayer/ - -#libdvdread -cd libdvdread -echo "***** Cleaning libdvdread *****" -if [ $MAKECLEAN = 1 ] -then -make distclean -fi -echo "***** Building libdvdread *****" -./configure2 \ - --disable-shared \ - --enable-static \ - --extra-cflags="-DHAVE_DVDCSS_DVDCSS_H -D_XBMC -DNDEBUG -D_MSC_VER -I`pwd`/../includes" \ - --disable-debug -mkdir -p ../includes/dvdread -cp ../libdvdread/src/dvdread/*.h ../includes/dvdread -make $MAKEFLAGS -cd .. - -#libdvdnav -cd libdvdnav -echo "***** Cleaning libdvdnav *****" -if [ $MAKECLEAN = 1 ] -then -make distclean -fi -echo "***** Building libdvdnav *****" -./configure2 \ - --disable-shared \ - --enable-static \ - --extra-cflags="-D_XBMC -DNDEBUG -I`pwd`/../includes" \ - --with-dvdread-config="`pwd`/../dvdread-config" \ - --disable-debug -mkdir -p ../includes/dvdnav -cp ../libdvdnav/src/dvdnav/*.h ../includes/dvdnav -make $MAKEFLAGS -gcc \ - -shared \ - -o obj/libdvdnav.dll \ - ../libdvdread/obj/*.o obj/*.o ../libdvdcss/.libs/libdvdcss.dll.a \ - -ldl \ - -Wl,--enable-auto-image-base \ - -Xlinker --enable-auto-import - -strip -S obj/libdvdnav.dll -cd .. -cp libdvdnav/obj/libdvdnav.dll /xbmc/system/players/VideoPlayer/ -echo "***** Done *****" -#remove the bgprocessfile for signaling the process end -rm $BGPROCESSFILE diff --git a/lib/libdvd/dvdread-config b/lib/libdvd/dvdread-config deleted file mode 100755 index b28b1cac77..0000000000 --- a/lib/libdvd/dvdread-config +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -# this configfile is based on the original libdvdread config -# 'dvdread-config' but stripped down to not output the include -# and libdirs to not break crosscompiling with including -# system includes and libraries - -prefix=/usr -dvdreadlib="-ldvdread" - -usage() -{ - cat <<EOF -Usage: dvdread-config [OPTIONS] [LIBRARIES] -Options: - [--prefix[=DIR]] - [--libs] - [--cflags] -EOF - exit $1 -} - -if test $# -eq 0; then - usage 1 1>&2 -fi - -while test $# -gt 0; do - case "$1" in - -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) optarg= ;; - esac - - case $1 in - --prefix) - echo_prefix=yes - ;; - --cflags) - echo_cflags=yes - ;; - --libs) - echo_libs=yes - ;; - *) - usage 1 1>&2 - ;; - esac - shift -done - -if test "$echo_prefix" = "yes"; then - echo $prefix -fi - -if test "$echo_cflags" = "yes"; then - echo $extracflags -fi - -if test "$echo_libs" = "yes"; then - echo $dvdreadlib -fi |