media-libs/libfishsound - 1.0.1-r1 (gentoo)

Search

Install

Install this version:

emerge -a =media-libs/libfishsound-1.0.1-r1

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

autounmask =media-libs/libfishsound-1.0.1-r1

Or alternatively:

emerge --autounmask-write -a =media-libs/libfishsound-1.0.1-r1

Package Information

Description:
Simple programming interface to decode and encode audio with vorbis or speex
Homepage:
https://www.xiph.org/fishsound/
License:
BSD

Ebuild Details

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

EAPI=8

inherit autotools

DESCRIPTION="Simple programming interface to decode and encode audio with vorbis or speex"
HOMEPAGE="https://www.xiph.org/fishsound/"
SRC_URI="https://downloads.xiph.org/releases/libfishsound/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="flac speex"

RDEPEND="
	media-libs/libogg
	media-libs/libvorbis
	flac? ( media-libs/flac:= )
	speex? ( media-libs/speex )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

PATCHES=( "${FILESDIR}/${P}-disable-docs.patch" )

src_prepare() {
	default

	eautoreconf
}

src_configure() {
	local myconf="--disable-static"
	use flac || myconf="${myconf} --disable-flac"
	use speex || myconf="${myconf} --disable-speex"

	econf ${myconf}
}

src_install() {
	emake DESTDIR="${D}" \
		docdir="${D}/usr/share/doc/${PF}" install
	dodoc AUTHORS ChangeLog README
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-libs/libfishsound | euse -E <flag> -p media-libs/libfishsound | euse -D <flag> -p media-libs/libfishsound

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	media-libs/libogg
	media-libs/libvorbis
	flac? ( media-libs/flac:= )
	speex? ( media-libs/speex )

RDEPEND

	media-libs/libogg
	media-libs/libvorbis
	flac? ( media-libs/flac:= )
	speex? ( media-libs/speex )

BDEPEND

virtual/pkgconfig