commit:     afb2bcf65c887a60e67f08e46e031f0572a7cede
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Oct  7 15:37:39 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 11:47:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb2bcf6

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 <lssndrbarbieri <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...-dispatcher-0.8.7.ebuild => speech-dispatcher-0.8.7-r2.ebuild} | 4 ++--
 ...spatcher-0.8.7-r1.ebuild => speech-dispatcher-0.8.7-r3.ebuild} | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

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 09dbe1a312e..bb3f73c4cee 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 44d74058468..62fb7fc0484 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() {

Reply via email to