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 \