public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nils Philippsen <nils@tiptoe.de>
To: git-commits@fedoraproject.org
Subject: [rpms/ardour9] f43: Make shipping appdata file conditional
Date: Thu, 12 Nov 2026 20:36:15 GMT [thread overview]
Message-ID: <179451577522.1.18158895800288316472.rpms-ardour9-ee0fda36d7af@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ardour9
Branch : f43
Commit : ee0fda36d7af3c4b8f1a1be517340e85f1bf86ea
Author : Nils Philippsen <nils@tiptoe.de>
Date : 2026-11-12T20:59:13+01:00
Stats : +13/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ardour9/c/ee0fda36d7af3c4b8f1a1be517340e85f1bf86ea?branch=f43
Log:
Make shipping appdata file conditional
It shoudn’t be shipped in legacy major versions.
[skip changelog]
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
---
diff --git a/ardour9.spec b/ardour9.spec
index 8fb2118..42c9b28 100644
--- a/ardour9.spec
+++ b/ardour9.spec
@@ -22,6 +22,9 @@
%bcond apply_64bit_patch 0
%endif
+# Disable on legacy major versions
+%bcond appdata 1
+
# Don't generate provides for internal shared objects and plugins
%global internal_libs_re (aaf|alsa_audiobackend|ardour.*|audiographer|canvas|dummy_audiobackend|evoral|gtkmm2ext|jack_audiobackend|midipp|pan[12]in2out|panbalance|panvbap|pbd|ptformat|pulseaudio_backend.so|qmdsp|suil|temporal|timecode|waveview|widgets|ydk|ydk-pixbuf|ydkmm|ytk|ytkmm|ztk|ztkmm)
%global __provides_exclude_from ^%{_libdir}/(%{name}|lv2)/.*$
@@ -88,7 +91,9 @@ BuildRequires: gettext
BuildRequires: graphviz
BuildRequires: itstool >= 2.0.0
BuildRequires: kernel-headers
+%if %{with appdata}
BuildRequires: libappstream-glib
+%endif
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(aubio) >= 0.3.2
@@ -275,6 +280,10 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications \
--add-category=X-AudioEditing \
build/gtk2_ardour/%{name}.desktop
+%if %{without appdata}
+rm -f %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+%endif
+
# Delete zero length file (probably needed to keep empty dir in GIT)
rm %{buildroot}%{_datadir}/%{name}/templates/.stub
@@ -363,8 +372,10 @@ for exe in build/libs/*/run-tests; do
done
%endif
+%if %{with appdata}
# check appdata file
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+%endif
%files -f %{name}.lang -f gtk2_%{name}.lang -f gtkmm2ext3.lang -f ytk%{major}.lang -f %{name}-datafiles.list
%license COPYING gpl-3.0.txt LICENSING
@@ -379,7 +390,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.a
%{_datadir}/applications/%{name}.desktop
# intentionally unversioned
%{_datadir}/mime/packages/ardour.xml
+%if %{with appdata}
%{_datadir}/appdata/%{name}.appdata.xml
+%endif
%{_mandir}/man1/%{name}.1*
%changelog
reply other threads:[~2026-11-12 20:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179451577522.1.18158895800288316472.rpms-ardour9-ee0fda36d7af@fedoraproject.org \
--to=nils@tiptoe.de \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox