forked from pool/alure
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
ac2ccb97ac | |||
|
b2f811e565 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 22:01:15 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
|
||||
- Add %check section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 14 15:55:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
10
alure.spec
10
alure.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package alure
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -34,7 +34,7 @@ Patch3: fix-link-flac.patch
|
||||
Patch4: fix-FLUIDSYNTH_CFLAGS.patch
|
||||
Patch5: fix-dumb2.patch
|
||||
Patch6: alure-cmake-3.28.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake >= 3.5
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
@@ -81,7 +81,8 @@ developing applications that use %{name}.
|
||||
-DBUILD_STATIC=OFF \
|
||||
-DDYNLOAD=OFF \
|
||||
-DMPG123=ON \
|
||||
-DMODPLUG=ON
|
||||
-DMODPLUG=ON \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
@@ -94,6 +95,9 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}/html
|
||||
# fix encoding
|
||||
sed -i 's/\r$//' docs/html/javascript/main.js docs/html/styles/1.css
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||
|
||||
|
Reference in New Issue
Block a user