mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
(Haiku) Added support for the PDF viewer
This commit is contained in:
parent
7992dbcf01
commit
51cb73b987
|
@ -715,26 +715,19 @@ if(COMPILE_LOCALIZATIONS)
|
||||||
add_subdirectory(locale)
|
add_subdirectory(locale)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT HAIKU)
|
add_subdirectory(es-pdf-converter)
|
||||||
add_subdirectory(es-pdf-converter)
|
|
||||||
endif()
|
|
||||||
add_subdirectory(external)
|
add_subdirectory(external)
|
||||||
add_subdirectory(es-core)
|
add_subdirectory(es-core)
|
||||||
add_subdirectory(es-app)
|
add_subdirectory(es-app)
|
||||||
|
|
||||||
# Make sure that es-pdf-convert is built first, and then that rlottie is built before es-core.
|
# Make sure that es-pdf-convert is built first, and then that rlottie is built before es-core.
|
||||||
# Also set lottie2gif to not be built.
|
add_dependencies(lunasvg es-pdf-convert)
|
||||||
if(NOT HAIKU)
|
|
||||||
add_dependencies(lunasvg es-pdf-convert)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(COMPILE_LOCALIZATIONS)
|
if(COMPILE_LOCALIZATIONS)
|
||||||
if(NOT HAIKU)
|
|
||||||
add_dependencies(es-pdf-convert localization)
|
add_dependencies(es-pdf-convert localization)
|
||||||
else()
|
|
||||||
add_dependencies(lunasvg localization)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_dependencies(es-core rlottie)
|
add_dependencies(es-core rlottie)
|
||||||
|
|
||||||
|
# Set lottie2gif to not be built.
|
||||||
set_target_properties(lottie2gif PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)
|
set_target_properties(lottie2gif PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)
|
||||||
|
|
|
@ -273,9 +273,7 @@ elseif(APPLE)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ../Resources)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ../Resources)
|
||||||
elseif(NOT ANDROID)
|
elseif(NOT ANDROID)
|
||||||
install(TARGETS es-de RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
install(TARGETS es-de RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
if(NOT HAIKU)
|
|
||||||
install(TARGETS es-pdf-convert RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
install(TARGETS es-pdf-convert RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
endif()
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
if(CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/es-de.6.gz
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/es-de.6.gz
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
|
||||||
|
|
Loading…
Reference in a new issue