summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-09 09:59:17 +0200
committerDavid Seifert <soap@gentoo.org>2022-09-09 09:59:17 +0200
commita643032bc13beea96456815a82d9fedb08a41354 (patch)
tree5d2cc3f9c0e0c4affe36db31b171b8e42e9e7c30 /media-sound/dcadec
parentmedia-libs/theoraplay: drop multilib (diff)
downloadgentoo-a643032bc13beea96456815a82d9fedb08a41354.tar.gz
gentoo-a643032bc13beea96456815a82d9fedb08a41354.tar.bz2
gentoo-a643032bc13beea96456815a82d9fedb08a41354.zip
media-sound/dcadec: drop multilib
No multilib reverse dependencies. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/dcadec')
-rw-r--r--media-sound/dcadec/dcadec-0.2.0-r1.ebuild (renamed from media-sound/dcadec/dcadec-0.2.0.ebuild)24
1 files changed, 8 insertions, 16 deletions
diff --git a/media-sound/dcadec/dcadec-0.2.0.ebuild b/media-sound/dcadec/dcadec-0.2.0-r1.ebuild
index 68303aac6077..25cacefab500 100644
--- a/media-sound/dcadec/dcadec-0.2.0.ebuild
+++ b/media-sound/dcadec/dcadec-0.2.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit toolchain-funcs multilib-minimal
+inherit toolchain-funcs
DESCRIPTION="DTS Coherent Acoustics decoder with support for HD extensions"
HOMEPAGE="https://github.com/foo86/dcadec"
@@ -15,30 +15,22 @@ KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
PATCHES=( "${FILESDIR}"/${P}-respect-CFLAGS.patch )
-multilib_src_configure() {
+src_configure() {
tc-export AR CC
# Build shared libs
echo 'CONFIG_SHARED=1' >> .config || die
}
-multilib_src_compile() {
- local target=all
- multilib_is_native_abi || target=lib
-
+src_compile() {
PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
- emake -f "${S}"/Makefile ${target}
+ emake -f "${S}"/Makefile all
}
-multilib_src_install() {
- local target=install
- multilib_is_native_abi || target=install-lib
-
+src_install() {
PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
- emake -f "${S}"/Makefile DESTDIR="${D}" ${target}
-}
+ emake -f "${S}"/Makefile DESTDIR="${D}" install
-multilib_src_install_all() {
# Rename the executable since it conflicts with libdca.
mv "${ED}"/usr/bin/dcadec{,-new} || die