File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,6 @@ export QT_SELECT := 5
2121override_dh_auto_configure :
2222 # The existence of an empty .git directory triggers syncqt.
2323 mkdir .git || true
24- dh_auto_configure --
24+ # This is required to use Cmake FetchContent
25+ dh_auto_configure -- \
26+ -DFETCHCONTENT_FULLY_DISCONNECTED=OFF
Original file line number Diff line number Diff line change @@ -55,10 +55,15 @@ Features:
5555%cmake -G Ninja \
5656 -DCMAKE_BUILD_TYPE=Release \
5757 -DUSE_WAYLAND_CLIPBOARD:BOOL=ON \
58+ -DQTCOLORWIDGETS_INSTALL=OFF
5859%cmake_build
5960
6061%install
6162%cmake_install
63+ rm -rf %{buildroot }%{_includedir }/QtColorWidgets
64+ rm -rf %{buildroot }%{_libdir }/cmake/QtColorWidgets
65+ rm -f %{buildroot }%{_libdir }/libQtColorWidgets.*
66+ rm -f %{buildroot }%{_libdir }/pkgconfig/QtColorWidgets.pc
6267# https://fedoraproject.org/wiki/PackagingDrafts/find_lang
6368%find_lang Internationalization --with-qt
6469%fdupes %{buildroot }%{_datadir }/icons
Original file line number Diff line number Diff line change @@ -51,11 +51,16 @@ Features:
5151%autosetup -p1
5252
5353%build
54- %cmake -DCMAKE_BUILD_TYPE=Release
54+ %cmake -DCMAKE_BUILD_TYPE=Release -DQTCOLORWIDGETS_INSTALL=OFF
55+
5556%cmake_build
5657
5758%install
5859%cmake_install
60+ rm -rf %{buildroot }%{_includedir }/QtColorWidgets
61+ rm -rf %{buildroot }%{_libdir }/cmake/QtColorWidgets
62+ rm -f %{buildroot }%{_libdir }/libQtColorWidgets.*
63+ rm -f %{buildroot }%{_libdir }/pkgconfig/QtColorWidgets.pc
5964# https://fedoraproject.org/wiki/PackagingDrafts/find_lang
6065%find_lang Internationalization --with-qt
6166%suse_update_desktop_file -r org.flameshot.Flameshot Utility X-SuSE-DesktopUtility
You can’t perform that action at this time.
0 commit comments