diff --git a/srcpkgs/rhythmbox/patches/fix-build.patch b/srcpkgs/rhythmbox/patches/fix-build.patch new file mode 100644 index 00000000000..37f83743f38 --- /dev/null +++ b/srcpkgs/rhythmbox/patches/fix-build.patch @@ -0,0 +1,31 @@ +From: Bastien Nocera +Date: Mon, 9 Oct 2017 13:11:47 +0200 +Subject: fmradio: Fix build with GStreamer master + +The plugin description is not supposed to be a string constant, but an +unescaped string, to be concatenated with function names. + +This used to be acceptable (though would have warned), but breaks with +the GStreamer 1.13 development branch. + +rb-fm-radio-gst-src.c:181:6: error: pasting ""rbsilencesrc"" and "_get_desc" does not give a valid preprocessing token + "rbsilencesrc", + ^ + +https://bugzilla.gnome.org/show_bug.cgi?id=788706 +--- + plugins/fmradio/rb-fm-radio-gst-src.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- plugins/fmradio/rb-fm-radio-gst-src.c ++++ plugins/fmradio/rb-fm-radio-gst-src.c +@@ -178,7 +178,7 @@ plugin_init (GstPlugin *plugin) + + GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + GST_VERSION_MINOR, +- "rbsilencesrc", ++ rbsilencesrc, + "element to output silence", + plugin_init, + VERSION, + diff --git a/srcpkgs/rhythmbox/template b/srcpkgs/rhythmbox/template index a8ee4b5bb9a..4e06c3e3518 100644 --- a/srcpkgs/rhythmbox/template +++ b/srcpkgs/rhythmbox/template @@ -1,7 +1,7 @@ # Template file for 'rhythmbox' pkgname=rhythmbox version=3.4.2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --disable-schemas-compile --with-webkit --with-gudev --without-hal $(vopt_if gir --enable-vala)" @@ -39,7 +39,7 @@ rhythmbox-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - if [ -n "$build_option_gir" ]; then + if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi vmove usr/share/gtk-doc