From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../files/jackbeat-0.7.6-automagic-pulse.patch | 36 ++++++++++++++++++++++ .../files/jackbeat-0.7.6-underlinking.patch | 17 ++++++++++ 2 files changed, 53 insertions(+) create mode 100644 media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch create mode 100644 media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch (limited to 'media-sound/jackbeat/files') diff --git a/media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch b/media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch new file mode 100644 index 000000000000..5f1aca5d3a32 --- /dev/null +++ b/media-sound/jackbeat/files/jackbeat-0.7.6-automagic-pulse.patch @@ -0,0 +1,36 @@ +--- jackbeat-0.7.6/configure.ac.orig ++++ jackbeat-0.7.6/configure.ac +@@ -67,20 +67,25 @@ + AC_SUBST(JACK_LIBS) + AM_CONDITIONAL(HAVE_JACK, [test "$have_jack" = "1"]) + +-PKG_CHECK_MODULES(PULSE, libpulse-simple >= 0.9.10, [have_pulse=1], true) +-AC_SUBST(PULSE_CFLAGS) +-AC_SUBST(PULSE_LIBS) +-if test "$have_pulse" = "1" ++AC_ARG_WITH([pulse], [AS_HELP_STRING([--without-pulse], [disable PulseAudio support])], [], [with_pulse=yes]) ++ ++if test "x$with_pulse" != xno + then +- AC_DEFINE(HAVE_PULSE, [1], [PulseAudio support]) ++ PKG_CHECK_MODULES(PULSE, libpulse-simple >= 0.9.10, [have_pulse=1], true) ++else ++ AC_MSG_CHECKING([for PULSE]) ++ AC_MSG_RESULT([disabled]) + fi +-AM_CONDITIONAL(HAVE_PULSE, [test "$have_pulse" = "1"]) + +-if test "$have_pulse" = "" && test "$is_linux" = "1" ++if test "$have_pulse" != "" + then +- AC_MSG_WARN([Can't find libpulse, PulseAudio will not be supported]) ++ AC_DEFINE(HAVE_PULSE, [1], [PulseAudio support]) + fi + ++AC_SUBST(PULSE_CFLAGS) ++AC_SUBST(PULSE_LIBS) ++AM_CONDITIONAL(HAVE_PULSE, [test "$have_pulse" = "1"]) ++ + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.12, [have_pkg_gtk=true], true) + + if test x$have_pkg_gtk = xtrue diff --git a/media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch b/media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch new file mode 100644 index 000000000000..878929c36693 --- /dev/null +++ b/media-sound/jackbeat/files/jackbeat-0.7.6-underlinking.patch @@ -0,0 +1,17 @@ +http://bugs.gentoo.org/508988 + +jackbeat-builder.o:builder.c:function gui_builder_connect_func: error: undefined reference to 'g_module_symbol' +jackbeat-builder.o:builder.c:function gui_builder_connect_func: error: undefined reference to 'g_module_supported' +jackbeat-builder.o:builder.c:function gui_builder_connect_func: error: undefined reference to 'g_module_open' + +--- configure.ac ++++ configure.ac +@@ -86,7 +86,7 @@ + AC_SUBST(PULSE_LIBS) + AM_CONDITIONAL(HAVE_PULSE, [test "$have_pulse" = "1"]) + +-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.12, [have_pkg_gtk=true], true) ++PKG_CHECK_MODULES(GTK, gmodule-2.0 gtk+-2.0 >= 2.12, [have_pkg_gtk=true], true) + + if test x$have_pkg_gtk = xtrue + then -- cgit v1.2.3