From 1269fcc573faabe6c46e9b8866e521a24d9cab95 Mon Sep 17 00:00:00 2001 From: Jan Beran Date: Wed, 26 May 2021 12:12:45 +0200 Subject: [PATCH] Provide appdata-xml metada file carla.appdata.xml serves for displaying Carla in GNOME Software. Without the file, GNOME Software does not display Carla. --- Carla.spec | 14 +++++++++++++- carla.appdata.xml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 carla.appdata.xml diff --git a/Carla.spec b/Carla.spec index b8d39aa..5badd9d 100644 --- a/Carla.spec +++ b/Carla.spec @@ -2,7 +2,7 @@ Name: Carla Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio plugin host # The entire source code is GPLv2+ except @@ -51,6 +51,7 @@ Epoch: 1 License: GPLv2+ and BSD and Boost and ISC and MIT and zlib URL: https://github.com/falkTX/Carla Source0: https://github.com/falkTX/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: carla.appdata.xml Patch0: Carla-gcc11-include.patch #ExcludeArch: ppc64le @@ -73,6 +74,8 @@ BuildRequires: pkgconfig(liblo) BuildRequires: pkgconfig(zlib) BuildRequires: desktop-file-utils BuildRequires: make +BuildRequires: /usr/bin/appstream-util +BuildRequires: /usr/bin/desktop-file-validate Requires: python3-qt5 Requires: python3-pyliblo Requires: hicolor-icon-theme @@ -171,8 +174,13 @@ chmod a+x %{buildroot}%{_datadir}/%{pname}/{carla,carla-control,carla-jack-multi # fix perm due rpmlint W: unstripped-binary-or-object /usr/lib64/carla/libcarla_interposer-jack-x11.so find %{buildroot}%{_libdir} -name '*.so' -exec chmod +x '{}' ';' +# Install appdata file +mkdir -p %{buildroot}%{_datadir}/metainfo +install -p -m 0644 %SOURCE1 %{buildroot}%{_datadir}/metainfo + %check desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{pname}.appdata.xml %files %doc README.md @@ -199,6 +207,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/%{pname}*.png %{_datadir}/icons/hicolor/*/apps/%{pname}*.svg %{_datadir}/mime/packages/%{pname}.xml +%{_datadir}/metainfo/%{pname}.appdata.xml %files vst %{_libdir}/vst/ @@ -215,6 +224,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_libdir}/pkgconfig/%{pname}-host-plugin.pc %changelog +* Wed May 26 2021 Jan Beran - 1:2.3.0-2 +- Add carla.appdata.xml file + * Thu Apr 15 2021 Martin Gansser - 1:2.3.0-1 - Update to 2.3.0 diff --git a/carla.appdata.xml b/carla.appdata.xml new file mode 100644 index 0000000..e8b3233 --- /dev/null +++ b/carla.appdata.xml @@ -0,0 +1,38 @@ + + + carla.desktop + CC0-1.0 + GPLv2+ and BSD and Boost and ISC and MIT and zlib + Carla + Audio plugin host + + +

+ Carla is a fully-featured audio plugin host, with support for many audio drivers + and plugin formats. It's open source and licensed under the GNU General Public + License, version 2 or later.

-- test every suffix of the sf whether its prefix is not a LHS of the rule, +

Features:

+
    +
  • LADSPA, DSSI, LV2 and VST plugin formats
  • +
  • SF2/3 and SFZ sound banks
  • +
  • Internal audio and midi file player
  • +
  • Automation of plugin parameters via MIDI CC
  • +
  • Remote control over OSC
  • +
  • Rack and Patchbay processing modes, plus Single and Multi-Client if using JACK
  • +
  • Native audio drivers (ALSA, DirectSound, CoreAudio, etc) and JACK
  • +
+

In experimental phase / work in progress:

+
    +
  • Export any Carla loadable plugin or sound bank as an LV2 plugin
  • +
  • Plugin bridge support (such as running 32bit plugins on a 64bit Carla, or Windows plugins on Linux)
  • +
  • Run JACK applications as audio plugins
  • +
  • Transport controls, sync with JACK Transport or Ableton Link
  • +
+

+ Carla is also available as an LV2 plugin for MacOS and Linux, and VST plugin for + Linux. +

+
+ + https://kx.studio/Applications:Carla +