[packages/banshee] - fix build with mono using 4.5 API - release 3
qboosh
qboosh at pld-linux.org
Tue Dec 26 20:58:18 CET 2017
commit 2f9b82f80c04aba83e085a322a22a4b47238a0e2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 26 20:59:47 2017 +0100
- fix build with mono using 4.5 API
- release 3
banshee.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/banshee.spec b/banshee.spec
index eb1a9ce..aad9ef0 100644
--- a/banshee.spec
+++ b/banshee.spec
@@ -1,11 +1,9 @@
-#
-%include /usr/lib/rpm/macros.mono
-#
+%include /usr/lib/rpm/macros.mono
Summary: A Mono/GStreamer Based Music Player
Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
Name: banshee
Version: 2.6.2
-Release: 2
+Release: 3
License: MIT
Group: X11/Applications/Multimedia
Source0: http://ftp.gnome.org/pub/GNOME/sources/banshee/2.6/%{name}-%{version}.tar.xz
@@ -17,6 +15,7 @@ BuildRequires: automake >= 1:1.9
BuildRequires: clutter-devel >= 1.2.0
BuildRequires: dotnet-dbus-sharp-devel >= 0.7
BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5
+BuildRequires: dotnet-gconf-sharp-devel >= 2.8
BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0
BuildRequires: dotnet-gio-sharp-devel >= 0.3
BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1
@@ -96,7 +95,10 @@ Ten pakiet dostarcza pliki programistyczne dla Banshee.
%prep
%setup -q
+# gmcs is obsolete
%{__sed} -i -e 's/MONO_2_0_COMPILER/MONO_4_0_COMPILER/' configure.ac
+# disable unnecessary check which fails with mono 4.x
+%{__sed} -i -e '/SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES/d' configure.ac
%build
%{__libtoolize}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/banshee.git/commitdiff/2f9b82f80c04aba83e085a322a22a4b47238a0e2
More information about the pld-cvs-commit
mailing list