Port details
libchdr Standalone library for reading MAME CHDv1-v5 formats
0.3.0 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.3.0Version of this port present on the latest quarterly branch.
Maintainer: bsdcode@disroot.org search for ports maintained by this maintainer
Port Added: 2024-11-14 08:49:21
Last Update: 2026-04-27 00:01:09
Commit Hash: 7bcd265
License: BSD3CLAUSE
WWW:
https://github.com/rtissera/libchdr
Description: #
libchdr is a standalone library for reading MAME's CHDv1-v5 formats. The code is based off of MAME's old C codebase which read up to CHDv4 with OS-dependent features removed, and CHDv5 support backported from MAME's current C++ codebase.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libchdr-0.3.0/catalog.mk
  3. /usr/local/share/licenses/libchdr-0.3.0/LICENSE
  4. /usr/local/share/licenses/libchdr-0.3.0/BSD3CLAUSE
  5. include/libchdr/bitstream.h
  6. include/libchdr/cdrom.h
  7. include/libchdr/chd.h
  8. include/libchdr/chdconfig.h
  9. include/libchdr/coretypes.h
  10. include/libchdr/flac.h
  11. include/libchdr/huffman.h
  12. include/libchdr/macros.h
  13. lib/libchdr-static.a
  14. lib/libchdr.a
  15. lib/libchdr.so
  16. lib/libchdr.so.0
  17. lib/libchdr.so.0.3
  18. libdata/pkgconfig/libchdr.pc
  19. @owner
  20. @group
  21. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • libchdr>0:devel/libchdr
  • For LIB depends:
    • libchdr.so:devel/libchdr
To install the port: #
cd /usr/ports/devel/libchdr/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libchdr
  • pkg install libchdr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
  • pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . libchdr
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
PKGNAME: libchdr
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1777198085 SHA256 (rtissera-libchdr-v0.3.0_GH0.tar.gz) = 313f6bf5537e2494daa3daa8a931a2536fc4f2b8312c07e3c3d5324d2052fa20 SIZE (rtissera-libchdr-v0.3.0_GH0.tar.gz) = 520105

Packages (timestamps in pop-ups are UTC): #
libchdr
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.00.3.0-g202505220.3.0
FreeBSD:14:quarterly0.3.00.3.0-g202505220.3.0
FreeBSD:15:latest0.3.00.3.0n/ag20250522n/a
FreeBSD:15:quarterly0.3.00.3.0n/a-n/a
FreeBSD:16:latest CURRENT0.3.00.3.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies: #
  1. libzstd.so : archivers/zstd
This port is required by: #
for Libraries #
  1. emulators/Ymir
  2. emulators/ares
  3. emulators/flycast
  4. emulators/libretro-ppsspp
  5. emulators/ppsspp

Configuration Options: #
===> The following configuration options are available for libchdr-0.3.0: LTO=on: Use Link-Time Optimization ===> Use 'make config' to modify these settings
Options name: #
devel_libchdr
USES: #
cmake pathfix
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/rtissera/libchdr/tar.gz/v0.3.0?dummy=/
Collapse this list.

Number of commits found: 5 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.3.0
27 Apr 2026 00:01:09
commit hash: 7bcd265a390de8e92acac3b16cef3136cc6c8efdcommit hash: 7bcd265a390de8e92acac3b16cef3136cc6c8efdcommit hash: 7bcd265a390de8e92acac3b16cef3136cc6c8efdcommit hash: 7bcd265a390de8e92acac3b16cef3136cc6c8efd files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Stefan Schlosser
devel/libchdr: update to 0.3.0

* This is the first formally tagged release version. The port can switch
  to using release tags instead of commit hashes.

* Replace hardcoded SOVERSION in pkg-plist with the DISTVERSION-derived
  value.

Changelog: https://github.com/rtissera/libchdr/releases/tag/v0.3.0

PR:		294810
Event:		Wiesbaden Hackathon 202604
g20260310
29 Mar 2026 19:47:10
commit hash: c2f3f9b05a33082dbc1fde1c6439ead38d999004commit hash: c2f3f9b05a33082dbc1fde1c6439ead38d999004commit hash: c2f3f9b05a33082dbc1fde1c6439ead38d999004commit hash: c2f3f9b05a33082dbc1fde1c6439ead38d999004 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
Author: Stefan Schlosser
devel/libchdr: Update to g20260310

* Use short hash for GH_TAGNAME. This follows the Porter's Handbook more
  closely.
* Split Github variables into separate section for improved readability.
* Add option LTO, enabled by default. This replaces enabling LTO via the
  WITH_LTO variable. Having an LTO port option is more commonly used in
  the ports tree.
* Replace zlib with miniz in EXTRACT_AFTER_ARGS because upstream has
  switched to a leaner implementation for the vendored zlib.
  Also safeguard every --exclude entry to match the intended path only
  and place them on a separate line for improved readability.

Changelog: https://github.com/rtissera/libchdr/compare/40f96ee...7715de1

PR:		294074
g20250522
22 May 2025 13:24:24
commit hash: 679ce02a08c1c9fbbb702d63b0fd3b039f36c73ecommit hash: 679ce02a08c1c9fbbb702d63b0fd3b039f36c73ecommit hash: 679ce02a08c1c9fbbb702d63b0fd3b039f36c73ecommit hash: 679ce02a08c1c9fbbb702d63b0fd3b039f36c73e files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Stefan Schlosser
devel/libchdr: Update g20241211 => g20250522

Commit log:
https://github.com/rtissera/libchdr/compare/cb07733..40f96ee

* cosmetic non-functional changes to CMAKE_ON

PR:	286992
g20241211
10 Mar 2025 21:27:52
commit hash: 0d80095e2152b601a8feeffc813c1d7957d53250commit hash: 0d80095e2152b601a8feeffc813c1d7957d53250commit hash: 0d80095e2152b601a8feeffc813c1d7957d53250commit hash: 0d80095e2152b601a8feeffc813c1d7957d53250 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
Author: Stefan Schlosser
devel/libchdr: Update to g20241211

* remove USES=pkgconfig and ZSTD related patch after fixing .cmake
  module for archivers/zstd on i386
* exclude unbundled dependencies from extraction by setting
  EXTRACT_AFTER_ARGS

Changelog: https://github.com/rtissera/libchdr/compare/b397465..cb07733

PR:		283651
g20241111
14 Nov 2024 08:43:26
commit hash: c66fa584263efe3b13cf9d2dee1a5c97448c4a26commit hash: c66fa584263efe3b13cf9d2dee1a5c97448c4a26commit hash: c66fa584263efe3b13cf9d2dee1a5c97448c4a26commit hash: c66fa584263efe3b13cf9d2dee1a5c97448c4a26 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Stefan Schlosser
devel/libchdr: New port: Standalone library for reading MAME CHDv1-v5 formats

libchdr is a standalone library for reading MAME's CHDv1-v5 formats.

The code is based off of MAME's old C codebase which read up to CHDv4 with
OS-dependent features removed, and CHDv5 support backported from MAME's current
C++ codebase.

WWW: https://github.com/rtissera/libchdr

PR:		282692

Number of commits found: 5