* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-17 1:22 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-17 1:22 UTC (permalink / raw
To: gentoo-commits
commit: 99aeb4db26dbd9fc4cc19b915349e6060c3cd0b4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 01:19:47 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 01:22:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99aeb4db
media-libs/libopenaptx: fixes to prepare for tree
* Update LICENSE to LGPL-2.1+
* Respect CC and AR
* Drop ~x86 keyword until tested
* Style changes (inc. block structure, variable style)
* Don't use ${D} in src_compile
Bug: https://bugs.gentoo.org/758377
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 36 ++++++++++++++++---------
media-libs/libopenaptx/libopenaptx-9999.ebuild | 36 ++++++++++++++++---------
2 files changed, 46 insertions(+), 26 deletions(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index 7ebf9df7051..bac055db132 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Reverse-engineered aptX and aptX HD library"
HOMEPAGE="https://github.com/pali/libopenaptx"
@@ -13,27 +13,37 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64"
fi
-IUSE="cpu_flags_x86_avx2"
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
SLOT="0"
-RDEPEND=""
-DEPEND="${RDEPEND}"
+IUSE="cpu_flags_x86_avx2"
src_compile() {
+ tc-export CC AR
+
use cpu_flags_x86_avx2 && append-cflags "-mavx2"
- emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
- CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" all
+ emake \
+ PREFIX="${EPREFIX}"/usr \
+ LIBDIR=$(get_libdir) \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ARFLAGS="${ARFLAGS} -rcs" \
+ all
}
src_install() {
- emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
- CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" install
-
- #rm static lib
- rm -f "${D}/usr/$(get_libdir)"/libopenaptx.a || die "rm libopenaptx.a"
+ emake \
+ PREFIX="${EPREFIX}"/usr \
+ DESTDIR="${D}" \
+ LIBDIR="$(get_libdir)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ARFLAGS="${ARFLAGS} -rcs" \
+ install
+
+ rm -f "${ED}/usr/$(get_libdir)"/libopenaptx.a || die "Failed to remove static lib"
}
diff --git a/media-libs/libopenaptx/libopenaptx-9999.ebuild b/media-libs/libopenaptx/libopenaptx-9999.ebuild
index 7ebf9df7051..bac055db132 100644
--- a/media-libs/libopenaptx/libopenaptx-9999.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Reverse-engineered aptX and aptX HD library"
HOMEPAGE="https://github.com/pali/libopenaptx"
@@ -13,27 +13,37 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64"
fi
-IUSE="cpu_flags_x86_avx2"
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
SLOT="0"
-RDEPEND=""
-DEPEND="${RDEPEND}"
+IUSE="cpu_flags_x86_avx2"
src_compile() {
+ tc-export CC AR
+
use cpu_flags_x86_avx2 && append-cflags "-mavx2"
- emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
- CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" all
+ emake \
+ PREFIX="${EPREFIX}"/usr \
+ LIBDIR=$(get_libdir) \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ARFLAGS="${ARFLAGS} -rcs" \
+ all
}
src_install() {
- emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
- CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" install
-
- #rm static lib
- rm -f "${D}/usr/$(get_libdir)"/libopenaptx.a || die "rm libopenaptx.a"
+ emake \
+ PREFIX="${EPREFIX}"/usr \
+ DESTDIR="${D}" \
+ LIBDIR="$(get_libdir)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ARFLAGS="${ARFLAGS} -rcs" \
+ install
+
+ rm -f "${ED}/usr/$(get_libdir)"/libopenaptx.a || die "Failed to remove static lib"
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-17 1:22 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-17 1:22 UTC (permalink / raw
To: gentoo-commits
commit: 4722b0a0ea44624f07a39dc2cfac6b58b1879798
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 01:14:55 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 01:16:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4722b0a0
media-libs/libopenaptx: update maintainers (me then codec@)
This will be a dependency of Pipewire.
Closes: https://bugs.gentoo.org/758377
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/media-libs/libopenaptx/metadata.xml b/media-libs/libopenaptx/metadata.xml
index 733f9c60ae6..943562322a2 100644
--- a/media-libs/libopenaptx/metadata.xml
+++ b/media-libs/libopenaptx/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
<maintainer type="project">
<email>codec@gentoo.org</email>
<name>Gentoo Codec Project</name>
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-17 1:22 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-17 1:22 UTC (permalink / raw
To: gentoo-commits
commit: f411b6a48680122d54db515b256edcfe706973a2
Author: Joakim Tjernlund <Joakim.Tjernlund <AT> infinera <DOT> com>
AuthorDate: Tue Mar 16 23:54:12 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 01:16:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f411b6a4
media-libs/libopenaptx: new package
* Add libopenaptx-0.2.0/9999 ebuilds
Closes: https://bugs.gentoo.org/758377
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund <AT> infinera.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/Manifest | 1 +
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 39 +++++++++++++++++++++++++
media-libs/libopenaptx/libopenaptx-9999.ebuild | 39 +++++++++++++++++++++++++
media-libs/libopenaptx/metadata.xml | 8 +++++
4 files changed, 87 insertions(+)
diff --git a/media-libs/libopenaptx/Manifest b/media-libs/libopenaptx/Manifest
new file mode 100644
index 00000000000..7271834f99f
--- /dev/null
+++ b/media-libs/libopenaptx/Manifest
@@ -0,0 +1 @@
+DIST libopenaptx-0.2.0.tar.gz 27797 BLAKE2B b178a9aaf78796c9219d9e7066ff985ce9f5dd86a6926ae22e373f2822090ad313efe04d5cf607940f1042bd27ddf5484d7e8298dfff91a8ae5596cec7ad5fa9 SHA512 d57e5084b398eec2ad49c9893baa496651c139abfb95692c834a4691bc4bb951d0b1afdd499a8b67c84b873407b584965d3a045d8ef3d9e62b3ccf45de22809a
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
new file mode 100644
index 00000000000..7ebf9df7051
--- /dev/null
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Reverse-engineered aptX and aptX HD library"
+HOMEPAGE="https://github.com/pali/libopenaptx"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/pali/${PN}"
+else
+ SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE="cpu_flags_x86_avx2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ use cpu_flags_x86_avx2 && append-cflags "-mavx2"
+
+ emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
+ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" all
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
+ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" install
+
+ #rm static lib
+ rm -f "${D}/usr/$(get_libdir)"/libopenaptx.a || die "rm libopenaptx.a"
+}
diff --git a/media-libs/libopenaptx/libopenaptx-9999.ebuild b/media-libs/libopenaptx/libopenaptx-9999.ebuild
new file mode 100644
index 00000000000..7ebf9df7051
--- /dev/null
+++ b/media-libs/libopenaptx/libopenaptx-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Reverse-engineered aptX and aptX HD library"
+HOMEPAGE="https://github.com/pali/libopenaptx"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/pali/${PN}"
+else
+ SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE="cpu_flags_x86_avx2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ use cpu_flags_x86_avx2 && append-cflags "-mavx2"
+
+ emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
+ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" all
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" LIBDIR=$(get_libdir) \
+ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ARFLAGS="$ARFLAGS -rcs" install
+
+ #rm static lib
+ rm -f "${D}/usr/$(get_libdir)"/libopenaptx.a || die "rm libopenaptx.a"
+}
diff --git a/media-libs/libopenaptx/metadata.xml b/media-libs/libopenaptx/metadata.xml
new file mode 100644
index 00000000000..733f9c60ae6
--- /dev/null
+++ b/media-libs/libopenaptx/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>codec@gentoo.org</email>
+ <name>Gentoo Codec Project</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-17 1:44 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-17 1:44 UTC (permalink / raw
To: gentoo-commits
commit: 6008292871a3bd3528d8e5e787c80206db5f115c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 01:42:34 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 01:43:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60082928
media-libs/libopenaptx: add Joakim as a maintainer too
Bug: https://bugs.gentoo.org/758377
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/media-libs/libopenaptx/metadata.xml b/media-libs/libopenaptx/metadata.xml
index 943562322a2..5e724bf54f3 100644
--- a/media-libs/libopenaptx/metadata.xml
+++ b/media-libs/libopenaptx/metadata.xml
@@ -5,6 +5,10 @@
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
+ <maintainer type="person">
+ <email>joakim.tjernlund@infinera.com</email>
+ <name>Joakim Tjernlund</name>
+ </maintainer>
<maintainer type="project">
<email>codec@gentoo.org</email>
<name>Gentoo Codec Project</name>
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-22 0:18 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-22 0:18 UTC (permalink / raw
To: gentoo-commits
commit: fc34d7fa83a43c9f234f17cbd353226ee4ae30d0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 00:17:20 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 00:17:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc34d7fa
media-libs/libopenaptx: Keyword 0.2.0 ppc64, #776940
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index b2a62913ab5..ca430d9589f 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc"
+ KEYWORDS="~amd64 ~ppc ~ppc64"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-22 0:18 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-22 0:18 UTC (permalink / raw
To: gentoo-commits
commit: 3bbdece93ce8e390ed69916b3277f89298e34299
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 00:17:12 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 00:17:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bbdece9
media-libs/libopenaptx: Keyword 0.2.0 ppc, #776940
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index bac055db132..b2a62913ab5 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~ppc"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-03-28 11:07 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-03-28 11:07 UTC (permalink / raw
To: gentoo-commits
commit: 0433b711df2dbd77e1820e33cee9499ad4a1f296
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 28 11:07:17 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 28 11:07:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0433b711
media-libs/libopenaptx: Keyword 0.2.0 arm64, #776940
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index ac6c58b9fe7..bcf301f7ad2 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-04-01 12:19 Thomas Deutschmann
0 siblings, 0 replies; 15+ messages in thread
From: Thomas Deutschmann @ 2021-04-01 12:19 UTC (permalink / raw
To: gentoo-commits
commit: b429d70d80196e1daaf462da23cb3ef648a82e53
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 1 12:15:55 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Apr 1 12:15:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b429d70d
media-libs/libopenaptx: x86 keyworded (bug #776940)
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index bcf301f7ad2..f90b9b0868a 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-05-03 19:59 Thomas Deutschmann
0 siblings, 0 replies; 15+ messages in thread
From: Thomas Deutschmann @ 2021-05-03 19:59 UTC (permalink / raw
To: gentoo-commits
commit: 4707f66ad0c079c17adee13826193ac2430ed9ab
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon May 3 19:59:21 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon May 3 19:59:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4707f66a
media-libs/libopenaptx: bump to v0.2.1
License changed to GPL 3+ [Link 1].
Link 1: https://github.com/pali/libopenaptx/commit/811bc18586d634042618d633727ac0281d4170b8
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/libopenaptx/Manifest | 1 +
media-libs/libopenaptx/libopenaptx-0.2.1.ebuild | 49 +++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/media-libs/libopenaptx/Manifest b/media-libs/libopenaptx/Manifest
index 7271834f99f..c1a88d38acb 100644
--- a/media-libs/libopenaptx/Manifest
+++ b/media-libs/libopenaptx/Manifest
@@ -1 +1,2 @@
DIST libopenaptx-0.2.0.tar.gz 27797 BLAKE2B b178a9aaf78796c9219d9e7066ff985ce9f5dd86a6926ae22e373f2822090ad313efe04d5cf607940f1042bd27ddf5484d7e8298dfff91a8ae5596cec7ad5fa9 SHA512 d57e5084b398eec2ad49c9893baa496651c139abfb95692c834a4691bc4bb951d0b1afdd499a8b67c84b873407b584965d3a045d8ef3d9e62b3ccf45de22809a
+DIST libopenaptx-0.2.1.tar.gz 31575 BLAKE2B 531a1b4e8f4a711bf1b36dfea2424b23821dd4f0b50cc367e1298fc7a41f32ec494fdb25907173d1e2685bd0af74d3ebe5a7a3f221f2e57e92bd6d6e2b8b80c8 SHA512 7c7f515585ed41cd276cd3141037ce21e3ebdb713dc932bcdb33320d9910c734bc81e581e2c09b3399b3516c789e5da7128fdab5ab6b5e4f42a86b6ac6d3f28c
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
new file mode 100644
index 00000000000..534df52cba0
--- /dev/null
+++ b/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Reverse-engineered aptX and aptX HD library"
+HOMEPAGE="https://github.com/pali/libopenaptx"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/pali/${PN}"
+else
+ SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+IUSE="cpu_flags_x86_avx2"
+
+src_compile() {
+ tc-export CC AR
+
+ use cpu_flags_x86_avx2 && append-cflags "-mavx2"
+
+ emake \
+ PREFIX="${EPREFIX}"/usr \
+ LIBDIR=$(get_libdir) \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ARFLAGS="${ARFLAGS} -rcs" \
+ all
+}
+
+src_install() {
+ emake \
+ PREFIX="${EPREFIX}"/usr \
+ DESTDIR="${D}" \
+ LIBDIR="$(get_libdir)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ ARFLAGS="${ARFLAGS} -rcs" \
+ install
+
+ find "${ED}" -name '*.a' -delete || die
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-07-10 15:40 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-07-10 15:40 UTC (permalink / raw
To: gentoo-commits
commit: 0d1d2353ad2ce0c62e27d079ef970f8e96a10346
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 10 15:40:00 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 15:40:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1d2353
media-libs/libopenaptx: Stabilize 0.2.0 x86, #800710
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index 7a517403e2b..e07dd595036 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-07-11 2:31 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-07-11 2:31 UTC (permalink / raw
To: gentoo-commits
commit: 5da78f24e6ce94a002c0773857b7e9a11fd45341
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 11 02:30:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 11 02:30:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da78f24
media-libs/libopenaptx: Stabilize 0.2.0 arm, #800710
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index e07dd595036..360c8d9882a 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+ KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-07-11 20:48 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-07-11 20:48 UTC (permalink / raw
To: gentoo-commits
commit: 2195e775a9a116559ef7cefba9718c814b37d5a6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 11 20:48:40 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 11 20:48:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2195e775
media-libs/libopenaptx: Stabilize 0.2.0 arm64, #800710
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index 360c8d9882a..a7298efb98c 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86"
+ KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-08-20 21:51 Marek Szuba
0 siblings, 0 replies; 15+ messages in thread
From: Marek Szuba @ 2021-08-20 21:51 UTC (permalink / raw
To: gentoo-commits
commit: 18f756fc2e784e7f14d0c6caf50df2eed6c90443
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 15:46:42 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 21:51:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f756fc
media-libs/libopenaptx: keyword for ~riscv
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
media-libs/libopenaptx/libopenaptx-0.2.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index c187ac0fc1a..2a92d2f7186 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86"
+ KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86"
fi
LICENSE="LGPL-2.1+"
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
index 534df52cba0..41f077aff4f 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.1.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
fi
LICENSE="GPL-3+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2021-09-23 22:45 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-09-23 22:45 UTC (permalink / raw
To: gentoo-commits
commit: 82a93b9dea951037fb1a86818c0a2524132791bd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 22:45:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 22:45:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a93b9d
media-libs/libopenaptx: Stabilize 0.2.0 ppc64, #814521
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libopenaptx/libopenaptx-0.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
index 2a92d2f7186..4a08c59202c 100644
--- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
+++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/pali/${PN}"
else
SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86"
+ KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86"
fi
LICENSE="LGPL-2.1+"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/
@ 2022-03-08 13:48 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2022-03-08 13:48 UTC (permalink / raw
To: gentoo-commits
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}" \
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2022-03-08 13:48 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 1:22 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenaptx/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2021-03-17 1:22 Sam James
2021-03-17 1:22 Sam James
2021-03-17 1:44 Sam James
2021-03-22 0:18 Sam James
2021-03-22 0:18 Sam James
2021-03-28 11:07 Sam James
2021-04-01 12:19 Thomas Deutschmann
2021-05-03 19:59 Thomas Deutschmann
2021-07-10 15:40 Sam James
2021-07-11 2:31 Sam James
2021-07-11 20:48 Sam James
2021-08-20 21:51 Marek Szuba
2021-09-23 22:45 Sam James
2022-03-08 13:48 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox