Accepting request 478823 from home:plater

fix .pc files

OBS-URL: https://build.opensuse.org/request/show/478823
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lv2?expand=0&rev=16
This commit is contained in:
Dave Plater 2017-03-12 13:13:49 +00:00 committed by Git OBS Bridge
parent 2d0dd016a4
commit 84d0759336
3 changed files with 24 additions and 0 deletions

View File

@ -2,6 +2,7 @@
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.

View File

@ -32,6 +32,8 @@ Group: System/Libraries
Url: http://lv2plug.in/
Source0: http://lv2plug.in/spec/lv2-%{version}.tar.bz2
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: python-rdflib
BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0
@ -185,6 +187,7 @@ This package contains api LV2 documentation.
%prep
%setup -q
%patch0
%build
export CFLAGS='%{optflags}'

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}/