mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
gui-libs/xdg-desktop-portal-hyprland: Update sys sdbus-c++ patch
Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 73f429b..e760098 100644
|
||||
index f98bafd..2ef5aaf 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -38,17 +38,12 @@ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value
|
||||
@@ -41,17 +41,12 @@ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value
|
||||
message(STATUS "Checking deps...")
|
||||
add_subdirectory(hyprland-share-picker)
|
||||
|
||||
+find_package(sdbus-c++ REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols libpipewire-0.3 libspa-0.2 libdrm gbm hyprlang>=0.2.0)
|
||||
pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols wayland-scanner libpipewire-0.3 libspa-0.2 libdrm gbm hyprlang>=0.2.0)
|
||||
|
||||
# check whether we can find sdbus-c++ through pkg-config
|
||||
-pkg_check_modules(SDBUS IMPORTED_TARGET sdbus-c++)
|
||||
@@ -21,7 +21,7 @@ index 73f429b..e760098 100644
|
||||
|
||||
# same for hyprland-protocols
|
||||
pkg_check_modules(HYPRLAND_PROTOS IMPORTED_TARGET hyprland-protocols)
|
||||
@@ -60,7 +55,7 @@ endif()
|
||||
@@ -63,7 +58,7 @@ endif()
|
||||
|
||||
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
|
||||
add_executable(xdg-desktop-portal-hyprland ${SRCFILES})
|
||||
@@ -29,4 +29,4 @@ index 73f429b..e760098 100644
|
||||
+target_link_libraries(xdg-desktop-portal-hyprland PRIVATE rt sdbus-c++ Threads::Threads PkgConfig::deps)
|
||||
|
||||
# protocols
|
||||
find_program(WaylandScanner NAMES wayland-scanner)
|
||||
pkg_get_variable(WaylandScanner wayland-scanner wayland_scanner)
|
||||
|
||||
Reference in New Issue
Block a user