diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1323ca472..266a32f1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,6 +116,7 @@ jobs: rapidjson-dev \ libssl-dev \ libboost-dev \ + libxcb-randr0-dev \ libboost-system-dev \ libboost-filesystem-dev \ libpulse-dev \ diff --git a/lib/qtkeychain.pri b/lib/qtkeychain.pri index b4b24c47a..0cda579cb 100644 --- a/lib/qtkeychain.pri +++ b/lib/qtkeychain.pri @@ -1,5 +1,5 @@ freebsd { - INCLUDEPATH += /usr/local/include + INCLUDEPATH += /usr/local/include/qt5keychain LIBS += -lqt5keychain } else { unix:!android:!macx:!ios { diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 783463652..8497b42eb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -273,4 +273,19 @@ if (MSVC) COMMAND windeployqt $ --release --no-compiler-runtime --no-translations --no-opengl-sw --dir ${RUNTIME_OUTPUT_DIRECTORY} WORKING_DIRECTORY ${RUNTIME_OUTPUT_DIRECTORY} ) +elseif (UNIX) + install(TARGETS ${PROJECT_NAME} + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib/static + ) + + install(FILES ${CMAKE_SOURCE_DIR}/resources/com.chatterino.chatterino.desktop + DESTINATION share/applications + ) + + install(FILES ${CMAKE_SOURCE_DIR}/resources/icon.png + RENAME com.chatterino.chatterino.png + DESTINATION share/icons/hicolor/256x256/apps + ) endif () \ No newline at end of file