summaryrefslogtreecommitdiff
path: root/package/xbmc/patches/patch-configure_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/xbmc/patches/patch-configure_in')
-rw-r--r--package/xbmc/patches/patch-configure_in46
1 files changed, 19 insertions, 27 deletions
diff --git a/package/xbmc/patches/patch-configure_in b/package/xbmc/patches/patch-configure_in
index a2598b211..ed9d8fa83 100644
--- a/package/xbmc/patches/patch-configure_in
+++ b/package/xbmc/patches/patch-configure_in
@@ -1,15 +1,24 @@
---- xbmc-13.1.orig/configure.in 2014-06-08 08:40:24.000000000 +0200
-+++ xbmc-13.1/configure.in 2014-06-08 11:12:35.190431752 +0200
-@@ -600,7 +600,7 @@ PKG_PROG_PKG_CONFIG
- MAKE="${MAKE:-make}"
+--- xbmc-13.1.orig/configure.in 2014-06-12 10:25:21.000000000 +0200
++++ xbmc-13.1/configure.in 2014-06-26 20:29:26.343281621 +0200
+@@ -601,7 +601,7 @@ MAKE="${MAKE:-make}"
OBJDUMP="${OBJDUMP:-objdump}"
--use_external_ffmpeg=no
-+use_external_ffmpeg=yes
- use_static_ffmpeg=no
+ use_external_ffmpeg=no
+-use_static_ffmpeg=no
++use_static_ffmpeg=yes
# ffmpeg needs the output of uname -s (e.x. linux, darwin) for the target_os
-@@ -626,21 +626,21 @@ case $host in
+ # there is no autoconf variable which will give
+@@ -609,7 +609,7 @@ use_static_ffmpeg=no
+ # so we have to use our own var here
+ # defaults to the build side target_os
+ # and should be overridden for cross below (see android)
+-ffmpeg_target_os=$(tolower $(uname -s))
++ffmpeg_target_os=linux
+
+ # host detection and setup
+ case $host in
+@@ -626,7 +626,7 @@ case $host in
use_x11=no
build_shared_lib=yes
;;
@@ -18,23 +27,15 @@
ARCH="i486-linux"
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
use_arch="x86"
- use_cpu="i686"
+@@ -634,7 +634,7 @@ case $host in
fi
-- use_static_ffmpeg=yes
-+ use_static_ffmpeg=no
+ use_static_ffmpeg=yes
;;
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
+ x86_64-*-linux-*)
ARCH="x86_64-linux"
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
use_arch="x86_64"
- use_cpu="x86_64"
- fi
-- use_static_ffmpeg=yes
-+ use_static_ffmpeg=no
- ;;
- i386-*-freebsd*)
- ARCH="x86-freebsd"
@@ -680,13 +680,13 @@ case $host in
ARCH="powerpc-osx"
use_arch="ppc"
@@ -52,15 +53,6 @@
ARCH="arm"
use_arch="arm"
ffmpeg_target_os=linux
-@@ -696,7 +696,7 @@ case $host in
- use_sdl=no
- use_x11=no
- use_wayland=no
-- use_static_ffmpeg=yes
-+ use_static_ffmpeg=no
- ;;
- arm*-*linux-android*)
- target_platform=target_android
@@ -1048,7 +1048,7 @@ if test "$use_gles" = "yes"; then
AC_DEFINE([HAVE_LIBEGL],[1],["Define to 1 if you have the `EGL' library (-lEGL)."])
AC_DEFINE([HAVE_LIBGLESV2],[1],["Define to 1 if you have the `GLESv2' library (-lGLESv2)."])