diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-01-12 13:37:56 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-01-12 16:07:17 +0100 |
commit | 5eb6d59158fc7624e2f3575c111b893d4f8d1c48 (patch) | |
tree | 9731d032f30173a90c1f4189502b6f07fd6441d3 /media-libs/libxtract | |
parent | www-apps/cvsweb: Port to EAPI 8 (diff) | |
download | gentoo-5eb6d59158fc7624e2f3575c111b893d4f8d1c48.tar.gz gentoo-5eb6d59158fc7624e2f3575c111b893d4f8d1c48.tar.bz2 gentoo-5eb6d59158fc7624e2f3575c111b893d4f8d1c48.zip |
media-libs/libxtract: Port to EAPI 8
Closes: https://bugs.gentoo.org/828718
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-libs/libxtract')
-rw-r--r-- | media-libs/libxtract/libxtract-0.6.6.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/media-libs/libxtract/libxtract-0.6.6.ebuild b/media-libs/libxtract/libxtract-0.6.6.ebuild index b3d815fbc397..2776aeba9849 100644 --- a/media-libs/libxtract/libxtract-0.6.6.ebuild +++ b/media-libs/libxtract/libxtract-0.6.6.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 DESCRIPTION="A simple, portable, lightweight library of audio feature extraction functions" HOMEPAGE="https://github.com/jamiebullock/LibXtract" @@ -10,23 +10,24 @@ SRC_URI="https://github.com/downloads/jamiebullock/LibXtract/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ppc64 x86" -IUSE="doc fftw static-libs" +IUSE="doc fftw" RDEPEND="fftw? ( sci-libs/fftw:3.0 )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen )" src_configure() { econf \ $(use_enable fftw fft) \ - $(use_enable static-libs static) # Prevent doc from being generated automagically - use doc || touch doc/doxygen-build.stamp + if ! use doc; then + touch doc/doxygen-build.stamp || die + fi } src_install() { emake DESTDIR="${D}" install - find "${ED}" -name "*.la" -delete + find "${ED}" -name "*.la" -delete || die dodoc README.md TODO AUTHORS - use doc && dohtml doc/html/* + use doc && dodoc -r doc/html/. } |