Skip to content

Commit

Permalink
audio/libsidplayfp: Update to 2.0.5
Browse files Browse the repository at this point in the history
- Update to 2.0.5
- Adjust dependencies

And while I'm here, also do style cleanup.

Changelog:
- libsidplayfp-2.0.5:
  * Fixed CIA SDR handling, code borrowed from Denise emulator
  * Fixed external filter coefficients calculation in resid/residfp
  * Update osc3 on waveform zero in resid/residfp

- libsidplayfp-2.0.4:
  * Further improved CPU/CIA/VICII emulation based on VICE testprogs (bug #27)
  * Fixed an envelope generator regression in resid/residfp (bug #31)
  * Improved noise+pulse interaction in resid/residfp (bug #28)

- libsidplayfp-2.0.3:
  * Avoid saturation of residfp 8580 filter
  * Fix some UBSan warnings

- libsidplayfp-2.0.2:
  * Adjusted residfp 6581 filter parameter range (bug #30)
  * Recalculate noise output when actually changed in residfp

- libsidplayfp-2.0.1:
  * Fix loading stereo mus tunes
  * Fix residfp envelope (bug #29)
  * Minor interrupt timing tweaks
  * Dirty hack to reduce overloading in 8580 filter (bug #29)

- libsidplayfp-2.0.0:
  * Make digiboost work with resid
  * Fixed some initialization order warnings

- libsidplayfp-2.0.0rc:
  * Make MUS loading more robust to malformed files
  * Minor interrupt timing fixes
  * Reworked SidDatabase API
  * Fix hang on exit

- libsidplayfp-2.0.0beta2:
  * CIA model is now configurable
  * Added digiboost support
  * Added support for milliseconds in SLDB
  * Improved 8580 filter
  * CIA and SID fixes ported from VICE
  * Added MOS 6573 (PAL-M) emulation
  * Other minor fixes and code cleanup

- libsidplayfp-2.0.0beta:
  * Dropped deprecated functions

- libsidplayfp-2.0.0alpha4:
  * Dropped old 8580 filter implementation
  * Correctly clock oscillators in silent mode
  * Interrupt playback on invalid opcode execution
  * Minor envelope and noise writeback fixes in reSIDfp

- libsidplayfp-2.0.0alpha3:
  * Improved experimental 8580 filter emulation, now enabled by default

- libsidplayfp-2.0.0alpha2:
  * Reworked reSIDfp envelope generator based on analysis of chip die and transistor level emulation
  * Added new experimental 8580 filter emulation in reSIDfp
  * Fixed out of range tune selection
  * Other minor fixes and code cleanup

- libsidplayfp-2.0.0alpha1:
  * Cleaned up directory structure
  * Use c++11 features where supported
  * Added exSID USB support
  * Improved SID emulation
  * Do not use kernal calls in psid driver
  - Known bugs/limitations:
     * mus data embedded in psid file is not supported
     * hardsid support is untested and possibly broken

- libsidplayfp-1.8.8:
  * Fix misspelling in error message (bug #26)
  * Correctly clock oscillators in silent mode
  * CIA timing fixes
  * Allow running VICE tests

- libsidplayfp-1.8.7
  * Fix out of range tune selection
  * Reenable accidentally broken branch hints in residfp
  * Minor fix in VIC-II code ported from VICE

PR:		251305
Submitted by:	Daniel Engberg
Reviewed by:	osa (mentor)
Approved by:	osa (mentor)
Differential Revision:	https://reviews.freebsd.org/D27687
  • Loading branch information
jurajlutter committed Dec 20, 2020
1 parent ef485e8 commit c92444a
Show file tree
Hide file tree
Showing 4 changed files with 1,228 additions and 47 deletions.
53 changes: 24 additions & 29 deletions audio/libsidplayfp/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= libsidplayfp
PORTVERSION= 1.8.6
PORTVERSION= 2.0.5
CATEGORIES= audio
MASTER_SITES= SF/sidplay-residfp/libsidplayfp/${PORTVERSION:R}

Expand All @@ -11,38 +11,36 @@ COMMENT= Library to play Commodore 64 music derived from libsidplay2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING

USES= gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
BUILD_DEPENDS= libgcrypt-config:security/libgcrypt
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error

USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-exsid=no \
--with-gcrypt

INSTALL_TARGET= install-strip

PLIST_SUB+= SIDPLAYFP_SHLIB_VER=${SIDPLAYFP_SHLIB_VERSION:C/\.[[:digit:].]+//} \
SIDPLAYFP_SHLIB_VERSION=${SIDPLAYFP_SHLIB_VERSION} \
STILVIEW_SHLIB_VER=${STILVIEW_SHLIB_VERSION:C/\.[[:digit:].]+//} \
STILVIEW_SHLIB_VERSION=${STILVIEW_SHLIB_VERSION}

PORTDOCS= NEWS README TODO

OPTIONS_DEFINE= DEBUG DOCS DOXYGEN
OPTIONS_SUB= yes

DEBUG_CONFIGURE_ON= --enable-debug=full
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen

OPTIONS_GROUP= OPTIMIZATION
OPTIONS_GROUP_OPTIMIZATION= BHINTS INLINE MMX
OPTIONS_DEFAULT= BHINTS INLINE

OPTIMIZATION_DESC= Increase performance by optimization
BHINTS_DESC= Enable branch hints in reSID engine
BHINTS_CONFIGURE_ENABLE= branch-hints
INLINE_DESC= Enable inlining in reSID engine at bigger code size
INLINE_CONFIGURE_ENABLE= inline
MMX_DESC= Enable MMX code in reSIDfp for old x86 non-SSE2 CPU
MMX_CONFIGURE_ENABLE= mmx

BUILD_DEPENDS+= xa65:devel/xa65

SIDPLAYFP_SHLIB_VERSION= 4.2.7
STILVIEW_SHLIB_VERSION= 0.0.3
PLIST_SUB+= \
SIDPLAYFP_SHLIB_VER=${SIDPLAYFP_SHLIB_VERSION:C/\.[[:digit:].]+//} \
SIDPLAYFP_SHLIB_VERSION=${SIDPLAYFP_SHLIB_VERSION} \
STILVIEW_SHLIB_VER=${STILVIEW_SHLIB_VERSION:C/\.[[:digit:].]+//} \
STILVIEW_SHLIB_VERSION=${STILVIEW_SHLIB_VERSION}

DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN=false

SIDPLAYFP_SHLIB_VERSION= 5.2.15
STILVIEW_SHLIB_VERSION= 0.0.4

post-build-DOXYGEN-on:
${MAKE_CMD} doc -C ${WRKSRC}
Expand All @@ -54,8 +52,5 @@ post-install-DOCS-on:
post-install-DOXYGEN-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html
@${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \
${SED} 's|${STAGEDIR}${PREFIX}/||' > ${WRKDIR}/PLIST.doc
@${SED} -i -e '/PLIST.doc/ r ${WRKDIR}/PLIST.doc' ${TMPPLIST}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions audio/libsidplayfp/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1464016730
SHA256 (libsidplayfp-1.8.6.tar.gz) = dcf2da21d4bbb6acc79c1da5809fdafc643f1082c5191640763533809bdbf153
SIZE (libsidplayfp-1.8.6.tar.gz) = 671485
TIMESTAMP = 1605953222
SHA256 (libsidplayfp-2.0.5.tar.gz) = e0a70c898e318bcb915f0e73aa3559e0402588b8ed1959734e3df90267ce6d13
SIZE (libsidplayfp-2.0.5.tar.gz) = 805133
13 changes: 0 additions & 13 deletions audio/libsidplayfp/files/patch-Makefile.in

This file was deleted.

Loading

0 comments on commit c92444a

Please sign in to comment.