File zrythm.spec of Package zrythm

# spec file for package zrythm
#
# Copyright (c) 2020 Fabio Pesari
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:          zrythm
Version:       1.0.0.beta.1.1.11
Release:       0
Summary:       Highly automated DAW
License:       AGPL-3.0
Group:         Productivity/Multimedia/Sound/Editors and Convertors
URL:           https://www.zrythm.org/
Source0:       %{name}-%{version}.tar.gz
BuildRequires: gcc gcc-c++
BuildRequires: cmake
BuildRequires: carla
BuildRequires: flex
BuildRequires: meson
BuildRequires: ninja
BuildRequires: alsa-devel
BuildRequires: xdg-utils
BuildRequires: help2man
BuildRequires: breeze5-icons
BuildRequires: fftw3-devel
BuildRequires: fftw3-threads-devel
BuildRequires: guile-devel
BuildRequires: libchromaprint-devel
BuildRequires: libcurl-devel
BuildRequires: liblsp-dsp-devel
BuildRequires: libpulse-devel
BuildRequires: librubberband-devel
BuildRequires: libsoundio-devel
BuildRequires: sassc
BuildRequires: vamp-plugin-sdk-devel
BuildRequires: xxhash-devel
# Should be subprojects
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libyaml-devel
BuildRequires: libzstd-devel
BuildRequires: serd-devel sord-devel
# GNOME dependencies
BuildRequires: atk-devel
BuildRequires: gtk4-devel
BuildRequires: gtksourceview5-devel
BuildRequires: gdk-pixbuf-devel
BuildRequires: json-glib-devel
BuildRequires: libadwaita-devel
BuildRequires: libcroco-devel
BuildRequires: librsvg-devel
BuildRequires: pango-devel
# Optional dependencies
BuildRequires: jack-devel
BuildRequires: carla-devel
BuildRequires: graphviz-devel
BuildRequires: libSDL2-devel
Requires:      liblsp-dsp

%description
Zrythm is a digital audio workstation designed to be
featureful and easy to use. It allows limitless
automation through curves, LFOs and envelopes,
supports multiple plugin formats including LV2, VST2
and VST3, works with multiple backends including
JACK, RtAudio/RtMidi and SDL2, assists with chord
progressions via a special Chord Track and chord
pads, and can be used in multiple languages
including English, French, Portuguese, Japanese and
German.

Zrythm is free software
written in C using the GTK+4 toolkit and can be
extended using GNU Guile.

%prep
%setup -q
%autopatch -p1

%build
%meson -Dsdl=enabled --buildtype=debug
%meson_build

%install
%meson_install

%files
%doc README.md AUTHORS THANKS
%license COPYING TRADEMARKS.md
%{_bindir}/zrythm*
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/zrythm
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/zrythm.fish
%dir %{_datadir}/glib-2.0
%dir %{_datadir}/glib-2.0/schemas
%{_datadir}/glib-2.0/schemas/org.zrythm.Zrythm.gschema.xml
%exclude %{_datadir}/locale
%dir %{_datadir}/fonts
%{_datadir}/fonts/zrythm
%dir %{_datadir}/icons
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/zrythm.svg
%dir %{_mandir}/man1
%{_mandir}/man1/zrythm.1.gz
%dir %{_datadir}/mime
%dir %{_datadir}/mime/packages
%{_datadir}/mime/packages/org.zrythm.Zrythm-mime.xml
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.zrythm.Zrythm.appdata.xml
%dir %{_datadir}/applications
%{_datadir}/applications/org.zrythm.Zrythm.desktop
%{_datadir}/zrythm
%exclude %{_includedir}/*
%exclude %{_libdir}/*

%changelog
openSUSE Build Service is sponsored by