Skip to content

Commit

Permalink
[deps] Removed expat dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
CastagnaIT committed Apr 9, 2023
1 parent 4b6ca27 commit 8816b90
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 37 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ include_directories(${INCLUDES}

set(CMAKE_FIND_FRAMEWORK LAST)

find_package(EXPAT REQUIRED)
find_package(Bento4 REQUIRED)
find_package(Pugixml REQUIRED)

Expand All @@ -156,9 +155,7 @@ endif()

add_definitions(-DUNICODE -D_UNICODE)

include_directories(${EXPAT_INCLUDE_DIRS}
${PUGIXML_INCLUDE_DIRS})
list(APPEND DEPLIBS ${EXPAT_LIBRARIES})
include_directories(${PUGIXML_INCLUDE_DIRS})

if(CORE_SYSTEM_NAME STREQUAL ios OR CORE_SYSTEM_NAME STREQUAL darwin_embedded)
set(BENTOUSESTCFS 1)
Expand Down
3 changes: 1 addition & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ Source: kodi-inputstream-adaptive
Priority: extra
Maintainer: Team Kodi <[email protected]>
Build-Depends: debhelper (>= 9.0.0), cmake, libgtest-dev,
kodi-addon-dev, pkg-config, libexpat1-dev,
libpugixml-dev
kodi-addon-dev, pkg-config, libpugixml-dev
Standards-Version: 3.9.8
Section: libs
Homepage: https://kodi.tv
Expand Down
22 changes: 0 additions & 22 deletions depends/common/expat/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/common/expat/expat.sha256

This file was deleted.

1 change: 0 additions & 1 deletion depends/common/expat/expat.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/windows/expat/expat.sha256

This file was deleted.

1 change: 0 additions & 1 deletion depends/windows/expat/expat.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/windows/expat/flags.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/windowsstore/expat/expat.sha256

This file was deleted.

1 change: 0 additions & 1 deletion depends/windowsstore/expat/expat.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/windowsstore/expat/flags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ add_executable(${BINARY}
../utils/XMLUtils.cpp
)

target_link_libraries(${BINARY} PRIVATE ${EXPAT_LIBRARIES} ${PUGIXML_LIBRARIES} ${GTEST_LIBRARIES} Threads::Threads ${CMAKE_DL_LIBS})
target_link_libraries(${BINARY} PRIVATE ${PUGIXML_LIBRARIES} ${GTEST_LIBRARIES} Threads::Threads ${CMAKE_DL_LIBS})

set(TEST_DATA_DIR "${CMAKE_SOURCE_DIR}/src/test/manifests")
add_test(NAME manifest_tests COMMAND ${BINARY} "${TEST_DATA_DIR}")

0 comments on commit 8816b90

Please sign in to comment.