Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial stub of Linux client #1325

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ jobs:
libcairo2 \
libsecret-1-dev \
libtool \
libx11-xcb-dev \
libxcb-keysyms1-dev \
libxcb-xfixes0-dev \
nasm \
ninja-build \
qtbase5-dev
Expand Down
10 changes: 6 additions & 4 deletions Sources/Plasma/Apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ include_directories("${PLASMA_SOURCE_ROOT}/PubUtilLib")

if(PLASMA_BUILD_CLIENT)
add_subdirectory(plClient)
endif()

if(WIN32)
if(WIN32)
if(PLASMA_BUILD_CLIENT)
add_subdirectory(plCrashHandler)
endif()
endif()

if(PLASMA_BUILD_LAUNCHER AND WIN32)
add_subdirectory(plUruLauncher)
if(PLASMA_BUILD_LAUNCHER)
add_subdirectory(plUruLauncher)
endif()
endif()

if(PLASMA_BUILD_TOOLS)
Expand Down
15 changes: 15 additions & 0 deletions Sources/Plasma/Apps/plClient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ elseif(APPLE)
pfMetalPipelineShadersMSL21
pfMetalPipelineShadersMSL23
)
elseif(UNIX AND NOT APPLE)
list(APPEND plClient_SOURCES
linux/main.cpp
)
else()
list(APPEND plClient_SOURCES
main.cpp
Expand Down Expand Up @@ -246,6 +250,17 @@ target_link_libraries(
)
target_include_directories(plClient PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")

if(UNIX AND NOT APPLE)
target_link_libraries(
plClient
PRIVATE
xcb
xcb-xfixes
xcb-keysyms
X11
)
endif()

if(PLASMA_EXTERNAL_RELEASE)
set_target_properties(plClient PROPERTIES OUTPUT_NAME "UruExplorer")
endif(PLASMA_EXTERNAL_RELEASE)
Expand Down
Loading