From afb2bcf65c887a60e67f08e46e031f0572a7cede Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 7 Oct 2019 17:37:39 +0200 Subject: [PATCH] app-accessibility/speech-dispatcher: disable static libraries Closes: https://bugs.gentoo.org/696890 Closes: https://github.com/gentoo/gentoo/pull/13199 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Alessandro Barbieri Signed-off-by: David Seifert --- ...her-0.8.7.ebuild => speech-dispatcher-0.8.7-r2.ebuild} | 4 ++-- ...-0.8.7-r1.ebuild => speech-dispatcher-0.8.7-r3.ebuild} | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) rename app-accessibility/speech-dispatcher/{speech-dispatcher-0.8.7.ebuild => speech-dispatcher-0.8.7-r2.ebuild} (96%) rename app-accessibility/speech-dispatcher/{speech-dispatcher-0.8.7-r1.ebuild => speech-dispatcher-0.8.7-r3.ebuild} (95%) diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r2.ebuild similarity index 96% rename from app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild rename to app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r2.ebuild index 09dbe1a312e6..bb3f73c4ceee 100644 --- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild +++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="alsa ao +espeak flite nas pulseaudio python static-libs" +IUSE="alsa ao +espeak flite nas pulseaudio python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" @@ -41,7 +41,7 @@ src_configure() { local myeconfargs=( --disable-python - $(use_enable static-libs static) + --disable-static $(use_with alsa) $(use_with ao libao) $(use_with espeak) diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r3.ebuild similarity index 95% rename from app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r1.ebuild rename to app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r3.ebuild index 44d74058468a..62fb7fc04843 100644 --- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r1.ebuild +++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="alsa ao +espeak flite nas pulseaudio python static-libs" +IUSE="alsa ao +espeak flite nas pulseaudio python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" @@ -41,7 +41,7 @@ src_configure() { local myeconfargs=( --disable-python - $(use_enable static-libs static) + --disable-static $(use_with alsa) $(use_with ao libao) $(use_with espeak) @@ -72,8 +72,6 @@ src_install() { emake DESTDIR="${D}" install dodoc ANNOUNCE AUTHORS BUGS FAQ NEWS README* - prune_libtool_files --all - if use python; then installation() { cd src/api/python || die @@ -86,6 +84,8 @@ src_install() { python_foreach_impl run_in_build_dir installation python_replicate_script "${ED}"/usr/bin/spd-conf fi + + find "${D}" -name '*.la' -delete || die } pkg_postinst() { -- 2.26.2