From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
Date: Tue, 8 Mar 2022 13:48:01 +0000 (UTC) [thread overview]
Message-ID: <1646746335.f03d58087e4fcf3c6b36820ce399477316dbec01.sam@gentoo> (raw)
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}" \
next reply other threads:[~2022-03-08 13:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 13:48 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-23 22:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/ Sam James
2021-08-20 21:51 Marek Szuba
2021-07-11 20:48 Sam James
2021-07-11 2:31 Sam James
2021-07-10 15:40 Sam James
2021-05-03 19:59 Thomas Deutschmann
2021-04-01 12:19 Thomas Deutschmann
2021-03-28 11:07 Sam James
2021-03-22 0:18 Sam James
2021-03-22 0:18 Sam James
2021-03-17 1:44 Sam James
2021-03-17 1:22 Sam James
2021-03-17 1:22 Sam James
2021-03-17 1:22 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1646746335.f03d58087e4fcf3c6b36820ce399477316dbec01.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox