diff --git a/001-lilv-docdir.patch b/001-lilv-docdir.patch new file mode 100644 index 0000000..08271c6 --- /dev/null +++ b/001-lilv-docdir.patch @@ -0,0 +1,11 @@ +--- doc/meson.build.orig 2023-10-22 13:15:27.000000000 -0700 ++++ doc/meson.build 2023-11-19 01:46:05.871560429 -0800 +@@ -1,7 +1,7 @@ + # Copyright 2021-2022 David Robillard + # SPDX-License-Identifier: 0BSD OR ISC + +-docdir = get_option('datadir') / 'doc' ++docdir = get_option('datadir') / 'doc' / 'packages' + + # Find required programs + doxygen = find_program('doxygen', required: get_option('docs')) diff --git a/lilv-0.24.20.tar.xz b/lilv-0.24.20.tar.xz deleted file mode 100644 index a130fe0..0000000 --- a/lilv-0.24.20.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fb082b9b8b286ea92bbb71bde6b75624cecab6df0cc639ee75a2a096212eebc -size 118460 diff --git a/lilv-0.24.24.tar.xz b/lilv-0.24.24.tar.xz new file mode 100644 index 0000000..7f32d40 --- /dev/null +++ b/lilv-0.24.24.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bb6be9f88504176d0642f12de809b2b9e2dc55621a68adb8c7edb99aefabb4f +size 105684 diff --git a/lilv.changes b/lilv.changes index 8193605..3b01935 100644 --- a/lilv.changes +++ b/lilv.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sun Jan 19 04:24:55 UTC 2025 - Konstantin Voinov + +- Enable development documentation for Tumbleweed +- Add 001-lilv-docdir.patch fixing docs installation path +- Update to 0.24.24 + * Avoid overriding state features passed by the host + * Fix null dereference when trying to load state from a missing file + * Fix potential null dereferences and conversion warnings + +- Version 0.24.22 changes: + * Allow LILV_API to be defined by the user + * Clean up code + * Clean up inconsistent tool command line interfaces + * Convert man pages to mdoc + * Fix crash when plugins pass NULL to the LV2_State_Retrieve_Function + * Fix dependencies in pkg-config file + * Fix potential crash when writing state files fails + * Order plugin classes by URI + * Override pkg-config dependency within meson + * Remove junk files from documentation install + * Replace duplicated dox_to_sphinx script with sphinxygen dependency + * Switch to external zix dependency + ------------------------------------------------------------------- Wed Mar 6 16:40:20 UTC 2024 - Antonio Larrosa diff --git a/lilv.spec b/lilv.spec index c55302e..f3737fc 100644 --- a/lilv.spec +++ b/lilv.spec @@ -16,12 +16,15 @@ # -%bcond_with docs +%if 0%{?suse_version} > 1600 +%define with_docs 1 +%endif + %define sover 0 %define sordversion %(pkg-config --modversion sord-0) %define serdversion %(pkg-config --modversion serd-0) Name: lilv -Version: 0.24.20 +Version: 0.24.24 Release: 0 Summary: C library to make use of LV2 plugins License: ISC @@ -30,6 +33,7 @@ URL: https://drobilla.net/software/lilv.html Source0: https://download.drobilla.net/lilv-%{version}.tar.xz Source99: lilv-rpmlintrc Source98: baselibs.conf +Patch0: 001-lilv-docdir.patch BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz @@ -37,7 +41,8 @@ BuildRequires: meson BuildRequires: pkgconfig %if %{with docs} BuildRequires: python3-Sphinx -BuildRequires: python3-sphinx_lv2_theme +BuildRequires: python3-sphinxygen +# BuildRequires: python3-sphinx_lv2_theme %endif BuildRequires: python3-devel BuildRequires: swig @@ -83,11 +88,14 @@ Lilv is a C library to make use of LV2 plugins in applications. This subpackage contains the Python 3 bindings for lilv. %prep -%setup -q +%autosetup -p0 echo %{sordversion} %build -%meson -Ddocs=disabled +%meson \ +%if %{without docs} + -Ddocs=disabled \ +%endif %meson_build @@ -123,7 +131,6 @@ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d %{_includedir}/lilv-0/ %if %{with docs} %{_defaultdocdir}/lilv-0/ -%{_mandir}/man3/* %endif %files -n python3-lilv