From 028c49971f8344c4bd69b4341636e8d667a103311c88b901006b8d9187d6f507 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 29 Apr 2022 08:17:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=33 --- screengrab-link.patch | 7 ++++--- screengrab.spec | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/screengrab-link.patch b/screengrab-link.patch index 6032e0e..0e86eb5 100644 --- a/screengrab-link.patch +++ b/screengrab-link.patch @@ -2,11 +2,12 @@ Index: screengrab-2.4.0/CMakeLists.txt =================================================================== --- screengrab-2.4.0.orig/CMakeLists.txt +++ screengrab-2.4.0/CMakeLists.txt -@@ -184,6 +184,7 @@ add_executable(screengrab +@@ -183,7 +183,7 @@ add_executable(screengrab + ) if(SG_EXT_EDIT) - target_link_libraries(screengrab extedit) -+ target_link_libraries(screengrab Qt5Xdg) +- target_link_libraries(screengrab extedit) ++ target_link_libraries(screengrab extedit Qt5::Xdg) endif() if(SG_DBUS_NOTIFY) diff --git a/screengrab.spec b/screengrab.spec index 8ddf5b4..1f4d666 100644 --- a/screengrab.spec +++ b/screengrab.spec @@ -59,8 +59,7 @@ Screenshot taker with the ability to publish them via hosting services. %build # seems like their cmake doesnt do this #SUSE_ASNEEDED=0 -#CXXFLAGS="%{optflags} -I%{_includedir}/qt5xdg -lQt5Xdg" - +CXXFLAGS="%{optflags} -I%{_includedir}/qt5xdg" %cmake \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DSG_DBUS_NOTIFY=ON \