SHA256
1
0
forked from pool/rosegarden

Accepting request 518976 from home:plater

fix build against cmake-3.9.0

OBS-URL: https://build.opensuse.org/request/show/518976
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=75
This commit is contained in:
2017-08-28 05:12:56 +00:00
committed by Git OBS Bridge
parent 91e5bf8421
commit e17f510e40
3 changed files with 25 additions and 3 deletions

View File

@@ -29,6 +29,8 @@ Source2: %{name}.1
Patch1: rosegarden-10.10-filepaths.patch
# PATCH-FIX-OPENSUSE ledest@gmail.com fix bashisms in scripts
Patch2: rosegarden-14.02-fix-bashisms.patch
# PATCH-FIX-UPSTREAM see header - Fix cmake-3.9.0 build failure
Patch3: svnheader.patch
BuildRequires: alsa-devel
BuildRequires: cmake >= 2.8.12
BuildRequires: dssi-devel
@@ -84,6 +86,7 @@ See the changelog for details.
%setup -q
%patch1
%patch2
%patch3 -p1
# When we build svn we need to execute bootstrap.sh
#sh bootstrap.sh
@@ -99,7 +102,7 @@ export CXXFLAGS="$CFLAGS"
-DUSE_QT5:BOOL=ON \
-DCMAKE_INSTALL_LOCALEDIR:PATH=%{_datadir}/locale/
make svnheader
#make svnheader
make %{?_smp_mflags}
%install