Accepting request 1083644 from home:kill_it:branches:multimedia:libs
- switch to meson - Update to 1.18.10 * add 001-lv2-docdir.patch * remove old patches: lv2pkgconfig.patch build-with-python3.patch * set noarch for docs 1.18.10 changes: * Fix includedir in pkg-config file * Fix missing example plugin UI binaries * Only install lv2specgen when required Python modules are found * Replace change history data with a plain text NEWS file 1.18.8 changes: * Fix documentation build with Python 3.7 * Fix documentation build with meson 0.56.2 * Fix lv2.h missing from installation * eg-midigate: Fix output timing * eg-sampler: Add resampling via libsamplerate * eg-sampler: Fix potentially corrupt notification events * lv2core: Fix inconsistent plugin class labels * lv2specgen: Fix installed data paths 1.18.6 changes: * Add dark mode style for documentation * Clean up and modernize Python support code * Fix or avoid new compiler and tool warnings * Rearrange source tree to be directly usable by dependants * Remove archaic properties from foaf vocabulary * Replace canonical dcs ontology with a minimal version for LV2 * Separate API headers from data * Switch to Meson build system OBS-URL: https://build.opensuse.org/request/show/1083644 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lv2?expand=0&rev=38
This commit is contained in:
parent
ed0f5b9ffa
commit
82aa9c7698
11
001-lv2-docdir.patch
Normal file
11
001-lv2-docdir.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- meson.build.orig 2022-09-10 03:27:03.000000000 +1000
|
||||
+++ meson.build 2022-12-26 15:51:33.806909081 +1000
|
||||
@@ -11,7 +11,7 @@
|
||||
'c_std=c99',
|
||||
])
|
||||
|
||||
-lv2_docdir = get_option('datadir') / 'doc' / 'lv2'
|
||||
+lv2_docdir = get_option('datadir') / 'doc' / 'packages' / 'lv2'
|
||||
lv2_source_root = meson.current_source_dir()
|
||||
lv2_build_root = meson.current_build_dir()
|
||||
|
File diff suppressed because it is too large
Load Diff
BIN
lv2-1.18.10.tar.xz
(Stored with Git LFS)
Normal file
BIN
lv2-1.18.10.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ddc0ed20579aabbaeb4df6fb42b69949c01dc7169ab0b945c709339509e6760
|
||||
size 540611
|
@ -1,2 +0,0 @@
|
||||
# The documentation explictly says to not split bundles. So even if I don't know what these .c/.h files do I prefer to leave them in the main package
|
||||
addFilter("lv2.*: E: devel-file-in-non-devel-package (.* )?/usr/lib(64)?/lv2/.*/.*\.[ch]")
|
38
lv2.changes
38
lv2.changes
@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 26 06:31:00 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||
|
||||
- switch to meson
|
||||
- Update to 1.18.10
|
||||
* add 001-lv2-docdir.patch
|
||||
* remove old patches: lv2pkgconfig.patch build-with-python3.patch
|
||||
* set noarch for docs
|
||||
|
||||
1.18.10 changes:
|
||||
|
||||
* Fix includedir in pkg-config file
|
||||
* Fix missing example plugin UI binaries
|
||||
* Only install lv2specgen when required Python modules are found
|
||||
* Replace change history data with a plain text NEWS file
|
||||
|
||||
1.18.8 changes:
|
||||
|
||||
* Fix documentation build with Python 3.7
|
||||
* Fix documentation build with meson 0.56.2
|
||||
* Fix lv2.h missing from installation
|
||||
* eg-midigate: Fix output timing
|
||||
* eg-sampler: Add resampling via libsamplerate
|
||||
* eg-sampler: Fix potentially corrupt notification events
|
||||
* lv2core: Fix inconsistent plugin class labels
|
||||
* lv2specgen: Fix installed data paths
|
||||
|
||||
1.18.6 changes:
|
||||
|
||||
* Add dark mode style for documentation
|
||||
* Clean up and modernize Python support code
|
||||
* Fix or avoid new compiler and tool warnings
|
||||
* Rearrange source tree to be directly usable by dependants
|
||||
* Remove archaic properties from foaf vocabulary
|
||||
* Replace canonical dcs ontology with a minimal version for LV2
|
||||
* Separate API headers from data
|
||||
* Switch to Meson build system
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 00:26:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
54
lv2.spec
54
lv2.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lv2
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,30 +17,35 @@
|
||||
|
||||
|
||||
%define asciidocs 1
|
||||
%define _waf python3 waf
|
||||
|
||||
Name: lv2
|
||||
Version: 1.18.4
|
||||
Version: 1.18.10
|
||||
Release: 0
|
||||
Summary: Plugin standard for audio systems
|
||||
License: ISC
|
||||
Group: System/Libraries
|
||||
URL: https://lv2plug.in/
|
||||
Source0: https://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
|
||||
# Patch Build with python3 everywhere (allows python3 builds on leap)
|
||||
Patch1: build-with-python3.patch
|
||||
Source0: https://lv2plug.in/spec/lv2-%{version}.tar.xz
|
||||
# Patch to use default docdir for documentation
|
||||
Patch0: 001-lv2-docdir.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-Markdown
|
||||
BuildRequires: python3-lxml
|
||||
BuildRequires: python3-rdflib
|
||||
BuildRequires: serdi
|
||||
BuildRequires: sord
|
||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0
|
||||
BuildRequires: pkgconfig(samplerate)
|
||||
BuildRequires: pkgconfig(sndfile) >= 1.0.0
|
||||
|
||||
%if %{asciidocs} == 1
|
||||
# Documentation build requirements.
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: codespell
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: python3-Pygments
|
||||
@ -154,6 +159,7 @@ This package contains LV2 example plugins.
|
||||
%package docs
|
||||
Summary: LV2 documentation
|
||||
Group: Documentation/Other
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description docs
|
||||
@ -167,29 +173,21 @@ This package contains the LV2 API documentation.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
%autopatch -p0
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} > 1500
|
||||
for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
||||
%endif
|
||||
|
||||
export CFLAGS='%{optflags}'
|
||||
export CXXFLAGS='%{optflags}'
|
||||
%{_waf} configure -v \
|
||||
--prefix=%{_prefix} \
|
||||
--lv2dir=%{_libdir}/%{name} \
|
||||
--libdir=%{_libdir} \
|
||||
--docdir=%{_defaultdocdir} \
|
||||
%meson -D old_headers=true \
|
||||
%if %{asciidocs} == 1
|
||||
--docs \
|
||||
-D docs=enabled \
|
||||
%endif
|
||||
--debug
|
||||
|
||||
%{_waf} %{?_smp_mflags} -vvv build
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%{_waf} install --lv2dir=%{_libdir}/%{name} --destdir=%{buildroot}
|
||||
%meson_install
|
||||
|
||||
%fdupes -s %{buildroot}%{_includedir}
|
||||
|
||||
sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' %{buildroot}%{_bindir}/lv2specgen.py
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -222,9 +220,9 @@ export CXXFLAGS='%{optflags}'
|
||||
%if %{asciidocs} == 1
|
||||
%files docs
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_defaultdocdir}/lv2/aux
|
||||
%doc %{_defaultdocdir}/lv2/doc
|
||||
%doc %{_defaultdocdir}/lv2/ns
|
||||
%doc %{_defaultdocdir}/lv2/c
|
||||
%doc %{_defaultdocdir}/lv2/style
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,10 +0,0 @@
|
||||
Index: lv2-1.16.0/lv2.pc.in
|
||||
===================================================================
|
||||
--- lv2-1.16.0.orig/lv2.pc.in 2018-09-04 01:06:23.000000000 +0200
|
||||
+++ lv2-1.16.0/lv2.pc.in 2019-12-04 09:42:44.128378371 +0200
|
||||
@@ -4,4 +4,4 @@ includedir=@INCLUDEDIR@
|
||||
Name: LV2
|
||||
Version: @VERSION@
|
||||
Description: An extensible audio plugin interface.
|
||||
-Cflags: -I${includedir}
|
||||
+Cflags: -I${includedir}/
|
Loading…
Reference in New Issue
Block a user