Accepting request 478824 from multimedia:libs

fix .pc files

OBS-URL: https://build.opensuse.org/request/show/478824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lv2?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2017-03-13 14:27:06 +00:00 committed by Git OBS Bridge
commit 2866b1fea6
5 changed files with 66 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a4a53138f10ed997174c8bc5a8573d5f5a5d8441aaac2de6cf2178ff90658e9
size 399666

3
lv2-1.14.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8052683894c04efd748c81b95dd065d274d4e856c8b9e58b7c3da3db4e71d32
size 386438

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sun Mar 12 10:05:27 UTC 2017 - davejplater@gmail.com
- Update 1.14.0 stable
- Added lv2pkgconfig.patch to fix .pc files.
- Upstream changes:
* eg-sampler: Support thread-safe state restoration.
* eg-sampler: Fix handling of state file paths.
* eg-scope: Don't feed back UI state updates.
* lv2core: Add lv2_util.h with lv2_features_data() and
lv2_features_query().
* lv2core: Add lv2:enabled designation.
* buf-size: Add bufsz:nominalBlockLength option.
* buf-size: Add bufsz:coarseBlockLength feature.
* log: Add lv2_log_logger_set_map() for changing the URI map of
an existing logger.
* state: Add LV2_STATE_ERR_NO_SPACE status flag.
* state: Add state:threadSafeRestore feature for dropout-free
state restoration.
* time: Define LV2_TIME_PREFIX.
* worker: Improve documentation.
* ui: Improve documentation.
* ui: Add missing property labels.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 13 17:30:45 UTC 2015 - davejplater@gmail.com Sun Dec 13 17:30:45 UTC 2015 - davejplater@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package lv2 # spec file for package lv2
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@
%endif %endif
Name: lv2 Name: lv2
Version: 1.12.0 Version: 1.14.0
Release: 0 Release: 0
Summary: Portable plugin standard for audio systems Summary: Portable plugin standard for audio systems
License: ISC License: ISC
@ -32,6 +32,8 @@ Group: System/Libraries
Url: http://lv2plug.in/ Url: http://lv2plug.in/
Source0: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 Source0: http://lv2plug.in/spec/lv2-%{version}.tar.bz2
Source1: lv2-rpmlintrc Source1: lv2-rpmlintrc
# Patch-Fix-Upstream lv2pkgconfig.patch davejplater@gmail.com -- Add "/" to end of -I directory because otherwise pkg-config outputs nothing.
Patch0: lv2pkgconfig.patch
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python-rdflib BuildRequires: python-rdflib
BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0 BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0
@ -159,7 +161,13 @@ Group: Productivity/Multimedia/Sound/Editors and Convertors
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description examples %description examples
LV2 example plugins. LV2 is a portable plugin standard for audio systems, similar in scope to LADSPA,
VST, AU, and others. It defines a C API for code and a format for data files
which collectively describe a plugin. LV2 consists of a simple core (roughly
equivalent in power to LADSPA) which can be extended to support more advanced
functionality. This allows the interface to be "grown" to accommodate the needs
of real software as they arise.
This package contains LV2 example plugins.
%if %{asciidocs} == 1 %if %{asciidocs} == 1
%package docs %package docs
@ -168,11 +176,18 @@ Group: Documentation/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description docs %description docs
LV2 documentation. LV2 is a portable plugin standard for audio systems, similar in scope to LADSPA,
VST, AU, and others. It defines a C API for code and a format for data files
which collectively describe a plugin. LV2 consists of a simple core (roughly
equivalent in power to LADSPA) which can be extended to support more advanced
functionality. This allows the interface to be "grown" to accommodate the needs
of real software as they arise.
This package contains api LV2 documentation.
%endif %endif
%prep %prep
%setup -q %setup -q
%patch0
%build %build
export CFLAGS='%{optflags}' export CFLAGS='%{optflags}'
@ -203,9 +218,7 @@ mv -t . %{buildroot}%{_defaultdocdir}/lv2/lv2plug.in
%exclude %{_libdir}/lv2/eg-metro.lv2/ %exclude %{_libdir}/lv2/eg-metro.lv2/
%exclude %{_libdir}/lv2/eg-midigate.lv2/ %exclude %{_libdir}/lv2/eg-midigate.lv2/
%exclude %{_libdir}/lv2/eg-sampler.lv2/ %exclude %{_libdir}/lv2/eg-sampler.lv2/
%if 0%{?suse_version} > 1110
%exclude %{_libdir}/lv2/eg-scope.lv2/ %exclude %{_libdir}/lv2/eg-scope.lv2/
%endif
%files devel %files devel
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
@ -222,9 +235,7 @@ mv -t . %{buildroot}%{_defaultdocdir}/lv2/lv2plug.in
%{_libdir}/lv2/eg-metro.lv2/ %{_libdir}/lv2/eg-metro.lv2/
%{_libdir}/lv2/eg-midigate.lv2/ %{_libdir}/lv2/eg-midigate.lv2/
%{_libdir}/lv2/eg-sampler.lv2/ %{_libdir}/lv2/eg-sampler.lv2/
%if 0%{?suse_version} > 1110
%{_libdir}/lv2/eg-scope.lv2/ %{_libdir}/lv2/eg-scope.lv2/
%endif
%if %{asciidocs} == 1 %if %{asciidocs} == 1
%files docs %files docs

20
lv2pkgconfig.patch Normal file
View File

@ -0,0 +1,20 @@
Index: lv2/lv2plug.in/ns/lv2core/lv2core.pc.in
===================================================================
--- lv2/lv2plug.in/ns/lv2core/lv2core.pc.in.orig 2014-12-04 00:07:38.000000000 +0200
+++ lv2/lv2plug.in/ns/lv2core/lv2core.pc.in 2017-03-12 13:33:58.384142906 +0200
@@ -7,4 +7,4 @@ Name: lv2core
Version: @LV2CORE_VERSION@
Description: An audio plugin interface specification.
Libs:
-Cflags: -I${includedir}
+Cflags: -I${includedir}/
Index: lv2.pc.in
===================================================================
--- lv2.pc.in.orig 2014-12-04 00:07:38.000000000 +0200
+++ lv2.pc.in 2017-03-12 13:35:21.026937142 +0200
@@ -4,4 +4,4 @@ includedir=@INCLUDEDIR@
Name: LV2
Version: @VERSION@
Description: An extensible audio plugin interface.
-Cflags: -I${includedir}
+Cflags: -I${includedir}/