diff --git a/screengrab-link.patch b/screengrab-link.patch index 0e86eb5..069e6b3 100644 --- a/screengrab-link.patch +++ b/screengrab-link.patch @@ -7,7 +7,7 @@ Index: screengrab-2.4.0/CMakeLists.txt if(SG_EXT_EDIT) - target_link_libraries(screengrab extedit) -+ target_link_libraries(screengrab extedit Qt5::Xdg) ++ target_link_libraries(screengrab extedit Qt5Xdg) endif() if(SG_DBUS_NOTIFY) diff --git a/screengrab.changes b/screengrab.changes index 0d6e3b8..c13419a 100644 --- a/screengrab.changes +++ b/screengrab.changes @@ -5,6 +5,7 @@ Fri Apr 29 06:31:47 UTC 2022 - Michael Vetter * Used an SVG icon instead of the blurry PNG icon. * Fixed several problems in calling external editors or default app. * Added metadata file. +- Use -DSG_EXT_EDIT=ON ------------------------------------------------------------------- Mon Nov 8 10:15:23 UTC 2021 - Michael Vetter diff --git a/screengrab.spec b/screengrab.spec index 1f4d666..c263e7d 100644 --- a/screengrab.spec +++ b/screengrab.spec @@ -40,6 +40,7 @@ BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xdg) >= 3.9.0 +BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb) @@ -63,7 +64,6 @@ CXXFLAGS="%{optflags} -I%{_includedir}/qt5xdg" %cmake \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DSG_DBUS_NOTIFY=ON \ - -DSG_EXT_EDIT=OFF \ -DSG_EXT_UPLOADS=OFF \ -DSG_GLOBALSHORTCUTS=OFF \ -DUPDATE_TRANSLATIONS=OFF