diff --git a/lv2.changes b/lv2.changes index 4d85a13..da9de59 100644 --- a/lv2.changes +++ b/lv2.changes @@ -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. diff --git a/lv2.spec b/lv2.spec index 625f661..ab2746e 100644 --- a/lv2.spec +++ b/lv2.spec @@ -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}' diff --git a/lv2pkgconfig.patch b/lv2pkgconfig.patch new file mode 100644 index 0000000..400cc7b --- /dev/null +++ b/lv2pkgconfig.patch @@ -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}/