Projects
Multimedia
vamp-match-plugin
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
vamp-match-plugin.spec
Changed
@@ -13,6 +13,7 @@ License: GNU General Public License version 2 or later (GPLv2 or later) Source: http://prdownloads.sourceforge.net/vamp/match-vamp-plugin-%{version}.tar.gz Patch1: vamp-match-plugin-fix_makefile.patch +Patch2: vamp-match-plugin-cplusplus.patch URL: http://sourceforge.net/projects/vamp/ BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -26,11 +27,12 @@ %prep %setup -q -n "match-vamp-plugin-%{version}" %patch1 +%patch2 -p1 %build %__make %{?_smp_flags} \ CXX="%__cxx" \ - OPTFLAGS="%{optflags}" + OPTFLAGS="%{optflags} --std=gnu++11" %install %__install -dm 755 %{buildroot}%{_libdir}/vamp
View file
vamp-match-plugin-cplusplus.patch
Added
@@ -0,0 +1,13 @@ +--- a/Matcher.h ++++ b/Matcher.h +@@ -202,8 +202,8 @@ protected: + /** Disable or enable debugging output */ + static bool silent; + +- static const double decay = 0.99; +- static const double silenceThreshold = 0.0004; ++ static constexpr double decay = 0.99; ++ static constexpr double silenceThreshold = 0.0004; + static const int MAX_RUN_COUNT = 3; + + friend class Finder; //!!!
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.