Compare commits

...

1 Commits

5 changed files with 55 additions and 18 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.

BIN
lilv-0.24.24.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,13 +1,32 @@
-------------------------------------------------------------------
Mon Jul 24 11:56:27 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
Sun Jan 19 04:24:55 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
- Actually package the __pycache__ that appears when building using
meson 1.2.0.
- 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
-------------------------------------------------------------------
Fri Jul 21 13:17:47 UTC 2023 - Ana Guerrero <ana.guerrero@suse.com>
Wed Mar 6 16:40:20 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Avoid __pycache__ directory with meson 1.2.0
- Add %pycache_only macro for the __pycache__ file to fix build
in 15.6
-------------------------------------------------------------------
Mon Dec 26 11:45:08 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz>

View File

@@ -1,7 +1,7 @@
#
# spec file for package lilv
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -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
@@ -45,7 +50,7 @@ BuildRequires: pkgconfig(lv2) >= 1.8.0
BuildRequires: pkgconfig(serd-0) >= 0.30.0
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(sord-0) >= 0.13
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
BuildRequires: pkgconfig(sratom-0) >= 0.6.10
# lilv 0.22 require new API of sord 0.13
# Since sord sover unchanged from 0.12, explicitly require here.
Requires(pre): liblilv-0-%{sover} = %{version}
@@ -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,11 +131,10 @@ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d
%{_includedir}/lilv-0/
%if %{with docs}
%{_defaultdocdir}/lilv-0/
%{_mandir}/man3/*
%endif
%files -n python3-lilv
%{python_sitelib}/*.py
%pycache_only %{python_sitelib}/__pycache__
%{python_sitelib}/lilv.py
%pycache_only %{python_sitelib}/__pycache__/lilv.*.pyc
%changelog