Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041090
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: lv2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable old_headers
%def_enable check

Name: lv2
Version: 1.18.10
Release: alt1

Summary: Audio Plugin Standard
# lv2specgen template.html is CC-AT-SA
License: ISC
Group: System/Libraries
Url: http://lv2plug.in

Vcs: https://github.com/lv2/lv2.git
Source: http://lv2plug.in/spec/lv2-%version.tar.xz
Source1: lv2-1.18.4-include-symlinks

BuildRequires(pre): rpm-macros-meson rpm-build-python3
BuildRequires: meson
BuildRequires: libsndfile-devel
BuildRequires: libcairo-devel >= 1.8.10
BuildRequires: python3-devel
BuildRequires: python3-module-Pygments
BuildRequires: python3-module-rdflib
BuildRequires: python3-module-markdown
BuildRequires: python3-module-lxml
BuildRequires: doxygen graphviz
BuildRequires: asciidoc-a2x
%{?_enable_check:BuildRequires: codespell /usr/bin/serdi}

# this package replaces lv2core

Provides: lv2core = 6.0-4
Obsoletes: lv2core < 6.0-4
Provides: lv2-ui = 2.4-5
Obsoletes: lv2-ui < 2.4-5

%description
LV2 is a standard for plugins and matching host applications, mainly
targeted at audio processing and generation.

There are a large number of open source and free software synthesis
packages in use or development at this time. This API ('LV2') attempts
to give programmers the ability to write simple 'plugin' audio
processors in C/C++ and link them dynamically ('plug') into a range of
these packages ('hosts').  It should be possible for any host and any
plugin to communicate completely through this interface.

LV2 is a successor to LADSPA, created to address the limitations of
LADSPA which many hosts have outgrown.

%package devel
Summary: API for the LV2 Audio Plugin Standard
Group: Development/C
Requires: %name = %EVR
Requires: python3-module-rdflib
Requires: python3-module-markdown
Provides: lv2core-devel = 6.0-4
Obsoletes: lv2core-devel < 6.0-4
Provides: lv2-ui-devel = 2.4-5
Obsoletes: lv2-ui-devel < 2.4-5

%description devel
lv2-devel contains the lv2.h header file and headers for all of the
LV2 specification extensions and bundles.

Definitive technical documentation on LV2 plug-ins for both the host
and plug-in is contained within copious comments within the lv2.h
header file.

%package doc
Summary: Documentation for the LV2 Audio Plugin Standard
Group: Documentation
BuildArch: noarch
Conflicts: %name < %version

%description doc
Documentation for the LV2 plugin API.

%package example-plugins
Summary: Examples of the LV2 Audio Plugin Standard
Group: Sound
Requires: %name = %EVR

%description example-plugins
Example LV2 audio plugins

%{!?_pkgdocdir: %global _pkgdocdir %_docdir/%name-%version}

%prep
%setup
# Fix wrong interpreter in lv2specgen.py
sed -i '1s|^#!.*|#!%__python3|' lv2specgen/lv2specgen.py

%build
%meson %{?_disable_old_headers:-Dold_headers=false}
%meson_build

%install
%meson_install

%check
%__meson_test

%files
%_libdir/%name/
%doc NEWS README*

%exclude %_libdir/%name/eg-*

%files devel
%_bindir/%{name}specgen.py
%_bindir/%{name}_validate
%_datadir/%{name}specgen
%_includedir/%name/atom/
%_includedir/%name/buf-size/
%_includedir/%name/core/
%_includedir/%name/data-access/
%_includedir/%name/dynmanifest/
%_includedir/%name/event/
%_includedir/%name/instance-access/
%_includedir/%name/log/
%_includedir/%name/midi/
%_includedir/%name/morph/
%_includedir/%name/options/
%_includedir/%name/parameters/
%_includedir/%name/patch/
%_includedir/%name/port-groups/
%_includedir/%name/port-props/
%_includedir/%name/presets/
%_includedir/%name/resize-port/
%_includedir/%name/state/
%_includedir/%name/time/
%_includedir/%name/ui/
%_includedir/%name/units/
%_includedir/%name/urid/
%_includedir/%name/uri-map/
%_includedir/%name/worker/
%{?_enable_old_headers:%_includedir/%name.h
%_includedir/%name/lv2plug.in/}
%_pkgconfigdir/%name.pc

%files example-plugins
%_libdir/%name/eg-*

%files doc
%_docdir/%name/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin