SHA256
1
0
forked from pool/screengrab
Michael Vetter 2022-04-29 08:17:44 +00:00 committed by Git OBS Bridge
parent 774831130e
commit 028c49971f
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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 \