[audacious] Sync desktop file modifications with the 2.4.4 packages and the current state in 2.5-beta1. Remove a
Michael Schwendt
mschwendt at fedoraproject.org
Sat Mar 26 11:59:41 UTC 2011
commit 16f0105e6644a762d3bf6c9b8aa27b1be8b6d51b
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sat Mar 26 12:59:31 2011 +0100
Sync desktop file modifications with the 2.4.4 packages and the
current state in 2.5-beta1.
Remove audio/midi MIME type from desktop file, because it is only
supported with the optional audacious-plugins-amidi package.
audacious.spec | 35 ++++++++++-------------------------
1 files changed, 10 insertions(+), 25 deletions(-)
---
diff --git a/audacious.spec b/audacious.spec
index a8657b9..e325845 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -13,7 +13,7 @@ Provides: audacious(plugin-api) = %{aud_plugin_api_min}
Name: audacious
Version: 2.5
-Release: 0.2.beta1%{?dist}
+Release: 0.3.beta1%{?dist}
License: GPLv3
Summary: Advanced audio player
@@ -97,27 +97,6 @@ api_min=$(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION_MIN' src/audacious/plugin.h |
sed -i '\,^.SILENT:,d' buildsys.mk.in
-# From .desktop files remove MIME types the base build of the
-# Fedora audacious-plugins package does not understand.
-for t in \
- audio/mp3 \
- audio/mpeg \
- audio/mpegurl \
- audio/x-mp3 \
- audio/x-mpeg \
- audio/x-mpegurl \
- audio/x-ms-wma \
- audio/x-musepack \
- audio/prs.sid \
-; do
- for f in audacious.desktop ; do
- cp ${f} ${f}.old
- sed -i "s!${t};!!g" $f
- diff -u ${f}.old ${f} || :
- rm -f ${f}.old
- done
-done
-
%build
%configure \
@@ -145,9 +124,9 @@ desktop-file-install \
--remove-mime-type audio/x-mpeg \
--remove-mime-type audio/x-mpegurl \
--remove-mime-type audio/x-ms-wma \
- --remove-mime-type audio/x-scpls \
- --remove-category Application \
- --add-category AudioVideo \
+ --remove-mime-type audio/x-musepack \
+ --remove-mime-type audio/prs.sid \
+ --remove-mime-type audio/midi \
$RPM_BUILD_ROOT%{_datadir}/applications/audacious.desktop
@@ -205,6 +184,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Sat Mar 26 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5-0.3.beta1
+- Sync desktop file modifications with the 2.4.4 packages and the
+ current state in 2.5-beta1.
+- Remove audio/midi MIME type from desktop file, because it is only
+ supported with the optional audacious-plugins-amidi package.
+
* Thu Mar 10 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5-0.2.beta1
- Update to 2.5-beta1.
More information about the scm-commits
mailing list