# 使用 Homebrew, apk, MacPorts, zypper 安装 libxspf

查看 libxspf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:libxspf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libxspf
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxspf
```

  证据: MacPorts ports tree: devel/libxspf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libxspf
```

  证据: Alpine Linux edge package indexes: libxspf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install libxspf-devel
```

  证据: openSUSE Tumbleweed package metadata: libxspf-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libxspf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libxspf>
- **版本:** 1.2.1
- **来源摘要:** C++ library for XSPF playlist reading and writing
- **主页:** <https://libspiff.sourceforge.net/>
- **上游文档:** <https://libspiff.sourceforge.net/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://downloads.sourceforge.net/project/libspiff/Sources/1.2.1/libxspf-1.2.1.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- xspf_check (cli)
- xspf_strip (cli)
- xspf_check (别名)
- xspf_strip (别名)

## 依赖

- uriparser

## 构建依赖

- cpptest
- pkgconf

## macOS 提供的库

- expat

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.1
- 本地数据: OK
- 上游仓库: https://libspiff.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

libxspf is a small Xiph.Org C++ library for reading and writing XSPF playlists, the XML Shareable Playlist Format pronounced spiff.

### 项目历史

XSPF was standardized as an open XML playlist format under the Xiph.Org umbrella. The specification describes a format intended to avoid every music player inventing its own XML playlist vocabulary.

The library was first developed as libSpiff and reached 1.0.0 on September 21, 2008. On February 21, 2009, the 1.1.0 release renamed libSpiff to libxspf, added a pkg-config file, and reorganized the Autotools build.

### 采用历史

libxspf served the practical side of XSPF adoption: it gave media applications a parser, writer, C bindings, examples, and validation-oriented command-line tools for XSPF versions 0 and 1. Its releases mostly track ABI, build-system, compiler, and documentation polish rather than a broad application platform.

### 使用方式

The project README presents libxspf as an integration library for applications that need to read or write XSPF playlist files. The generated documentation walks through reading playlists and receiving playlist and track callbacks, while the Homebrew package exposes xspf_check and xspf_strip for validation and cleanup workflows.

### 为什么软件包爱好者会关心

libxspf is niche, but it is a classic package-manager fossil from the XML media-format era: a small C++ library built around Expat, uriparser, pkg-config, Doxygen docs, and a named open format from Xiph rather than a player-specific playlist file.

### 时间线

- 2005-01: XSPF Version 1 was published by the Playlist Ad-Hoc Group under the Xiph.Org XSPF site.
- 2008-09-21: libSpiff 1.0.0 was released.
- 2009-02-21: Version 1.1.0 renamed libSpiff to libxspf.
- 2009-03-07: Version 1.2.0 added xspf_parse_memory to the C bindings.
- 2021-05-29: Version 1.2.1 refreshed build-system compatibility and fixed compiler issues.

### Related projects

- XSPF is the format that libxspf implements. Xiph.Org hosts the project. Expat and uriparser are important dependencies in the library history, and libcpptest appears in its test-suite history.

### 来源

- <https://gitlab.xiph.org/xiph/libxspf/-/raw/master/ChangeLog>
- <https://gitlab.xiph.org/xiph/libxspf/-/raw/master/README>
- <https://libspiff.sourceforge.net/doc/html/>
- <https://www.xspf.org/spec>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libxspf
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- apk - libxspf - 1.2.1-r3: normalized package name match | Alpine Linux edge package indexes: libxspf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Brings XSPF playlist reading and writing support to C++ application | https://libspiff.sourceforge.net/
- apk - libxspf-dev - 1.2.1-r3: normalized package name match | Alpine Linux edge package indexes: libxspf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Brings XSPF playlist reading and writing support to C++ application (development files) | https://libspiff.sourceforge.net/
- zypper - libxspf-devel - 1.2.1-2.4: normalized package name match | openSUSE Tumbleweed package metadata: libxspf-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Brings XSPF playlist read and write support to C++ apps | http://libspiff.sourceforge.net/
- zypper - libxspf4 - 1.2.1-2.4: normalized package name match | openSUSE Tumbleweed package metadata: libxspf4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Provides XSPF playlist reading and writing support | http://libspiff.sourceforge.net/
- MacPorts - libxspf: normalized package name match | MacPorts ports tree: devel/libxspf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [uriparser](https://pkg.so/zh-hans/brew/uriparser/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [podofo](https://pkg.so/zh-hans/brew/podofo/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, media.
- [rubberband](https://pkg.so/zh-hans/brew/rubberband/) - Shares pkgdb curated category or tags: cli, library, media.
- [little-cms2](https://pkg.so/zh-hans/brew/little-cms2/) - Shares pkgdb curated category or tags: cli, library, media.
- [qpdf](https://pkg.so/zh-hans/brew/qpdf/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, media.
- [taglib](https://pkg.so/zh-hans/brew/taglib/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, media.
- [mp4v2](https://pkg.so/zh-hans/brew/mp4v2/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, media.
- [exact-image](https://pkg.so/zh-hans/brew/exact-image/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, media.
- [speech-tools](https://pkg.so/zh-hans/brew/speech-tools/) - Shares pkgdb curated category or tags: c-plus-plus, cli, library, media.
- [glbinding](https://pkg.so/zh-hans/brew/glbinding/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, library, media, plus.

## Combined YAML source

View the package source record on GitHub. [combined/libxspf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libxspf.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
