summaryrefslogtreecommitdiff
path: root/media-libs/libfreeaptx
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libfreeaptx')
-rw-r--r--media-libs/libfreeaptx/Manifest2
-rw-r--r--media-libs/libfreeaptx/libfreeaptx-0.1.1-r1.ebuild (renamed from media-libs/libfreeaptx/libfreeaptx-0.1.1.ebuild)15
2 files changed, 12 insertions, 5 deletions
diff --git a/media-libs/libfreeaptx/Manifest b/media-libs/libfreeaptx/Manifest
index dfefcd76f839..628481c0faca 100644
--- a/media-libs/libfreeaptx/Manifest
+++ b/media-libs/libfreeaptx/Manifest
@@ -1,5 +1,5 @@
AUX libfreeaptx-0.1.1-fix-version.patch 571 BLAKE2B 0fa43bf3b7180b5ec90e3cb2fc633959d5b484954bd50f468903a6c0c9b0646fe77be1618b68746692b57224e46270e538133ccfeb3f320ff71780bc5cd4297d SHA512 b8d3bcadeba8534979c02e55ad129bfce147e920e2e881f99ac9d579095fb944b6e88351a74dc410d141e0a6b89f17c15ddc21019e63cc3cf362a20d5e9b37b6
DIST libfreeaptx-0.1.1.tar.gz 27902 BLAKE2B 0aa015b0317db7f6dd61ae667cc1b7b10c7f7457d057144c1457572a214891848b81512960eb8643138c638a0f691b53a7bbcb36ad434ac29335d92b108a43fa SHA512 53dd7f348120fea0425b365f26668925dd435a8a3a0c5e98476764a452c7d729f2a3556e953c557d0ccaaa65391265c8c3c61fc29377cf60079fa0bed2cc20b1
-EBUILD libfreeaptx-0.1.1.ebuild 1064 BLAKE2B e01207c4e23f52f93415e0773893052fe1a3c6d0e34c8a68b621613627d4d9f492df644ffd1ead185aa71d0d3e00c510b670950bacb5b811a33e83492d1fa537 SHA512 2604e506a76c7ee29dab662fcc94403be5d6fc23239cf951e2d26c380c85a45adde54d7cf3da59397dbe3054e8ba2ca11b209bd4214ba403b07bc09ea2a7ed9b
+EBUILD libfreeaptx-0.1.1-r1.ebuild 1171 BLAKE2B 22e52588a9cd332920862f5195f66b5787439e5b044d056505607d98d11146b41a7d559082f0cd8e763d3f695a7f5517d7b81eaac2065808da7fae92a951be78 SHA512 2c8a6a215dcc2fb60b38541201e8b5ad8e1494d45858e9afe8de43678abe561ab43fa305c35586ac555c0866f1ee5ed5b1897b8ac4afa7c31381433ee834cf9a
EBUILD libfreeaptx-9999.ebuild 1104 BLAKE2B 9ab4ea981ac6243332276f0f17b3b941b4a49b658cabf5e6658efb7664cd71ae522683383f023788cc8dafb233d0ff94d4f21e16ed47a36f8d7273638d963706 SHA512 99f6b1912b7c00e7c2e0f55ee7c9210697b2b0d705a85920a02a58c9aaa443fa29e85128a699b76280a994b27b1a954e0c9e900c74ad41133a2484d2b671eae5
MISC metadata.xml 443 BLAKE2B c6bc37f198358a17bb8c099093ed64f9318966930771426243e401e35d8c4c0b4d764532ded69a71ec6e5ed463d582106d8574d661bd9d9a144b71528b0d02ae SHA512 ab15fe16e8ab3e5cfc792dbbb65437e17ee76f4b9b94a08fa90f553f1d15a1c179e6cd791962ac9ddc764b50ac5410ddf0dd7c3618b2c274f6fcb5ef7c5982ea
diff --git a/media-libs/libfreeaptx/libfreeaptx-0.1.1.ebuild b/media-libs/libfreeaptx/libfreeaptx-0.1.1-r1.ebuild
index d27cd8ed1912..349cf9fa588b 100644
--- a/media-libs/libfreeaptx/libfreeaptx-0.1.1.ebuild
+++ b/media-libs/libfreeaptx/libfreeaptx-0.1.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic toolchain-funcs
+inherit flag-o-matic multilib-minimal toolchain-funcs
DESCRIPTION="Reverse-engineered aptX and aptX HD library (fork of libopenaptx)"
HOMEPAGE="https://github.com/iamthehorker/libfreeaptx"
@@ -24,7 +24,14 @@ PATCHES=(
"${FILESDIR}"/${P}-fix-version.patch
)
-src_compile() {
+src_prepare() {
+ default
+
+ # custom Makefiles
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
tc-export CC AR
use cpu_flags_x86_avx2 && append-cflags "-mavx2"
@@ -38,7 +45,7 @@ src_compile() {
all
}
-src_install() {
+multilib_src_install() {
emake \
PREFIX="${EPREFIX}"/usr \
DESTDIR="${D}" \