media-plugins/deadbeef-vgmstream - 2026.06.22 (stuff)

Search

Install

Install this version:

emerge -a =media-plugins/deadbeef-vgmstream-2026.06.22

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-plugins/deadbeef-vgmstream-2026.06.22

Or alternatively:

emerge --autounmask-write -a =media-plugins/deadbeef-vgmstream-2026.06.22

Package Information

Description:
A DeaDBeeF plugin for playing streaming video game music using vgmstream
Homepage:
https://github.com/jchv/deadbeef-vgmstream
License:
vgmstream

Ebuild Details

Version EAPI Keywords Slot
2026.06.22 8 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PV=${PV//./-}
VGMSTREAM_COMMIT="301d49bdd492aaa326e6411710ba7270c36795a9"

DESCRIPTION="A DeaDBeeF plugin for playing streaming video game music using vgmstream"
HOMEPAGE="https://github.com/jchv/deadbeef-vgmstream"
SRC_URI="
	https://github.com/jchv/deadbeef-vgmstream/archive/refs/tags/${MY_PV}.tar.gz
		-> ${P}.tar.gz
	https://github.com/vgmstream/vgmstream/archive/${VGMSTREAM_COMMIT}.tar.gz
		-> ${P}-vgmstream.tar.gz
"
S="${WORKDIR}/deadbeef-vgmstream-${MY_PV}"

LICENSE="vgmstream"
SLOT="0"
KEYWORDS="~arm64"

DEPEND_COMMON="
	media-sound/deadbeef
	media-libs/libvorbis
	media-sound/mpg123
	media-video/ffmpeg
"

RDEPEND="${DEPEND_COMMON}"
DEPEND="${DEPEND_COMMON}"

src_unpack() {
	default
	rm -rf "${S}/vgmstream" || die
	mv "${WORKDIR}/vgmstream-${VGMSTREAM_COMMIT}" "${S}/vgmstream" || die
}

src_prepare() {
	sed \
		-e "s|-I\$(DEADBEEF_ROOT)/include|-I/usr/include/deadbeef|" \
		-e "s|-I\$(DEADBEEF_ROOT)/lib|-I/usr/$(get_libdir)/deadbeef|" \
		-i Makefile || die "sed fail"
	default
}

src_compile() {
	# Bundled sources require -fPIC for the shared-object link. Verified 2026-07-06.
	emake CFLAGS="${CFLAGS} -fPIC"
}

src_install() {
	exeinto /usr/$(get_libdir)/deadbeef
	doexe vgm.so
}

Dependencies

DEPEND

	media-sound/deadbeef
	media-libs/libvorbis
	media-sound/mpg123
	media-video/ffmpeg

RDEPEND

	media-sound/deadbeef
	media-libs/libvorbis
	media-sound/mpg123
	media-video/ffmpeg

Manifest for 2026.06.22

Type File Size Source URLs
DIST deadbeef-vgmstream-2026.06.22-vgmstream.tar.gz 8632700 bytes https://github.com/vgmstream/vgmstream/archive/301d49bdd492aaa326e6411710ba7270c36795a9.tar.gz
DIST deadbeef-vgmstream-2026.06.22.tar.gz 216478 bytes https://github.com/jchv/deadbeef-vgmstream/archive/refs/tags/2026-06-22.tar.gz