-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- librtmp/Makefile 2010-06-30 15:58:35.000000000 -0400 | ||
+++ librtmp/Makefile.2 2011-03-31 16:19:52.813884882 -0400 | ||
@@ -1,6 +1,6 @@ | ||
VERSION=v2.4 | ||
|
||
-prefix=/usr/local | ||
+prefix=$(PREFIX) | ||
|
||
CC=$(CROSS_COMPILE)gcc | ||
LD=$(CROSS_COMPILE)ld |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- librtmp/Makefile.old 2016-06-20 12:40:21.179754807 +0200 | ||
+++ librtmp/Makefile 2016-06-20 12:40:54.233259590 +0200 | ||
@@ -2,8 +2,8 @@ | ||
|
||
prefix=/usr/local | ||
|
||
-CC=$(CROSS_COMPILE)gcc | ||
-LD=$(CROSS_COMPILE)ld | ||
+#CC=$(CROSS_COMPILE)gcc | ||
+#LD=$(CROSS_COMPILE)ld | ||
|
||
SYS=posix | ||
#SYS=mingw |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
project(librtmp) | ||
|
||
cmake_minimum_required(VERSION 2.8) | ||
set(SYS posix) | ||
if(CORE_SYSTEM_NAME MATCHES "osx" OR | ||
CORE_SYSTEM_NAMES MATCHES "ios") | ||
set(SYS darwin) | ||
endif() | ||
|
||
include(ExternalProject) | ||
externalproject_add(librtmp | ||
SOURCE_DIR ${CMAKE_SOURCE_DIR} | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND cd <SOURCE_DIR> && make -C librtmp SHARED= prefix=${OUTPUT_DIR} SYS=${SYS} XCFLAGS=-fpic | ||
INSTALL_COMMAND "") | ||
|
||
install(CODE "execute_process(COMMAND make -C librtmp install | ||
prefix=${OUTPUT_DIR} SYS=${SYS} XCFLAGS=-fpic SHARED= | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})") |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
openssl |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
librtmp http://mirrors.xbmc.org/build-deps/sources/rtmpdump-fa8646daeb19dfd12c181f7d19de708d623704c0.tar.gz |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
project(openssl) | ||
|
||
cmake_minimum_required(VERSION 2.8) | ||
|
||
include(ExternalProject) | ||
|
||
set(configure_command MACHINE=${PLATFORM} <SOURCE_DIR>/config no-shared zlib) | ||
|
||
if(CORE_SYSTEM_NAME MATCHES "android") | ||
set(configure_command <SOURCE_DIR>/Configure shared zlib | ||
--openssldir=${OUTPUT_DIR} | ||
--with-zlib-include=${OUTPUT_DIR}/include | ||
--with-zlib-dir=${OUTPUT_DIR}/lib | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
linux-generic32) | ||
endif() | ||
|
||
if(CORE_SYSTEM_NAME MATCHES "ios") | ||
set(configure_command CC=${CMAKE_COMPILER} AR=${CMAKE_AR} <SOURCE_DIR>/Configure iphoneos-cross zlib no-asm no-krb5 --openssldir=${OUTPUT_DIR}) | ||
set(build_command && sed -ie "s|CFLAG= |CFLAG=${CMAKE_CC_FLAGS} |" ${PROJECT_SOURCE_DIR}/Makefile | ||
&& sed -ie "s|-isysroot $(CROSS_TOP)/SDKs/$(CROSS_SDK) ||" ${PROJECT_SOURCE_DIR}/Makefile | ||
This comment has been minimized.
Sorry, something went wrong.
fetzerch
Member
|
||
&& sed -ie "s|static volatile sig_atomic_t intr_signal|static volatile intr_signal|" ${PROJECT_SOURCE_DIR}/crypto/ui/ui_openssl.c) | ||
endif() | ||
|
||
if(CORE_SYSTEM_NAME MATCHES "osx") | ||
if(CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
set(configure_command <SOURCE_DIR>/Configure darwin64-x86_64-cc zlib no-asm no-krb5 shared --openssldir=${OUTPUT_DIR}) | ||
else() | ||
set(configure_command <SOURCE_DIR>/Configure darwin-x86-cc zlib no-asm no-krb5 shared --openssldir=${OUTPUT_DIR}) | ||
endif() | ||
endif() | ||
|
||
externalproject_add(openssl | ||
SOURCE_DIR ${CMAKE_SOURCE_DIR} | ||
UPDATE_COMMAND "" | ||
CONFIGURE_COMMAND ${configure_command} | ||
BUILD_COMMAND echo Building openssl ${build_command} | ||
COMMAND sed -ie "s|apps test||" ${PROJECT_SOURCE_DIR}/Makefile | ||
COMMAND make depend | ||
COMMAND make | ||
INSTALL_COMMAND "" | ||
BUILD_IN_SOURCE 1) | ||
|
||
install(CODE "execute_process(COMMAND make install_sw | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
COMMAND rm -f ${OUTPUT_DIR}/lib/libcrypto.so* | ||
COMMAND rm -f ${OUTPUT_DIR}/lib/libssl.so* | ||
COMMAND rm -f ${OUTPUT_DIR}/lib/libcrypto*dylib* | ||
COMMAND rm -f ${OUTPUT_DIR}/lib/libssl*dylib* | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})") |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
zlib |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
openssl http://mirrors.xbmc.org/build-deps/sources/openssl-1.0.2h.tar.gz |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
zlib http://mirrors.xbmc.org/build-deps/sources/zlib-1.2.8.tar.gz |
I think this should be --with-zlib-lib
error from jenkins: