From a8da050bbbbe6352753c07b7b1d4753dbcf8eb7a Mon Sep 17 00:00:00 2001 From: Alexe-Cristia Moldovan Date: Thu, 18 Jun 2015 15:10:15 +0300 Subject: add deadbeef plugins --- .../deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff (limited to 'media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff') diff --git a/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff new file mode 100644 index 00000000..1ed84ba0 --- /dev/null +++ b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff @@ -0,0 +1,15 @@ +diff -r b870df1b662c infobar.c +--- a/infobar.c Thu Jan 30 15:13:12 2014 +0200 ++++ b/infobar.c Thu Jul 10 09:00:29 2014 +0200 +@@ -333,6 +333,11 @@ + .plugin.version_major = 1, + .plugin.version_minor = 4, + .plugin.type = DB_PLUGIN_MISC, ++#if !GTK_CHECK_VERSION(3, 0, 0) ++ .plugin.id = "infobar_gtk2", ++#else ++ .plugin.id = "infobar_gtk3", ++#endif + .plugin.name = "Infobar", + .plugin.descr = "Infobar plugin for DeadBeeF audio player.\nFetches and shows:\n" + "- song's lyrics;\n- artist's biography;\n- list of similar artists.\n\n" -- cgit v1.2.3