Accepting request 959796 from home:cgiboudeaux:branches:multimedia:apps

- Use the Qt6 cmake macros to fix the 15.4 build.

OBS-URL: https://build.opensuse.org/request/show/959796
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=164
This commit is contained in:
Luigi Baldoni 2022-03-07 10:03:28 +00:00 committed by Git OBS Bridge
parent d97777ec6e
commit 5cb64007d1
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 7 08:18:07 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Use the Qt6 cmake macros to fix the 15.4 build.
-------------------------------------------------------------------
Sun Jan 23 16:38:24 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@ -143,7 +143,7 @@ Development files for libqmmp.
%autosetup -p1
%build
%cmake \
%cmake_qt6 \
-DCMAKE_MODULE_LINKER_FLAGS="" \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-DLIB_DIR=%{_lib} \
@ -154,10 +154,12 @@ Development files for libqmmp.
-DUSE_HAL=OFF \
-DUSE_OSS=OFF \
-DUSE_OSS4=OFF
%cmake_build
%qt6_build
%install
%cmake_install
%qt6_install
# Do not install weirdly-sized icons.
rm -r %{buildroot}/%{_datadir}/icons/hicolor/56x56