summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-28 17:37:10 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-28 17:37:10 +0200
commitc3d242fd5155ed928bf643d26fbbb283b5b89d3d (patch)
tree83c5fbd3296615f74ab0984660baafa192d0ace6 /media-libs/opus
parentmedia-libs/opus: fix libdir in installed M4 macro (diff)
downloadgentoo-c3d242fd5155ed928bf643d26fbbb283b5b89d3d.tar.gz
gentoo-c3d242fd5155ed928bf643d26fbbb283b5b89d3d.tar.bz2
gentoo-c3d242fd5155ed928bf643d26fbbb283b5b89d3d.zip
media-libs/opus: minor style changes
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/opus')
-rw-r--r--media-libs/opus/opus-1.3.1-r1.ebuild3
-rw-r--r--media-libs/opus/opus-1.3.1-r2.ebuild10
2 files changed, 8 insertions, 5 deletions
diff --git a/media-libs/opus/opus-1.3.1-r1.ebuild b/media-libs/opus/opus-1.3.1-r1.ebuild
index 4386d0bab3ae..9f336ce55ee1 100644
--- a/media-libs/opus/opus-1.3.1-r1.ebuild
+++ b/media-libs/opus/opus-1.3.1-r1.ebuild
@@ -27,6 +27,7 @@ multilib_src_configure() {
$(use_enable static-libs static)
)
+ local i
for i in ${INTRINSIC_FLAGS} ; do
use ${i} && myeconfargs+=( --enable-intrinsics )
done
@@ -39,6 +40,6 @@ multilib_src_configure() {
}
multilib_src_install_all() {
- default
+ einstalldocs
find "${ED}" -name "*.la" -delete || die
}
diff --git a/media-libs/opus/opus-1.3.1-r2.ebuild b/media-libs/opus/opus-1.3.1-r2.ebuild
index ce65edada363..137c39a1d91e 100644
--- a/media-libs/opus/opus-1.3.1-r2.ebuild
+++ b/media-libs/opus/opus-1.3.1-r2.ebuild
@@ -15,10 +15,12 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
INTRINSIC_FLAGS="cpu_flags_x86_sse cpu_flags_arm_neon"
IUSE="custom-modes doc static-libs ${INTRINSIC_FLAGS}"
-BDEPEND="doc? (
+BDEPEND="
+ doc? (
app-doc/doxygen
media-gfx/graphviz
- )"
+ )
+"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.1-libdir-macro.patch
@@ -40,13 +42,13 @@ multilib_src_configure() {
done || myeconfargs+=( --disable-intrinsics )
if is-flagq -ffast-math || is-flagq -Ofast; then
- myeconfargs+=( "--enable-float-approx" )
+ myeconfargs+=( --enable-float-approx )
fi
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_install_all() {
- default
+ einstalldocs
find "${ED}" -name "*.la" -delete || die
}