- 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

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=53
This commit is contained in:
Dave Plater 2025-01-31 11:01:35 +00:00 committed by Git OBS Bridge
parent 654f1c43c4
commit 5dbceeb188
5 changed files with 51 additions and 9 deletions

11
001-lilv-docdir.patch Normal file
View File

@ -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 <d@drobilla.net>
# 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'))

BIN
lilv-0.24.20.tar.xz (Stored with Git LFS)

Binary file not shown.

3
lilv-0.24.24.tar.xz Normal file
View File

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

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sun Jan 19 04:24:55 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
- 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 <alarrosa@suse.com>

View File

@ -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