diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2020-08-06 22:07:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-06 13:07:46 -0700 |
| commit | 61c055a6fcfee2a7e764997bb2478adf49db6edf (patch) | |
| tree | 708267482f32dabbbb9b41f6c6e8dfb331b451a0 /ports/libass | |
| parent | 56174640c9b593f088145ea9cea70d84edf65c92 (diff) | |
| download | vcpkg-61c055a6fcfee2a7e764997bb2478adf49db6edf.tar.gz vcpkg-61c055a6fcfee2a7e764997bb2478adf49db6edf.zip | |
[brotli] add pkgconfig / [freetype] depend on brotli (#12405)
* [brotli] add pkgconfig
* [freetype] add pkgconfig and add dependency on brotli
* [qt5-base] add new freetype dependency to brotli and zstd
* [freetype] fix cmake paths
* [freetype] removed renaming of include dir and unnecessary cmake fixes
* [freetype-gl] fix glew include dir
* [podofo] fix freetype search.
* fixing wrong freetype stuff due to vcpkg owned wrong CMakeLists.txt .....
* fixing more freetype hidden issues.
* [sfml] fix missing include
* fix typo
* [freetype] uncomment previous renaming of include folders
* fix brotli linkage in static builds
* remove added alias to avoid problems.
* [freetype] add brotli to the wrapper
* [lzokay] format manifest
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports/libass')
| -rw-r--r-- | ports/libass/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | ports/libass/CONTROL | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ports/libass/CMakeLists.txt b/ports/libass/CMakeLists.txt index 7345e515f..2db910d27 100644 --- a/ports/libass/CMakeLists.txt +++ b/ports/libass/CMakeLists.txt @@ -42,6 +42,9 @@ find_path(HARFBUZZ_INCLUDE_DIR NAMES hb.h
PATH_SUFFIXES harfbuzz)
+find_path(DIRENT_INCLUDE_DIR
+ NAMES dirent.h)
+
find_library(FRIBIDI_LIBRARY NAMES fribidi)
find_library(HARFBUZZ_LIBRARY NAMES harfbuzz)
@@ -50,7 +53,10 @@ add_library(ass ${SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/libass.def) target_include_directories(ass PRIVATE
${FRIBIDI_INCLUDE_DIR}
${HARFBUZZ_INCLUDE_DIR})
-
+if(DIRENT_INCLUDE_DIR)
+ target_include_directories(ass PRIVATE
+ ${DIRENT_INCLUDE_DIR})
+endif()
target_link_libraries(ass PRIVATE
Freetype::Freetype
${FRIBIDI_LIBRARY}
diff --git a/ports/libass/CONTROL b/ports/libass/CONTROL index 3c11a9e9c..3e886403a 100644 --- a/ports/libass/CONTROL +++ b/ports/libass/CONTROL @@ -1,5 +1,5 @@ Source: libass Version: 0.14.0 -Port-Version: 1 +Port-Version: 2 Build-Depends: freetype, fribidi, harfbuzz, dirent (windows) Description: libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. |
