* [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 optional dependency
@ 2020-04-24 11:39 Fabrice Fontaine
2020-04-24 11:39 ` [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd " Fabrice Fontaine
2021-01-07 22:25 ` [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 " Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2020-04-24 11:39 UTC (permalink / raw)
To: buildroot
sdl2 is an optional dependency (enabled by default) since version 2.1.0:
https://github.com/FluidSynth/fluidsynth/commit/978283bbf0309191a441121b7ea867e41e329d3b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/fluidsynth/Config.in | 10 ++++++++++
package/fluidsynth/fluidsynth.mk | 7 +++++++
2 files changed, 17 insertions(+)
diff --git a/package/fluidsynth/Config.in b/package/fluidsynth/Config.in
index c1cb923489..9b4d05bbb9 100644
--- a/package/fluidsynth/Config.in
+++ b/package/fluidsynth/Config.in
@@ -86,6 +86,16 @@ comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS
+config BR2_PACKAGE_FLUIDSYNTH_SDL2
+ bool "sdl2"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_SDL2
+ help
+ Enable SDL2 audio support.
+
+comment "SDL2 audio support needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
+
comment "Misc options"
config BR2_PACKAGE_FLUIDSYNTH_DBUS
diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk
index 2bd792dbaf..98eb1ad30c 100644
--- a/package/fluidsynth/fluidsynth.mk
+++ b/package/fluidsynth/fluidsynth.mk
@@ -66,4 +66,11 @@ else
FLUIDSYNTH_CONF_OPTS += -Denable-readline=0
endif
+ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y)
+FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1
+FLUIDSYNTH_DEPENDENCIES += sdl2
+else
+FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0
+endif
+
$(eval $(cmake-package))
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd optional dependency
2020-04-24 11:39 [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 optional dependency Fabrice Fontaine
@ 2020-04-24 11:39 ` Fabrice Fontaine
2021-01-07 22:25 ` Thomas Petazzoni
2021-01-07 22:25 ` [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 " Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2020-04-24 11:39 UTC (permalink / raw)
To: buildroot
systemd is an optional dependency (enabled by default) since version
2.0.5 and
https://github.com/FluidSynth/fluidsynth/commit/099369f8b7f39afe08b6a518195948b05a937af3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/fluidsynth/fluidsynth.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/fluidsynth/fluidsynth.mk b/package/fluidsynth/fluidsynth.mk
index 98eb1ad30c..22ba59669c 100644
--- a/package/fluidsynth/fluidsynth.mk
+++ b/package/fluidsynth/fluidsynth.mk
@@ -73,4 +73,11 @@ else
FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+FLUIDSYNTH_CONF_OPTS += -Denable-systemd=1
+FLUIDSYNTH_DEPENDENCIES += systemd
+else
+FLUIDSYNTH_CONF_OPTS += -Denable-systemd=0
+endif
+
$(eval $(cmake-package))
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 optional dependency
2020-04-24 11:39 [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 optional dependency Fabrice Fontaine
2020-04-24 11:39 ` [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd " Fabrice Fontaine
@ 2021-01-07 22:25 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-01-07 22:25 UTC (permalink / raw)
To: buildroot
On Fri, 24 Apr 2020 13:39:27 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> sdl2 is an optional dependency (enabled by default) since version 2.1.0:
> https://github.com/FluidSynth/fluidsynth/commit/978283bbf0309191a441121b7ea867e41e329d3b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/fluidsynth/Config.in | 10 ++++++++++
> package/fluidsynth/fluidsynth.mk | 7 +++++++
> 2 files changed, 17 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd optional dependency
2020-04-24 11:39 ` [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd " Fabrice Fontaine
@ 2021-01-07 22:25 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-01-07 22:25 UTC (permalink / raw)
To: buildroot
On Fri, 24 Apr 2020 13:39:28 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> systemd is an optional dependency (enabled by default) since version
> 2.0.5 and
> https://github.com/FluidSynth/fluidsynth/commit/099369f8b7f39afe08b6a518195948b05a937af3
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/fluidsynth/fluidsynth.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-07 22:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 11:39 [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 optional dependency Fabrice Fontaine
2020-04-24 11:39 ` [Buildroot] [PATCH 2/2] package/fluidsynth: add systemd " Fabrice Fontaine
2021-01-07 22:25 ` Thomas Petazzoni
2021-01-07 22:25 ` [Buildroot] [PATCH 1/2] package/fluidsynth: add sdl2 " Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.