commit e080ff3402c5f2aae3a45a153ea0b04cc4eb89ab
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Aug 27 12:15:24 2020 +0100
Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
.gitignore | 3 ++
pango-1.44.7_buildfix.patch | 86 ---------------------------------------------
performous.spec | 38 ++++++++++----------
sources | 5 +--
4 files changed, 26 insertions(+), 106 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ce91cba..647b5f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
/performous-1.1.tar.gz
/ced-9d2d658.tar.gz
/performous-4ed8ec7.tar.gz
+/performous-997f488.tar.gz
+/ced-26faf8f.tar.gz
+/aubio-712511e.tar.gz
diff --git a/performous.spec b/performous.spec
index ac7830d..087c006 100644
--- a/performous.spec
+++ b/performous.spec
@@ -1,22 +1,22 @@
-%global commit0 4ed8ec78452a5c9e1aad55915378f301a4aa4bca
-%global gitdate 20190419
+%global commit0 997f48846e67a36cf1362ee037adc08f824d6336
+%global gitdate 20200604
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global __cmake_in_source_build 1
+%undefine __cmake_in_source_build
Name: performous
-Version: 1.2
-Release: 0.8.%{gitdate}git%{shortcommit0}%{?dist}
+Version: 2.0.0
+Release: 0.1.%{gitdate}git%{shortcommit0}%{?dist}
Summary: Free cross-platform music and rhythm / party game
# The main code is GPLv2+, and there are fonts under ASL 2.0 and SIL licenses
License: GPLv2+ and ASL 2.0 and OFL
-URL:
http://performous.org
+URL:
https://performous.org
Source0:
https://github.com/performous/performous/archive/%{commit0}/%{name}-%{sho...
-Source1:
https://github.com/performous/compact_enc_det/archive/9d2d658/ced-9d2d658...
+Source1:
https://github.com/performous/compact_enc_det/archive/26faf8f/ced-26faf8f...
+Source4:
https://github.com/performous/aubio/archive/712511e/aubio-712511e.tar.gz
Source2:
https://raw.githubusercontent.com/performous/performous/master/licence.txt
Source3: performous.appdata.xml
-Patch0:
https://patch-diff.githubusercontent.com/raw/performous/performous/pull/4...
BuildRequires: alsa-lib-devel
BuildRequires: boost-devel
@@ -46,12 +46,17 @@ BuildRequires: libxml++-devel
BuildRequires: libraw1394-devel
BuildRequires: libtheora-devel
BuildRequires: opencv-devel
+BuildRequires: openblas-devel
+BuildRequires: blas-devel
+BuildRequires: lapack-devel
+BuildRequires: fftw-devel
BuildRequires: openssl-devel
BuildRequires: pango-devel
BuildRequires: portaudio-devel
BuildRequires: portmidi-devel
BuildRequires: recode
BuildRequires: SDL2-devel
+BuildRequires: python
Requires: %{name}-data = %{version}-%{release}
@@ -74,26 +79,23 @@ package.
%prep
%autosetup -p1 -n %{name}-%{commit0}
-tar -xf %{SOURCE1} -C ced/ --strip 1
+tar -xf %{SOURCE1} -C 3rdparty/ced/ --strip 1
+tar -xf %{SOURCE4} -C 3rdparty/aubio/ --strip 1
cp -p %{SOURCE2} .
cp -p "docs/license/SIL OFL Font License New Rocker.txt" SIL-OFL.txt
%build
-mkdir -p build
-cd build
# Jack support is disabled because the engine can't be chosen at run-time and
# jack will always take precedence over pulseaudio
#%%cmake -DSHARE_INSTALL:PATH=share/performous \
-%cmake3 -DSHARE_INSTALL:PATH=%{_datadir}/performous \
- -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
- ..
-%make_build
+%cmake -DSHARE_INSTALL:PATH=%{_datadir}/performous \
+ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DUSE_BOOST_REGEX=1
+%cmake_build
%install
-cd build
-%make_install
+%cmake_install
## Menu
mkdir -p %buildroot%{_datadir}/applications
@@ -111,7 +113,7 @@ rm -rf %buildroot%{_libdir}/*.{a,la}
%ldconfig_scriptlets
-%files -f build/Performous.lang
+%files -f Performous.lang
%license licence.txt
%doc docs/*.txt
%{_bindir}/*
diff --git a/sources b/sources
index 50a287f..8aa955e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
-539a38986f659f27e5d7892980bc607c ced-9d2d658.tar.gz
-d4dafa65d611beb76e7d70994ec65baf performous-4ed8ec7.tar.gz
+SHA512 (performous-997f488.tar.gz) =
a9aa3125b26debf5f07b6518d296d00620793f667cebca4856b95c7371b6c20484a6d326183293a696527f42995b06a5dfb1b806c481734fee1d73cc0d61445c
+SHA512 (ced-26faf8f.tar.gz) =
6dbd8f99e18f9b1aa6562938a148789b540d6d52f48289d140a02745ef5190bd84f3f658ec89e7fa72f2640f4d42e165bf4fba29a5b1a51f4aea2490613341ab
+SHA512 (aubio-712511e.tar.gz) =
bebfba9b53d22f078b3c0a4a77deeaf3fe8f1015ce441d2309311c4b1c696f8596b94182bb1f2bf65d40e91227d69d696f42a1dadb2944344ab76c21844b9a86