From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1373390-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3F04415808B
	for <garchives@archives.gentoo.org>; Tue,  8 Mar 2022 13:48:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B3C3CE0837;
	Tue,  8 Mar 2022 13:48:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5B55CE0837
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Mar 2022 13:48:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2EFE83432DD
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Mar 2022 13:48:03 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A2D4D30F
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Mar 2022 13:48:01 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1646746335.f03d58087e4fcf3c6b36820ce399477316dbec01.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/libopenaptx/libopenaptx-0.2.0-r1.ebuild media-libs/libopenaptx/libopenaptx-0.2.0.ebuild media-libs/libopenaptx/libopenaptx-0.2.1-r1.ebuild media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
X-VCS-Directories: media-libs/libopenaptx/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: f03d58087e4fcf3c6b36820ce399477316dbec01
X-VCS-Branch: master
Date: Tue,  8 Mar 2022 13:48:01 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 32c34b07-edb2-49b3-8451-5b73939faa64
X-Archives-Hash: 3635d82455e1ff8503da436ef0dae237

commit:     f03d58087e4fcf3c6b36820ce399477316dbec01
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sun Feb 13 19:00:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  8 13:32:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03d5808

media-libs/libopenaptx: Change to multilib build

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...bopenaptx-0.2.0.ebuild => libopenaptx-0.2.0-r1.ebuild} | 15 +++++++++++----
 ...bopenaptx-0.2.1.ebuild => libopenaptx-0.2.1-r1.ebuild} | 15 +++++++++++----
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0-r1.ebuild
similarity index 81%
rename from media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
rename to media-libs/libopenaptx/libopenaptx-0.2.0-r1.ebuild
index 4a08c59202ca..84aea87a2a3f 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0-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"
 HOMEPAGE="https://github.com/pali/libopenaptx"
@@ -21,7 +21,14 @@ SLOT="0"
 
 IUSE="cpu_flags_x86_avx2"
 
-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"
@@ -35,7 +42,7 @@ src_compile() {
 		all
 }
 
-src_install() {
+multilib_src_install() {
 	emake \
 		PREFIX="${EPREFIX}"/usr \
 		DESTDIR="${D}" \

diff --git a/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.1-r1.ebuild
similarity index 80%
rename from media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
rename to media-libs/libopenaptx/libopenaptx-0.2.1-r1.ebuild
index 41f077aff4f5..e33fdfe55cac 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.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"
 HOMEPAGE="https://github.com/pali/libopenaptx"
@@ -21,7 +21,14 @@ SLOT="0"
 
 IUSE="cpu_flags_x86_avx2"
 
-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"
@@ -35,7 +42,7 @@ src_compile() {
 		all
 }
 
-src_install() {
+multilib_src_install() {
 	emake \
 		PREFIX="${EPREFIX}"/usr \
 		DESTDIR="${D}" \