Accepting request 294869 from home:posophe:branches:multimedia:libs
update OBS-URL: https://build.opensuse.org/request/show/294869 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vamp-plugin-sdk?expand=0&rev=7
This commit is contained in:
parent
ddfecb20e9
commit
66d515044d
@ -1,24 +0,0 @@
|
||||
Index: Makefile.in
|
||||
===================================================================
|
||||
--- Makefile.in.orig 2011-04-05 14:30:52.000000000 +0200
|
||||
+++ Makefile.in 2011-05-23 01:14:43.139988531 +0200
|
||||
@@ -71,8 +71,8 @@ INSTALL_PREFIX = @prefix@
|
||||
INSTALL_API_HEADERS = $(INSTALL_PREFIX)/include/vamp
|
||||
INSTALL_SDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-sdk
|
||||
INSTALL_HOSTSDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-hostsdk
|
||||
-INSTALL_SDK_LIBS = $(INSTALL_PREFIX)/lib
|
||||
-INSTALL_PLUGINS = $(INSTALL_PREFIX)/lib/vamp
|
||||
+INSTALL_SDK_LIBS = @libdir@
|
||||
+INSTALL_PLUGINS = $(INSTALL_SDK_LIBS)/vamp
|
||||
INSTALL_BINARIES = $(INSTALL_PREFIX)/bin
|
||||
|
||||
INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.2.0
|
||||
@@ -87,7 +87,7 @@ INSTALL_HOSTSDK_LINK_DEV = libvamp-host
|
||||
INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a
|
||||
INSTALL_HOSTSDK_LA = libvamp-hostsdk.la
|
||||
|
||||
-INSTALL_PKGCONFIG = $(INSTALL_PREFIX)/lib/pkgconfig
|
||||
+INSTALL_PKGCONFIG = $(INSTALL_SDK_LIBS)/pkgconfig
|
||||
|
||||
# Flags required to tell the compiler to create a dynamically loadable object
|
||||
#
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b3b81dd8bdfd86eb60321c18ae378cb12f0811981baf3b6f7a01a9db185c2e20
|
||||
size 130422
|
3
vamp-plugin-sdk-2.5.tar.gz
Normal file
3
vamp-plugin-sdk-2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b719f9e4575624b30b335c64c00469d3745aef4bca177f66faf3204f073139d
|
||||
size 168486
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 8 03:16:33 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 2.5
|
||||
* Fix incorrect handling of FixedSampleRate outputs in the
|
||||
PluginBufferingAdapter. Un-timestamped features on these outputs
|
||||
were incorrectly being timestamped from the process timestamp,
|
||||
where they should have been timed relative to the previous
|
||||
feature on the output according to the output's sample rate.
|
||||
* Fix return of uninitialised memory through getCurrentProgram
|
||||
when plugin specifies no programs
|
||||
* Ensure output sample rate is initialised (to 0) for variable-rate
|
||||
outputs where the plugin forgets to set a rate
|
||||
- Use download Url provided by upstream
|
||||
- Remove vamp-plugin-sdk-2.0-libdir.patch; use a hack instead
|
||||
- Remove redundant documentation related files with fdupes
|
||||
- Perform spec-cleaner on spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 00:07:02 UTC 2011 - davejplater@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package vamp-plugin-sdk
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,30 +15,30 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: vamp-plugin-sdk
|
||||
Version: 2.2.1
|
||||
Release: 1
|
||||
Version: 2.5
|
||||
Release: 0
|
||||
Summary: An API for audio analysis and feature extraction plugins
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
License: MIT
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
Url: http://www.vamp-plugins.org/
|
||||
Source0: http://downloads.sourceforge.net/vamp/%{name}-%{version}.tar.bz2
|
||||
Source0: code.soundsoftware.ac.uk/attachments/download/690/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Patch0: %{name}-2.0-libdir.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: help2man
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++ libsndfile-devel pkg-config
|
||||
BuildRequires: doxygen fdupes graphviz help2man
|
||||
|
||||
%description
|
||||
Vamp is an API for C and C++ plugins that process sampled audio data
|
||||
to produce descriptive output (measurements or semantic observations).
|
||||
|
||||
%package -n libvamp-hostsdk3
|
||||
|
||||
|
||||
Summary: Library for Vamp audio analysis plugin hosts
|
||||
Group: System/Libraries
|
||||
|
||||
@ -47,8 +47,6 @@ Vamp is an API for C and C++ plugins that process sampled audio data
|
||||
to produce descriptive output (measurements or semantic observations).
|
||||
|
||||
%package -n libvamp-sdk2
|
||||
|
||||
|
||||
Summary: Library for Vamp audio analysis plugins
|
||||
Group: System/Libraries
|
||||
|
||||
@ -57,8 +55,6 @@ Vamp is an API for C and C++ plugins that process sampled audio data
|
||||
to produce descriptive output (measurements or semantic observations).
|
||||
|
||||
%package devel
|
||||
|
||||
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@ -70,37 +66,28 @@ Requires: pkgconfig
|
||||
The vamp-plugin-sdk-devel package contains documentation examples and
|
||||
header files for developing applications that use vamp-plugin-sdk.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-v%{version}
|
||||
%patch0 -b .libdir
|
||||
%setup -q
|
||||
sed -i 's|/lib/vamp|/%{_lib}/vamp|g' src/vamp-hostsdk/PluginHostAdapter.cpp
|
||||
sed -i 's|/lib/|/%{_lib}/|g' src/vamp-hostsdk/PluginLoader.cpp
|
||||
%define buildir %{_builddir}/%{name}-v%{version}
|
||||
sed -i 's|$(INSTALL_PREFIX)/lib|@libdir@|g' Makefile.in
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
# fix libdir
|
||||
find . -name '*.pc.in' -exec sed -i 's|/lib|/%{_lib}|' {} ';'
|
||||
# The #INSTALL_PREFIX
|
||||
make install DESTDIR=%{buildroot}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
#INSTALL_PREFIX=%%{_prefix} LIB=/%%{_lib}
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
# Build api html docs
|
||||
doxygen -u build/Doxyfile
|
||||
doxygen build/Doxyfile
|
||||
pushd doc/html
|
||||
rm ftv2pnode.png && ln -s ftv2plastnode.png ftv2pnode.png
|
||||
rm ftv2mlastnode.png && ln -s ftv2mnode.png ftv2mlastnode.png
|
||||
rm ftv2doc.png && ln -s ftv2link.png ftv2doc.png
|
||||
rm ftv2vertline.png && ln -s ftv2lastnode.png ftv2vertline.png
|
||||
rm ftv2node.png && ln -s ftv2lastnode.png ftv2node.png
|
||||
rm ftv2blank.png && ln -s ftv2lastnode.png ftv2blank.png
|
||||
popd
|
||||
%fdupes -s doc/html
|
||||
# Build refman.pdf
|
||||
#pushd latex && make all
|
||||
#popd
|
||||
@ -134,9 +121,6 @@ echo -e "\t"-rm *.o *.so >> Makefile
|
||||
# clean directory up so we can package the sources
|
||||
make clean
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n libvamp-hostsdk3 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libvamp-hostsdk3 -p /sbin/ldconfig
|
||||
@ -177,4 +161,4 @@ rm -rf %{buildroot}
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user