Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | bfb0714b13 | ||
|  | 374b854261 | ||
|  | 1f6105f76b | ||
|  | 3071159332 | 
| @@ -13,24 +13,27 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG") | ||||
| string(TIMESTAMP TIMESTAMP %s) | ||||
| # set(CMAKE_AUTOUIC ON) | ||||
|  | ||||
| find_package(Qt5 CONFIG REQUIRED COMPONENTS  | ||||
|   Widgets | ||||
|   WebEngineWidgets | ||||
| ) | ||||
| find_package(Qt5 COMPONENTS Widgets) | ||||
| if (Qt5_FOUND) | ||||
|   find_package(Qt5 CONFIG REQUIRED COMPONENTS Widgets WebEngineWidgets) | ||||
|  | ||||
| find_package(KF5Notifications) | ||||
| if(KF5Notifications_FOUND) | ||||
|   add_definitions( -DKNOTIFICATIONS ) | ||||
| endif() | ||||
|   find_package(KF5Notifications) | ||||
|   if(KF5Notifications_FOUND) | ||||
|     add_definitions( -DKNOTIFICATIONS ) | ||||
|   endif() | ||||
|  | ||||
| find_package(KF5XmlGui) | ||||
| if(KF5XmlGui_FOUND) | ||||
|   add_definitions( -DKXMLGUI ) | ||||
| endif() | ||||
|   find_package(KF5XmlGui) | ||||
|   if(KF5XmlGui_FOUND) | ||||
|     add_definitions( -DKXMLGUI ) | ||||
|   endif() | ||||
|  | ||||
| find_package(KF5GlobalAccel) | ||||
| if(KF5GlobalAccel_FOUND) | ||||
|   add_definitions( -DKGLOBALACCEL ) | ||||
|   find_package(KF5GlobalAccel) | ||||
|   if(KF5GlobalAccel_FOUND) | ||||
|     add_definitions( -DKGLOBALACCEL ) | ||||
|   endif() | ||||
| else() | ||||
|   message(WARNING "Qt 5 was not found on your system and Qt 6 will be used. You will not be able to use any features using KDE Frameworks.") | ||||
|   find_package(Qt6 CONFIG REQUIRED COMPONENTS Widgets WebEngineWidgets) | ||||
| endif() | ||||
|  | ||||
| set(discord-screenaudio_SRC | ||||
| @@ -66,7 +69,7 @@ add_subdirectory(submodules/rohrkabel) | ||||
|  | ||||
| add_executable(discord-screenaudio ${discord-screenaudio_SRC}) | ||||
|  | ||||
| target_link_libraries(discord-screenaudio Qt5::Widgets Qt5::WebEngineWidgets rohrkabel) | ||||
| target_link_libraries(discord-screenaudio Qt::Widgets Qt::WebEngineWidgets rohrkabel) | ||||
|  | ||||
| if(KF5Notifications_FOUND) | ||||
|   target_link_libraries(discord-screenaudio KF5::Notifications) | ||||
|   | ||||
| @@ -11,7 +11,7 @@ Unlike a lot of other solutions, the audio here is directly fed into the | ||||
| screenshare and not passed to the user microphone | ||||
| ([see explanation](#how-it-works)). | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| The purpose of this project is **not** to provide an alternative to the original | ||||
| Discord client. Rather, it should be used in addition to the original client in | ||||
| @@ -50,6 +50,8 @@ You have multiple options: | ||||
| ### Requirements | ||||
|  | ||||
| - Basic building tools | ||||
| - An up-to-date system (I can't guarantee that it works on Debian or Ubuntu | ||||
|   20/21) | ||||
| - CMake | ||||
| - Qt5 and QtWebEngine | ||||
| - **PipeWire** (it currently doesn't work with PulseAudio) | ||||
| @@ -57,7 +59,7 @@ You have multiple options: | ||||
| - _Kf5Notifications (optional, for better notifications)_ | ||||
| - _KXMLGui and KGlobalAccel (optional, for keybinds)_ | ||||
|  | ||||
| On Debian: | ||||
| With apt: | ||||
| `apt install -y build-essential cmake qtbase5-dev qtwebengine5-dev libkf5notifications-dev libkf5xmlgui-dev libkf5globalaccel-dev pkg-config libpipewire-0.3-dev git` | ||||
|  | ||||
| ### Building | ||||
|   | ||||
| @@ -171,7 +171,7 @@ setInterval(() => { | ||||
|     document | ||||
|       .getElementById("keybinds-tab") | ||||
|       ?.getElementsByClassName( | ||||
|         "container-3jbRo5 info-1hMolH fontSize16-3zr6Io browserNotice-1u-Y5o" | ||||
|         "container-3jbRo5 info-1hMolH browserNotice-1u-Y5o" | ||||
|       ).length | ||||
|   ) { | ||||
|     const el = document | ||||
|   | ||||
		Reference in New Issue
	
	Block a user