Accepting request 960024 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/960024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qmmp?expand=0&rev=83
This commit is contained in:
Dominique Leuenberger 2022-03-07 17:27:55 +00:00 committed by Git OBS Bridge
commit 0036328f1f
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> Sun Jan 23 16:38:24 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@ -16,6 +16,7 @@
# #
%global __provides_exclude_from ^%{_libdir}/qmmp-[0-9\.]*/
%define sover 2 %define sover 2
%define mver 2.0 %define mver 2.0
%bcond_with faad %bcond_with faad
@ -143,7 +144,7 @@ Development files for libqmmp.
%autosetup -p1 %autosetup -p1
%build %build
%cmake \ %cmake_qt6 \
-DCMAKE_MODULE_LINKER_FLAGS="" \ -DCMAKE_MODULE_LINKER_FLAGS="" \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-DLIB_DIR=%{_lib} \ -DLIB_DIR=%{_lib} \
@ -154,10 +155,11 @@ Development files for libqmmp.
-DUSE_HAL=OFF \ -DUSE_HAL=OFF \
-DUSE_OSS=OFF \ -DUSE_OSS=OFF \
-DUSE_OSS4=OFF -DUSE_OSS4=OFF
%cmake_build %qt6_build
%install %install
%cmake_install %qt6_install
# Do not install weirdly-sized icons. # Do not install weirdly-sized icons.
rm -r %{buildroot}/%{_datadir}/icons/hicolor/56x56 rm -r %{buildroot}/%{_datadir}/icons/hicolor/56x56