git: 4f3ec6c4361a - main - audio/libresidfp: New port: Software emulation of MOS6581/8580 SID chip
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jun 2026 21:09:14 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f3ec6c4361adf0cc5c2cc1e77630c2601fd11fd
commit 4f3ec6c4361adf0cc5c2cc1e77630c2601fd11fd
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-06-12 19:35:43 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-06-12 21:08:50 +0000
audio/libresidfp: New port: Software emulation of MOS6581/8580 SID chip
Fork of Dag Lem's reSID 0.16 which is a reverse engineered software
emulation meant to replicate the SID as faithfully as possible while
keeping good performance for realtime use
---
audio/Makefile | 1 +
audio/libresidfp/Makefile | 24 ++++++++++++++++++++++++
audio/libresidfp/distinfo | 3 +++
audio/libresidfp/pkg-descr | 4 ++++
audio/libresidfp/pkg-plist | 7 +++++++
5 files changed, 39 insertions(+)
diff --git a/audio/Makefile b/audio/Makefile
index 1a789f3e7aa6..3f1142115da9 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -383,6 +383,7 @@
SUBDIR += libopenshot-audio
SUBDIR += libopusenc
SUBDIR += libremidi
+ SUBDIR += libresidfp
SUBDIR += libsamplerate
SUBDIR += libshout
SUBDIR += libsidplay
diff --git a/audio/libresidfp/Makefile b/audio/libresidfp/Makefile
new file mode 100644
index 000000000000..2dfe936c698b
--- /dev/null
+++ b/audio/libresidfp/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= libresidfp
+DISTVERSION= 1.0.2
+CATEGORIES= audio
+MASTER_SITES= https://github.com/libsidplayfp/${PORTNAME}/releases/download/v${DISTVERSION}/
+
+MAINTAINER= multimedia@FreeBSD.org
+COMMENT= Reverse engineered software emulation of MOS6581/8580 SID chip
+WWW= https://github.com/libsidplayfp/libresidfp
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= compiler:c++23-lang libtool pathfix
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
+INSTALL_TARGET= install-strip
+TEST_TARGET= check
+
+CONFIGURE_ENV= ac_cv_prog_HAVE_DOXYGEN=false
+CONFIGURE_ARGS= --disable-static
+
+.include <bsd.port.mk>
diff --git a/audio/libresidfp/distinfo b/audio/libresidfp/distinfo
new file mode 100644
index 000000000000..23b0bd0b15e0
--- /dev/null
+++ b/audio/libresidfp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1780835749
+SHA256 (libresidfp-1.0.2.tar.gz) = 168cbdef81835837a6eacba1ed513169b1c36792206428287ae9ea498d5dd3c0
+SIZE (libresidfp-1.0.2.tar.gz) = 533485
diff --git a/audio/libresidfp/pkg-descr b/audio/libresidfp/pkg-descr
new file mode 100644
index 000000000000..06226c515e53
--- /dev/null
+++ b/audio/libresidfp/pkg-descr
@@ -0,0 +1,4 @@
+(lib)reSIDfp is a fork of Dag Lem's reSID 0.16 which is meant to replicate
+the SID as faithfully as possible while keeping good performance for
+realtime use. It is not intended to expose the chip internal state or
+adding fancy effects. Both the 6581 and the 8580 models are emulated.
diff --git a/audio/libresidfp/pkg-plist b/audio/libresidfp/pkg-plist
new file mode 100644
index 000000000000..a64f2d1a882d
--- /dev/null
+++ b/audio/libresidfp/pkg-plist
@@ -0,0 +1,7 @@
+include/residfp/residfp.h
+include/residfp/residfp_defs.h
+include/residfp/sidversion.h
+lib/libresidfp.so
+lib/libresidfp.so.0
+lib/libresidfp.so.0.0.3
+libdata/pkgconfig/libresidfp.pc