diff options
| author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2022-07-11 00:41:39 +0300 |
|---|---|---|
| committer | Joonas Niilola <juippis@gentoo.org> | 2022-07-23 12:13:33 +0300 |
| commit | 554fef0b9b28d3cce7889fa999cdf7c48e99479c (patch) | |
| tree | fb40b2a2adde7a5c210589d0eb6396f4228516cb /dev-games/aseprite/files/aseprite-1.2.35_laf_fixes.patch | |
| parent | 84ea60b925efec5fa77c57be56dea528d85f80b5 (diff) | |
| download | gentoo-554fef0b9b28d3cce7889fa999cdf7c48e99479c.tar.gz gentoo-554fef0b9b28d3cce7889fa999cdf7c48e99479c.tar.bz2 gentoo-554fef0b9b28d3cce7889fa999cdf7c48e99479c.zip | |
dev-games/aseprite: add 1.2.35
Closes: https://bugs.gentoo.org/696186
Closes: https://bugs.gentoo.org/791682
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26335
Closes: https://github.com/gentoo/gentoo/pull/26171
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-games/aseprite/files/aseprite-1.2.35_laf_fixes.patch')
| -rw-r--r-- | dev-games/aseprite/files/aseprite-1.2.35_laf_fixes.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-games/aseprite/files/aseprite-1.2.35_laf_fixes.patch b/dev-games/aseprite/files/aseprite-1.2.35_laf_fixes.patch new file mode 100644 index 000000000000..31a9ab5b3be9 --- /dev/null +++ b/dev-games/aseprite/files/aseprite-1.2.35_laf_fixes.patch @@ -0,0 +1,40 @@ +diff --git a/cmake/FindSkia.cmake b/cmake/FindSkia.cmake +index 2d18c12..2e37f22 100644 +--- a/laf/cmake/FindSkia.cmake ++++ b/laf/cmake/FindSkia.cmake +@@ -122,25 +122,25 @@ if(NOT ZLIB_LIBRARIES) + set(ZLIB_LIBRARIES ${ZLIB_LIBRARY}) + endif() + +-set(FREETYPE_FOUND ON) +-find_library(FREETYPE_LIBRARY freetype2 PATH "${SKIA_LIBRARY_DIR}" NO_DEFAULT_PATH) +-set(FREETYPE_LIBRARIES ${FREETYPE_LIBRARY}) +-set(FREETYPE_INCLUDE_DIRS "${SKIA_DIR}/third_party/externals/freetype/include") +- +-find_library(HARFBUZZ_LIBRARY harfbuzz PATH "${SKIA_LIBRARY_DIR}" NO_DEFAULT_PATH) +-set(HARFBUZZ_LIBRARIES ${HARFBUZZ_LIBRARY}) +-set(HARFBUZZ_INCLUDE_DIRS "${SKIA_DIR}/third_party/externals/harfbuzz/src") +- + set(SKIA_LIBRARIES + ${SKIA_LIBRARY} + ${SKIA_OPENGL_LIBRARY} ++ ${FREETYPE_LIBRARIES} ++ ${JPEG_LIBRARIES} ++ ${HARFBUZZ_LIBRARIES} ++ ${PNG_LIBRARIES} ++ ${WEBP_LIBRARIES} + CACHE INTERNAL "Skia libraries") + + add_library(skia INTERFACE) + target_include_directories(skia INTERFACE + ${SKIA_DIR} + ${FREETYPE_INCLUDE_DIRS} +- ${HARFBUZZ_INCLUDE_DIRS}) ++ ${JPEG_INCLUDE_DIRS} ++ ${HARFBUZZ_INCLUDE_DIRS} ++ ${PNG_INCLUDE_DIRS} ++ ${WEBP_INCLUDE_DIRS} ++) + target_link_libraries(skia INTERFACE ${SKIA_LIBRARIES}) + target_compile_definitions(skia INTERFACE + SK_INTERNAL |
