summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 16:43:02 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:53:38 +0100
commit43a817a651aa722c2181fb6ca1191bcef35de143 (patch)
tree9a07f168904aafa55dc820db05e5fb56e486257d /media-libs/libao
parentdev-libs/maloc: drop no-op USE=static-libs (diff)
downloadgentoo-43a817a651aa722c2181fb6ca1191bcef35de143.tar.gz
gentoo-43a817a651aa722c2181fb6ca1191bcef35de143.tar.bz2
gentoo-43a817a651aa722c2181fb6ca1191bcef35de143.zip
media-libs/libao: drop no-op USE=static-libs, libtool.eclass--
We add --disable-static just to be sure though. We were already unconditionally deleting both .la and .a, so the USE flag did nothing. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libao')
-rw-r--r--media-libs/libao/libao-1.2.2-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-libs/libao/libao-1.2.2-r1.ebuild b/media-libs/libao/libao-1.2.2-r1.ebuild
index 587e006037fd..dda461774e57 100644
--- a/media-libs/libao/libao-1.2.2-r1.ebuild
+++ b/media-libs/libao/libao-1.2.2-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools libtool multilib multilib-minimal
+inherit autotools multilib multilib-minimal
DESCRIPTION="The Audio Output library"
HOMEPAGE="https://www.xiph.org/ao/"
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/xiph/libao/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="alsa nas mmap pulseaudio static-libs"
+IUSE="alsa nas mmap pulseaudio"
RDEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
@@ -38,11 +38,11 @@ multilib_src_configure() {
local myeconfargs=(
--disable-arts
--disable-esd
+ --disable-static
$(use_enable alsa alsa)
$(use_enable mmap alsa-mmap)
$(use_enable nas)
$(use_enable pulseaudio pulse)
- $(use_enable static-libs static)
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
@@ -53,5 +53,6 @@ multilib_src_install() {
multilib_src_install_all() {
dodoc AUTHORS CHANGES README TODO
+
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
}