mirror of https://github.com/procxx/kepka.git
Move TDESKTOP_DISABLE_DBUS_INTEGRATION to cmake_helpers
This commit is contained in:
parent
8128f851d1
commit
bbc516cf43
|
@ -31,7 +31,7 @@ jobs:
|
||||||
CMAKE_VER: "3.16.3"
|
CMAKE_VER: "3.16.3"
|
||||||
UPLOAD_ARTIFACT: "false"
|
UPLOAD_ARTIFACT: "false"
|
||||||
ONLY_CACHE: "false"
|
ONLY_CACHE: "false"
|
||||||
MANUAL_CACHING: "4"
|
MANUAL_CACHING: "5"
|
||||||
DOC_PATH: "docs/building-cmake.md"
|
DOC_PATH: "docs/building-cmake.md"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -382,6 +382,7 @@ jobs:
|
||||||
-no-opengl \
|
-no-opengl \
|
||||||
-no-gtk \
|
-no-gtk \
|
||||||
-static \
|
-static \
|
||||||
|
-dbus-runtime \
|
||||||
-openssl-linked \
|
-openssl-linked \
|
||||||
-I "$OPENSSL_PREFIX/include" OPENSSL_LIBS="$OPENSSL_PREFIX/lib/libssl.a $OPENSSL_PREFIX/lib/libcrypto.a -ldl -lpthread" \
|
-I "$OPENSSL_PREFIX/include" OPENSSL_LIBS="$OPENSSL_PREFIX/lib/libssl.a $OPENSSL_PREFIX/lib/libcrypto.a -ldl -lpthread" \
|
||||||
-nomake examples \
|
-nomake examples \
|
||||||
|
|
|
@ -77,7 +77,7 @@ if (DESKTOP_APP_USE_PACKAGED)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (LINUX AND NOT TDESKTOP_DISABLE_DBUS_INTEGRATION)
|
if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||||
target_link_libraries(Telegram
|
target_link_libraries(Telegram
|
||||||
PRIVATE
|
PRIVATE
|
||||||
desktop-app::external_statusnotifieritem
|
desktop-app::external_statusnotifieritem
|
||||||
|
|
|
@ -9,7 +9,6 @@ option(TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME "Disable automatic 'tg://' URL sc
|
||||||
option(TDESKTOP_DISABLE_NETWORK_PROXY "Disable all code for working through Socks5 or MTProxy." OFF)
|
option(TDESKTOP_DISABLE_NETWORK_PROXY "Disable all code for working through Socks5 or MTProxy." OFF)
|
||||||
option(TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION "Disable automatic '.desktop' file generation (Linux only)." ${DESKTOP_APP_USE_PACKAGED})
|
option(TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION "Disable automatic '.desktop' file generation (Linux only)." ${DESKTOP_APP_USE_PACKAGED})
|
||||||
option(TDESKTOP_DISABLE_GTK_INTEGRATION "Disable all code for GTK integration (Linux only)." ON)
|
option(TDESKTOP_DISABLE_GTK_INTEGRATION "Disable all code for GTK integration (Linux only)." ON)
|
||||||
option(TDESKTOP_DISABLE_DBUS_INTEGRATION "Disable all code for D-Bus integration (Linux only)." OFF)
|
|
||||||
option(TDESKTOP_USE_PACKAGED_TGVOIP "Find libtgvoip using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
option(TDESKTOP_USE_PACKAGED_TGVOIP "Find libtgvoip using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||||
option(TDESKTOP_API_TEST "Use test API credentials." OFF)
|
option(TDESKTOP_API_TEST "Use test API credentials." OFF)
|
||||||
set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
|
set(TDESKTOP_API_ID "0" CACHE STRING "Provide 'api_id' for the Telegram API access.")
|
||||||
|
@ -86,7 +85,7 @@ if (TDESKTOP_DISABLE_GTK_INTEGRATION)
|
||||||
target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_GTK_INTEGRATION)
|
target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_GTK_INTEGRATION)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TDESKTOP_DISABLE_DBUS_INTEGRATION)
|
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||||
target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_DBUS_INTEGRATION)
|
target_compile_definitions(Telegram PRIVATE TDESKTOP_DISABLE_DBUS_INTEGRATION)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,7 @@ Go to ***BuildPath*** and run
|
||||||
-no-opengl \
|
-no-opengl \
|
||||||
-no-gtk \
|
-no-gtk \
|
||||||
-static \
|
-static \
|
||||||
|
-dbus-runtime \
|
||||||
-openssl-linked \
|
-openssl-linked \
|
||||||
-I "$OPENSSL_DIR/include" OPENSSL_LIBS="$OPENSSL_DIR/lib/libssl.a $OPENSSL_DIR/lib/libcrypto.a -ldl -lpthread" \
|
-I "$OPENSSL_DIR/include" OPENSSL_LIBS="$OPENSSL_DIR/lib/libssl.a $OPENSSL_DIR/lib/libcrypto.a -ldl -lpthread" \
|
||||||
-nomake examples \
|
-nomake examples \
|
||||||
|
|
Loading…
Reference in New Issue