[packages/gstreamermm] - use -std= for C++ 11 required by glibmm 2.46+; release 2

qboosh qboosh at pld-linux.org
Sat Feb 20 12:59:22 CET 2016


commit b26b5ac2b72b6c87a7b7f04ed5b8a959ea5c99aa
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 20 13:02:26 2016 +0100

    - use -std= for C++ 11 required by glibmm 2.46+; release 2

 gstreamermm.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gstreamermm.spec b/gstreamermm.spec
index ce16ef6..e4b88e1 100644
--- a/gstreamermm.spec
+++ b/gstreamermm.spec
@@ -6,11 +6,12 @@ Summary:	A C++ bindings for the GStreamer library
 Summary(pl.UTF-8):	Wiązania C++ do biblioteki GStreamera
 Name:		gstreamermm
 Version:	1.4.3
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/1.4/%{name}-%{version}.tar.xz
 # Source0-md5:	8f6c4b85083308def933eab1433a1865
+URL:		https://gstreamer.freedesktop.org/bindings/cplusplus.html
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	glibmm-devel >= 2.36.0
@@ -18,6 +19,7 @@ BuildRequires:	gstreamer-devel >= 1.4.3
 BuildRequires:	gstreamer-plugins-base-devel >= 1.4.3
 # for not packaged examples only
 #BuildRequires:	gtkmm3-devel >= 3.0
+BuildRequires:	libstdc++-devel >= 6:4.3
 BuildRequires:	libtool >= 2:1.5
 BuildRequires:	m4
 BuildRequires:	mm-common >= 0.9.6
@@ -87,6 +89,7 @@ Szczegółowa dokumentacja gstreamermm.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+CXXFLAGS="%{rpmcxxflags} -std=c++0x"
 %configure \
 	%{?with_static_libs:--enable-static}
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamermm.git/commitdiff/b26b5ac2b72b6c87a7b7f04ed5b8a959ea5c99aa



More information about the pld-cvs-commit mailing list