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

Search

Install

Install this version:

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

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

autounmask =media-plugins/deadbeef-vgmstream-9999

Or alternatively:

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

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
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

DESCRIPTION="A DeaDBeeF plugin for playing streaming video game music using vgmstream"
HOMEPAGE="https://github.com/jchv/deadbeef-vgmstream"
EGIT_REPO_URI="https://github.com/jchv/${PN}.git"

LICENSE="vgmstream"
SLOT="0"

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

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

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
}

Inherited Eclasses

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