mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
parent
e261ae3a87
commit
9208a26908
2 changed files with 33 additions and 2 deletions
31
srcpkgs/rhythmbox/patches/fix-build.patch
Normal file
31
srcpkgs/rhythmbox/patches/fix-build.patch
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
From: Bastien Nocera <hadess@hadess.net>
|
||||||
|
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,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rhythmbox'
|
# Template file for 'rhythmbox'
|
||||||
pkgname=rhythmbox
|
pkgname=rhythmbox
|
||||||
version=3.4.2
|
version=3.4.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-schemas-compile
|
configure_args="--disable-static --disable-schemas-compile
|
||||||
--with-webkit --with-gudev --without-hal $(vopt_if gir --enable-vala)"
|
--with-webkit --with-gudev --without-hal $(vopt_if gir --enable-vala)"
|
||||||
|
@ -39,7 +39,7 @@ rhythmbox-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
if [ -n "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove usr/share/gir-1.0
|
vmove usr/share/gir-1.0
|
||||||
fi
|
fi
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue