[rhythmbox] podcast: Handle itms URLs if browser plugin is built



commit a19f9f395e4ea024ca5dbfde5db29a31d7e7776a
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Aug 16 11:12:32 2012 +0100

    podcast: Handle itms URLs if browser plugin is built
    
    Fix links to iTunes podcast pages not be handled in Epiphany.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682970

 configure.ac                 |    5 ++++-
 data/rhythmbox.desktop.in.in |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cc43e48..76f2a67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -715,7 +715,10 @@ MOZILLA_PLUGINDIR=${MOZILLA_PLUGINDIR:-'${libdir}/mozilla/plugins'}
 AC_ARG_VAR([MOZILLA_PLUGINDIR],[Where to install the browser plugin to])
 
 AM_CONDITIONAL([ENABLE_BROWSER_PLUGIN], test x$enable_browser_plugin = xyes)
-
+if test x$enable_browser_plugin = xyes; then
+	ITMS_HANDLER="x-scheme-handler/itms;"
+fi
+AC_SUBST(ITMS_HANDLER)
 
 dnl ================================================================
 dnl Use libdmapsharing for DAAP?
diff --git a/data/rhythmbox.desktop.in.in b/data/rhythmbox.desktop.in.in
index fa9dcf8..ad46f18 100644
--- a/data/rhythmbox.desktop.in.in
+++ b/data/rhythmbox.desktop.in.in
@@ -9,7 +9,7 @@ Type=Application
 Icon=rhythmbox
 X-GNOME-DocPath=rhythmbox/rhythmbox.xml
 Categories=GNOME;GTK;AudioVideo;
-MimeType=application/x-ogg;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-mpegurl;audio/x-flac;
+MimeType=application/x-ogg;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-mpegurl;audio/x-flac;@ITMS_HANDLER@
 StartupNotify=true
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=rhythmbox



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]