diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
commit | 81b8f20732954c4508baf2f77472b5435e3f851f (patch) | |
tree | 4180177cb7ba85eab50159ce96218c2419fb24a6 /media-libs/libfishsound/libfishsound-1.0.0-r1.ebuild | |
parent | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff) |
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'media-libs/libfishsound/libfishsound-1.0.0-r1.ebuild')
-rw-r--r-- | media-libs/libfishsound/libfishsound-1.0.0-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/libfishsound/libfishsound-1.0.0-r1.ebuild b/media-libs/libfishsound/libfishsound-1.0.0-r1.ebuild new file mode 100644 index 000000000000..ab35ecbfcc2e --- /dev/null +++ b/media-libs/libfishsound/libfishsound-1.0.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +# bug #395153 +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${P}-pc.patch ) + +src_prepare() { + default + sed -i \ + -e 's:doxygen:doxygen-dummy:' \ + configure || die +} + +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 +} |