package/libsidplayfp: new package
PATCH 1/2 package/libsidplayfp: new package
Replaces libsidplay2 as dependency in mpd 0.24.0:
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.6/NEWS#L125
https://github.com/MusicPlayerDaemon/MPD/commit/7e2538e07a80bd12baf2e7c328e7d1a64eb434f9
--- package/Config.in | 1 + package/libsidplayfp/Config.in | 13 +++++++++++++ package/libsidplayfp/libsidplayfp.hash | 3 +++ package/libsidplayfp/libsidplayfp.mk | 20 ++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 package/libsidplayfp/Config.in create mode 100644 package/libsidplayfp/libsidplayfp.hash create mode 100644 package/libsidplayfp/libsidplayfp.mk
package/Config.in +1 -0
@@ -1559,6 +1559,7 @@ menu "Audio/Sound" source "package/libreplaygain/Config.in" source "package/libsamplerate/Config.in" source "package/libsidplay2/Config.in" + source "package/libsidplayfp/Config.in" source "package/libsilk/Config.in" source "package/libsndfile/Config.in" source "package/libsoundtouch/Config.in"
package/libsidplayfp/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +config BR2_PACKAGE_LIBSIDPLAYFP + bool "libsidplayfp" + depends on BR2_INSTALL_LIBSTDCPP + help + libsidplayfp is a C64 music player library which integrates + the reSID SID chip emulation into a cycle-based emulator + environment, constantly aiming to improve emulation of the + C64 system and the SID chips. + + https://github.com/libsidplayfp/libsidplayfp + +comment "libsidplayfp needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP
package/libsidplayfp/libsidplayfp.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed +sha256 7c6ab283fda53d34973fa266fc3809e16964dd8ccb7edcc11516ef5e3f66b3cd libsidplayfp-2.15.2.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
package/libsidplayfp/libsidplayfp.mk new file +20 -0
@@ -0,0 +1,20 @@ +################################################################################ +# +# libsidplayfp +# +################################################################################ + +LIBSIDPLAYFP_VERSION = 2.15.2 +LIBSIDPLAYFP_SITE = https://github.com/libsidplayfp/libsidplayfp/releases/download/v$(LIBSIDPLAYFP_VERSION) +LIBSIDPLAYFP_LICENSE = GPL-2.0+ +LIBSIDPLAYFP_LICENSE_FILES = COPYING +LIBSIDPLAYFP_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +LIBSIDPLAYFP_CONF_OPTS += --with-gcrypt +LIBSIDPLAYFP_DEPENDENCIES += libgcrypt +else +LIBSIDPLAYFP_CONF_OPTS += --without-gcrypt +endif + +$(eval $(autotools-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/mpd: switch from libsidplay2 to libsidplayfp
Buildroot commit 25af5a3b3aa3480ee10158e55c280d675430442a bumped mpd to 0.24 which switched C64 SID support from libsidplay2 to libsidplayfp:
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.6/NEWS#L125
https://github.com/MusicPlayerDaemon/MPD/commit/7e2538e07a80bd12baf2e7c328e7d1a64eb434f9
Fixes a build error not recorded by autobuilders:
Run-time dependency libsidplayfp found: NO (tried pkgconfig and cmake)
output/build/mpd-0.24.6/src/decoder/plugins/meson.build:161:17: ERROR:
Dependency "libsidplayfp" not found, tried pkgconfig and cmake
--- package/mpd/Config.in | 2 +- package/mpd/mpd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/mpd/Config.in +1 -1
@@ -159,7 +159,7 @@ config BR2_PACKAGE_MPD_OPUS config BR2_PACKAGE_MPD_SIDPLAY bool "sidplay" - select BR2_PACKAGE_LIBSIDPLAY2 + select BR2_PACKAGE_LIBSIDPLAYFP help Enable C64 SID support.
package/mpd/mpd.mk +1 -1
@@ -281,7 +281,7 @@ MPD_CONF_OPTS += -Dshout=disabled endif ifeq ($(BR2_PACKAGE_MPD_SIDPLAY),y) -MPD_DEPENDENCIES += libsidplay2 +MPD_DEPENDENCIES += libsidplayfp MPD_CONF_OPTS += -Dsidplay=enabled else MPD_CONF_OPTS += -Dsidplay=disabled
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH/next 2/2] package/mpd: switch from libsidplay2 to libsidplayfp
Hi Bernd,
Thank you for fixing this; it completely escaped my notice.
Quoted 5 lines · Bernd Kuhls
Buildroot commit
25af5a3b3aa3480ee10158e55c280d675430442abumped mpd to 0.24 which switched C64 SID support from libsidplay2 to libsidplayfp:
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.6/NEWS#L125
https://github.com/MusicPlayerDaemon/MPD/commit/7e2538e07a80bd12baf2e7c328e7d1a64eb434f9
Quoted 7 lines
Fixes a build error not recorded by autobuilders:
Run-time dependency libsidplayfp found: NO (tried pkgconfig and cmake)
output/build/mpd-0.24.6/src/decoder/plugins/meson.build:161:17: ERROR:
Dependency "libsidplayfp" not found, tried pkgconfig and cmake
package/mpd/Config.in
Quoted 10 lines
Signed-off-by Bernd Kuhls <[email protected]>--- package/mpd/Config.in | 2 +- package/mpd/mpd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/mpd/Config.in +0
-0
<...>
Kind regards,
Andreas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Bernd,
Quoted 5 lines · On Fri, 5 Dec 2025 20:30:56 +0100 Bernd Kuhls <[email protected]> wrote:
Replaces libsidplay2 as dependency in mpd 0.24.0:
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.6/NEWS#L125
https://github.com/MusicPlayerDaemon/MPD/commit/7e2538e07a80bd12baf2e7c328e7d1a64eb434f9Signed-off-by Bernd Kuhls <[email protected]>
Quoted 9 lines
--- package/Config.in | 1 + package/libsidplayfp/Config.in | 13 +++++++++++++ package/libsidplayfp/libsidplayfp.hash | 3 +++ package/libsidplayfp/libsidplayfp.mk | 20 ++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 package/libsidplayfp/Config.in create mode 100644 package/libsidplayfp/libsidplayfp.hash create mode 100644 package/libsidplayfp/libsidplayfp.mk
Thanks for your patch!
Could you add an entry in the DEVELOPERS file for this new package?
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Bernd, Thomas, all
Quoted 3 lines · Bernd Kuhls
Replaces libsidplay2 as dependency in mpd 0.24.0:
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.6/NEWS#L125
https://github.com/MusicPlayerDaemon/MPD/commit/7e2538e07a80bd12baf2e7c328e7d1a64eb434f9
Apart from mpd, there are only two other packages depending on libsidplay2:
~/buildroot$ grep libsidplay2 package/*/*.mk package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk:KODI_AUDIODECODER_SIDPLAY_DEPENDENCIES = host-pkgconf kodi libsidplay2 package/libsidplay2/libsidplay2.mk:# libsidplay2
package/mpd/mpd.mk:MPD_DEPENDENCIES += libsidplay2
package/vlc/vlc.mk:VLC_DEPENDENCIES += libsidplay2
Should we patch them and drop libsidplay2 completely? Libsidplayfp seems to be better maintaned. I can offer help.
Quoted 82 lines
Signed-off-by Bernd Kuhls <[email protected]>--- package/Config.in | 1 + package/libsidplayfp/Config.in | 13 +++++++++++++ package/libsidplayfp/libsidplayfp.hash | 3 +++ package/libsidplayfp/libsidplayfp.mk | 20 ++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 package/libsidplayfp/Config.in create mode 100644 package/libsidplayfp/libsidplayfp.hash create mode 100644 package/libsidplayfp/libsidplayfp.mkpackage/Config.in +1
-0@@ -1559,6 +1559,7 @@ menu "Audio/Sound" source "package/libreplaygain/Config.in" source "package/libsamplerate/Config.in" source "package/libsidplay2/Config.in" + source "package/libsidplayfp/Config.in" source "package/libsilk/Config.in" source "package/libsndfile/Config.in" source "package/libsoundtouch/Config.in"package/libsidplayfp/Config.in new file +13
-0@@ -0,0 +1,13 @@ +config BR2_PACKAGE_LIBSIDPLAYFP + bool "libsidplayfp" + depends on BR2_INSTALL_LIBSTDCPP + help + libsidplayfp is a C64 music player library which integrates + the reSID SID chip emulation into a cycle-based emulator + environment, constantly aiming to improve emulation of the + C64 system and the SID chips. + + https://github.com/libsidplayfp/libsidplayfp + +comment "libsidplayfp needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPPpackage/libsidplayfp/libsidplayfp.hash new file +2
-0@@ -0,0 +1,3 @@ +# Locally computed +sha256
7c6ab283fda53d34973fa266fc3809e16964dd8ccb7edcc11516ef5e3f66b3cdlibsidplayfp-2.15.2.tar.gz +sha2568177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643COPYINGpackage/libsidplayfp/libsidplayfp.mk new file +8
-0@@ -0,0 +1,20 @@ +################################################################################ +# +# libsidplayfp +# +################################################################################ + +LIBSIDPLAYFP_VERSION = 2.15.2 +LIBSIDPLAYFP_SITE =https://github.com/libsidplayfp/libsidplayfp/releases/download/v$(LIBSIDPLAYFP_VERSION)
package/libsidplayfp/libsidplayfp.mk new file +12
-1+LIBSIDPLAYFP_LICENSE = GPL-2.0+ +LIBSIDPLAYFP_LICENSE_FILES = COPYING +LIBSIDPLAYFP_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +LIBSIDPLAYFP_CONF_OPTS += --with-gcrypt +LIBSIDPLAYFP_DEPENDENCIES += libgcrypt +else +LIBSIDPLAYFP_CONF_OPTS += --without-gcrypt +endif + +$(eval $(autotools-package)) --
Quoted 1 line
2.47.3
Kind regards,
Andreas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot