[xbmc-rebrand] xbmc-audioencoder-lame: add patch to fix install location, move install location

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-10-20 04:52:21 +02:00
parent 9ee11e4299
commit e5e09d948b
2 changed files with 25 additions and 1 deletions

View File

@ -35,7 +35,7 @@ PKG_AUTORECONF="no"
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/xbmc \
-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \
-DLAME_INCLUDE_DIRS=$SYSROOT_PREFIX/usr/include \
..

View File

@ -0,0 +1,24 @@
diff -Naur xbmc-audioencoder-lame-736b5f4/CMakeLists.txt xbmc-audioencoder-lame-736b5f4.patch/CMakeLists.txt
--- xbmc-audioencoder-lame-736b5f4/CMakeLists.txt 2014-07-18 23:48:35.000000000 +0200
+++ xbmc-audioencoder-lame-736b5f4.patch/CMakeLists.txt 2014-10-20 13:06:32.787416257 +0200
@@ -6,7 +6,7 @@
enable_language(CXX)
-find_package(xbmc REQUIRED)
+find_package(kodi REQUIRED)
find_package(Lame REQUIRED)
if(WIN32)
find_package(MPGHIP REQUIRED)
diff -Naur xbmc-audioencoder-lame-736b5f4/src/EncoderLame.cpp xbmc-audioencoder-lame-736b5f4.patch/src/EncoderLame.cpp
--- xbmc-audioencoder-lame-736b5f4/src/EncoderLame.cpp 2014-07-18 23:48:35.000000000 +0200
+++ xbmc-audioencoder-lame-736b5f4.patch/src/EncoderLame.cpp 2014-10-20 02:51:53.710444163 +0200
@@ -19,7 +19,7 @@
*/
#include <lame/lame.h>
-#include "xbmc/xbmc_audioenc_dll.h"
+#include "kodi/xbmc_audioenc_dll.h"
#include <string.h>
#include <stdlib.h>
#include <algorithm>