summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-08-05 15:33:51 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-08-05 15:34:00 +0200
commite836a45dea181c366a63546a3b1e14d3ef0e6e56 (patch)
treeed593e7e39d6518333ed67bee17c434d238f3cf9 /media-libs/lv2
parentnet-proxy/hatop: Bump to 0.8.2 (diff)
downloadgentoo-e836a45dea181c366a63546a3b1e14d3ef0e6e56.tar.gz
gentoo-e836a45dea181c366a63546a3b1e14d3ef0e6e56.tar.bz2
gentoo-e836a45dea181c366a63546a3b1e14d3ef0e6e56.zip
media-libs/lv2: fixed missing lv2.h in 1.18.6
Closes: https://bugs.gentoo.org/862603 Closes: https://bugs.gentoo.org/862630 Closes: https://bugs.gentoo.org/863071 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/lv2')
-rw-r--r--media-libs/lv2/files/lv2-1.18.6-add-missing-lv2.h.patch14
-rw-r--r--media-libs/lv2/lv2-1.18.6-r1.ebuild (renamed from media-libs/lv2/lv2-1.18.6.ebuild)4
2 files changed, 18 insertions, 0 deletions
diff --git a/media-libs/lv2/files/lv2-1.18.6-add-missing-lv2.h.patch b/media-libs/lv2/files/lv2-1.18.6-add-missing-lv2.h.patch
new file mode 100644
index 000000000000..92483532e554
--- /dev/null
+++ b/media-libs/lv2/files/lv2-1.18.6-add-missing-lv2.h.patch
@@ -0,0 +1,14 @@
+diff --git a/meson.build b/meson.build
+index 14f9876..5a321ea 100644
+--- a/meson.build
++++ b/meson.build
+@@ -144,6 +144,9 @@ if get_option('old_headers')
+ include_prefix / 'core' / 'lv2_util.h',
+ )
+
++ # Special case lv2.h is also in top-level include directory
++ install_headers(files(include_prefix / 'core' / 'lv2.h'))
++
+ # Core headers are inconsistently in "lv2plug.in/ns/lv2core"
+ install_data(core_headers, install_dir: uri_include_dir / 'lv2core')
+
diff --git a/media-libs/lv2/lv2-1.18.6.ebuild b/media-libs/lv2/lv2-1.18.6-r1.ebuild
index b6fd70616c65..938d7ce19a71 100644
--- a/media-libs/lv2/lv2-1.18.6.ebuild
+++ b/media-libs/lv2/lv2-1.18.6-r1.ebuild
@@ -45,6 +45,10 @@ RDEPEND="
')
"
+PATCHES=(
+ "${FILESDIR}/${P}-add-missing-lv2.h.patch"
+)
+
src_prepare() {
default