Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/dcadec/
Date: Fri, 09 Sep 2022 07:59:46
Message-Id: 1662710357.a643032bc13beea96456815a82d9fedb08a41354.soap@gentoo
1 commit: a643032bc13beea96456815a82d9fedb08a41354
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 07:59:17 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 07:59:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a643032b
7
8 media-sound/dcadec: drop multilib
9
10 No multilib reverse dependencies.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 ...{dcadec-0.2.0.ebuild => dcadec-0.2.0-r1.ebuild} | 24 ++++++++--------------
16 1 file changed, 8 insertions(+), 16 deletions(-)
17
18 diff --git a/media-sound/dcadec/dcadec-0.2.0.ebuild b/media-sound/dcadec/dcadec-0.2.0-r1.ebuild
19 similarity index 64%
20 rename from media-sound/dcadec/dcadec-0.2.0.ebuild
21 rename to media-sound/dcadec/dcadec-0.2.0-r1.ebuild
22 index 68303aac6077..25cacefab500 100644
23 --- a/media-sound/dcadec/dcadec-0.2.0.ebuild
24 +++ b/media-sound/dcadec/dcadec-0.2.0-r1.ebuild
25 @@ -1,9 +1,9 @@
26 -# Copyright 1999-2020 Gentoo Authors
27 +# Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=7
31 +EAPI=8
32
33 -inherit toolchain-funcs multilib-minimal
34 +inherit toolchain-funcs
35
36 DESCRIPTION="DTS Coherent Acoustics decoder with support for HD extensions"
37 HOMEPAGE="https://github.com/foo86/dcadec"
38 @@ -15,30 +15,22 @@ KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
39
40 PATCHES=( "${FILESDIR}"/${P}-respect-CFLAGS.patch )
41
42 -multilib_src_configure() {
43 +src_configure() {
44 tc-export AR CC
45
46 # Build shared libs
47 echo 'CONFIG_SHARED=1' >> .config || die
48 }
49
50 -multilib_src_compile() {
51 - local target=all
52 - multilib_is_native_abi || target=lib
53 -
54 +src_compile() {
55 PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
56 - emake -f "${S}"/Makefile ${target}
57 + emake -f "${S}"/Makefile all
58 }
59
60 -multilib_src_install() {
61 - local target=install
62 - multilib_is_native_abi || target=install-lib
63 -
64 +src_install() {
65 PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
66 - emake -f "${S}"/Makefile DESTDIR="${D}" ${target}
67 -}
68 + emake -f "${S}"/Makefile DESTDIR="${D}" install
69
70 -multilib_src_install_all() {
71 # Rename the executable since it conflicts with libdca.
72 mv "${ED}"/usr/bin/dcadec{,-new} || die