Accepting request 869619 from home:simotek:branches:multimedia:libs

- Big ugly patch to force waf to use python3 everywhere, python2
  is no longer available for build in SLE core
  * build-with-python3.patch

OBS-URL: https://build.opensuse.org/request/show/869619
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lv2?expand=0&rev=34
This commit is contained in:
Simon Lees 2021-02-05 05:01:54 +00:00 committed by Git OBS Bridge
parent 5abaf36310
commit f65d598c5e
3 changed files with 1800 additions and 26 deletions

1778
build-with-python3.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,18 @@
-------------------------------------------------------------------
Fri Feb 5 00:41:59 UTC 2021 - Simon Lees <sflees@suse.de>
- Big ugly patch to force waf to use python3 everywhere, python2
is no longer available for build in SLE core
* build-with-python3.patch
-------------------------------------------------------------------
Sun Jan 24 17:54:25 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.18.2:
* Various code cleanups and infrastructure improvements.
* eg-sampler: Save and restore gain parameter value.
* state: Fix state:StateChanged URI in metadata and documentation.
* state: Fix state:StateChanged URI in metadata and documentation.
-------------------------------------------------------------------
Thu Nov 26 12:22:00 UTC 2020 - Martin Liška <mliska@suse.cz>
@ -133,24 +140,24 @@ Fri Jan 9 00:02:55 UTC 2015 - ecsos@opensuse.org
- Update to 1.10.0
* Upgrade to waf 1.7.16.
* lv2specgen: Display deprecated warning on classes
* lv2specgen: Display deprecated warning on classes
marked owl:deprecated.
* Fix -Wconversion warnings in headers.
* lv2core: Clarify lv2_descriptor() and lv2_lib_descriptor()
* lv2core: Clarify lv2_descriptor() and lv2_lib_descriptor()
documentation.
* atom: Add lv2_atom_sequence_clear() and
* atom: Add lv2_atom_sequence_clear() and
lv2_atom_sequence_append_event() helper functions.
* atom: Add lv2_atom_forge_is_object_type() and
* atom: Add lv2_atom_forge_is_object_type() and
lv2_atom_forge_is_blank() to ease backwards compatibility.
* atom: Deprecate Blank and Resource in favour of just Object.
* atom: Add lv2_atom_forge_key() for terser object writing.
* event: Minor documentation improvements.
* patch: Add patch:sequenceNumber for associating replies with
* patch: Add patch:sequenceNumber for associating replies with
requests.
* ui: Fix identifier typos in documentation.
* ui: Add show interface so UIs can gracefully degrade to
* ui: Add show interface so UIs can gracefully degrade to
separate windows if hosts can not use their widget directly.
-------------------------------------------------------------------
Tue Nov 11 11:51:45 UTC 2014 - olaf@aepfle.de
@ -246,4 +253,3 @@ Tue Oct 23 22:24:06 UTC 2012 - reddwarf@opensuse.org
Wed Aug 1 22:55:27 UTC 2012 - reddwarf@opensuse.org
- The first unified LV2 release

View File

@ -17,12 +17,8 @@
%define asciidocs 1
# build Leap:15 with python2 it fails with 3
%if 0%{?suse_version} > 1500
%define _waf python3 waf
%else
%define _waf python2 waf
%endif
Name: lv2
Version: 1.18.2
Release: 0
@ -34,26 +30,20 @@ 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
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0
BuildRequires: pkgconfig(sndfile) >= 1.0.0
%if 0%{?suse_version} > 1500
BuildRequires: python3-Markdown
BuildRequires: python3-rdflib
%else
BuildRequires: python-Markdown
BuildRequires: python-rdflib
%endif
BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0
BuildRequires: pkgconfig(sndfile) >= 1.0.0
%if %{asciidocs} == 1
# Documentation build requirements.
BuildRequires: asciidoc
BuildRequires: doxygen
BuildRequires: graphviz
%if 0%{?suse_version} > 1500
BuildRequires: python3-Pygments
%else
BuildRequires: python-Pygments
%endif
%endif
%description