Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/next 1/2] package/libsidplayfp: new package
@ 2025-12-05 19:30 Bernd Kuhls
  2025-12-05 19:30 ` [Buildroot] [PATCH/next 2/2] package/mpd: switch from libsidplay2 to libsidplayfp Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bernd Kuhls @ 2025-12-05 19:30 UTC (permalink / raw)
  To: buildroot; +Cc: Andreas Ziegler, Thomas Petazzoni

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 92b72194e3..1c80b779fc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libsidplayfp/Config.in b/package/libsidplayfp/Config.in
new file mode 100644
index 0000000000..43841173b1
--- /dev/null
+++ b/package/libsidplayfp/Config.in
@@ -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
diff --git a/package/libsidplayfp/libsidplayfp.hash b/package/libsidplayfp/libsidplayfp.hash
new file mode 100644
index 0000000000..880c31ee28
--- /dev/null
+++ b/package/libsidplayfp/libsidplayfp.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  7c6ab283fda53d34973fa266fc3809e16964dd8ccb7edcc11516ef5e3f66b3cd  libsidplayfp-2.15.2.tar.gz
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/libsidplayfp/libsidplayfp.mk b/package/libsidplayfp/libsidplayfp.mk
new file mode 100644
index 0000000000..3aeeb19013
--- /dev/null
+++ b/package/libsidplayfp/libsidplayfp.mk
@@ -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))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-06  5:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 19:30 [Buildroot] [PATCH/next 1/2] package/libsidplayfp: new package Bernd Kuhls
2025-12-05 19:30 ` [Buildroot] [PATCH/next 2/2] package/mpd: switch from libsidplay2 to libsidplayfp Bernd Kuhls
2025-12-06  4:51   ` Andreas Ziegler
2025-12-05 19:35 ` [Buildroot] [PATCH/next 1/2] package/libsidplayfp: new package Thomas Petazzoni via buildroot
2025-12-06  5:18 ` Andreas Ziegler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox