Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 691914 Details for
Bug 758377
media-video/libopenaptx Codecs for Bluetooth aptX and aptX HD (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with libopenaptx ebuilds
0001-Add-libopenaptx-0.2.0-9999-ebuilds.patch (text/plain), 4.19 KB, created by
Joakim Tjernlund
on 2021-03-16 23:57:29 UTC
(
hide
)
Description:
Patch with libopenaptx ebuilds
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2021-03-16 23:57:29 UTC
Size:
4.19 KB
patch
obsolete
>From 27913359bf6f1e222ba5ac7c3ed188c1c2d04ff9 Mon Sep 17 00:00:00 2001 >From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> >Date: Wed, 17 Mar 2021 00:54:12 +0100 >Subject: [PATCH] Add libopenaptx-0.2.0/9999 ebuilds > >--- > media-libs/libopenaptx/Manifest | 1 + > .../libopenaptx/libopenaptx-0.2.0.ebuild | 39 +++++++++++++++++++ > .../libopenaptx/libopenaptx-9999.ebuild | 39 +++++++++++++++++++ > media-libs/libopenaptx/metadata.xml | 8 ++++ > 4 files changed, 87 insertions(+) > create mode 100644 media-libs/libopenaptx/Manifest > create mode 100644 media-libs/libopenaptx/libopenaptx-0.2.0.ebuild > create mode 100644 media-libs/libopenaptx/libopenaptx-9999.ebuild > create mode 100644 media-libs/libopenaptx/metadata.xml > >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> >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 758377
:
676633
| 691914 |
691917