Skip to content

Commit

Permalink
sync cmake project
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnipex authored and FernetMenta committed Dec 11, 2015
1 parent 482e8e0 commit 2617aee
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 2 deletions.
1 change: 1 addition & 0 deletions project/cmake/modules/FindCpluff.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ get_filename_component(expat_dir ${EXPAT_LIBRARY} PATH)
set(ldflags "-L${expat_dir}")
ExternalProject_ADD(libcpluff SOURCE_DIR ${CORE_SOURCE_DIR}/lib/cpluff
PREFIX ${CORE_BUILD_DIR}/cpluff
PATCH_COMMAND rm -f config.status
UPDATE_COMMAND autoreconf -vif
CONFIGURE_COMMAND CC=${CMAKE_C_COMPILER} ${CORE_SOURCE_DIR}/lib/cpluff/configure
--disable-nls
Expand Down
3 changes: 3 additions & 0 deletions project/cmake/modules/FindLibDvd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endif()
if(ENABLE_DVDCSS)
ExternalProject_ADD(dvdcss SOURCE_DIR ${CORE_SOURCE_DIR}/lib/libdvd/libdvdcss/
PREFIX ${CORE_BUILD_DIR}/libdvd
PATCH_COMMAND rm -f config.status
UPDATE_COMMAND autoreconf -vif
CONFIGURE_COMMAND <SOURCE_DIR>/configure
--target=${ARCH}
Expand All @@ -29,6 +30,7 @@ endif(ENABLE_DVDCSS)

ExternalProject_ADD(dvdread SOURCE_DIR ${CORE_SOURCE_DIR}/lib/libdvd/libdvdread/
PREFIX ${CORE_BUILD_DIR}/libdvd
PATCH_COMMAND rm -f config.status
UPDATE_COMMAND autoreconf -vif
CONFIGURE_COMMAND <SOURCE_DIR>/configure
--target=${ARCH}
Expand All @@ -49,6 +51,7 @@ core_link_library(${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/libdvd/lib/libdvdread.a

ExternalProject_ADD(dvdnav SOURCE_DIR ${CORE_SOURCE_DIR}/lib/libdvd/libdvdnav/
PREFIX ${CORE_BUILD_DIR}/libdvd
PATCH_COMMAND rm -f config.status
UPDATE_COMMAND autoreconf -vif
CONFIGURE_COMMAND <SOURCE_DIR>/configure
--target=${ARCH}
Expand Down
2 changes: 2 additions & 0 deletions project/cmake/treedata/linux/subdirs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
xbmc/linux linuxsupport
xbmc/input/linux input/linux
xbmc/input/touch input/touch
xbmc/input/touch/generic input/touch/generic
xbmc/network/linux network/linux
xbmc/peripherals/bus/linux peripherals/bus/linux
xbmc/powermanagement/linux powermanagement/linux
Expand Down
2 changes: 2 additions & 0 deletions project/cmake/treedata/rbpi/subdirs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
xbmc/linux linuxsupport
xbmc/input/linux input/linux
xbmc/input/touch input/touch
xbmc/input/touch/generic input/touch/generic
xbmc/network/linux network/linux
xbmc/peripherals/bus/linux peripherals/bus/linux
xbmc/powermanagement/linux powermanagement/linux
Expand Down
8 changes: 8 additions & 0 deletions xbmc/cores/VideoPlayer/VideoRenderers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
enable_language(CXX ASM)
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp" )

set(SOURCES BaseRenderer.cpp
OverlayRenderer.cpp
OverlayRendererGUI.cpp
Expand All @@ -22,5 +25,10 @@ if(GLES_FOUND)

endif()

if(ARCH MATCHES "arm")
list(APPEND SOURCES yuv2rgb.neon.S)
endif()


core_add_library(videorenderers)
add_dependencies(videorenderers ffmpeg)
5 changes: 3 additions & 2 deletions xbmc/cores/VideoPlayer/VideoRenderers/yuv2rgb.neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//
//
//
#ifdef __ARM_NEON__
#if defined __ARM_NEON__ || defined(__ARM_NEON__)

/* Initial ARM Neon implementation of core YUV2RGB functions. */

Expand Down Expand Up @@ -490,5 +490,6 @@ loop_h_422:
#ifndef __APPLE__
.fnend
#endif

#else
#error __ARM_NEON__ not defined
#endif /* __ARM_NEON__ */
1 change: 1 addition & 0 deletions xbmc/input/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set(SOURCES ButtonTranslator.cpp
InputCodingTableBaiduPY.cpp
InputCodingTableBasePY.cpp
InputCodingTableFactory.cpp
InputCodingTableKorean.cpp
InputManager.cpp
Key.cpp
KeyboardLayout.cpp
Expand Down
3 changes: 3 additions & 0 deletions xbmc/input/touch/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(SOURCES ITouchInputHandling.cpp)

core_add_library(input_touch)
7 changes: 7 additions & 0 deletions xbmc/input/touch/generic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set(SOURCES GenericTouchActionHandler.cpp
GenericTouchInputHandler.cpp
GenericTouchPinchDetector.cpp
GenericTouchRotateDetector.cpp
GenericTouchSwipeDetector.cpp)

core_add_library(input_touch_generic)

0 comments on commit 2617aee

Please sign in to comment.