forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.26 Signed-off-by: Alexis Ballier <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST opus-1.0.2.tar.gz 777306 SHA256 da615edbee5d019c1833071d69a4782c19f178cf9ca1401375036ecef25cd78a SHA512 73f089ac9c6fcf6adea6c862f6ac0e56712473f9dcaec3aec444a988ded1abcec7fa69da286af38500182dfaf96ba0b6ca52431c39ed08f2aa1caf84ffd43b39 WHIRLPOOL f953cc7f8bd4332524ee403e7dbd9647a29d324a30ef820e5b96a316366ab0a168f55e36a0ab5b239afe7f547874eb28aff1529e38774c1a880da1b7ce7daa86 | ||
DIST opus-1.1.1.tar.gz 957948 SHA256 9b84ff56bd7720d5554103c557664efac2b8b18acc4bbcc234cb881ab9a3371e SHA512 1e55ed19f07ed399371aaf92544b3c5fb3d214c8ae67210a709edfede2102a5fa5c6f5b8287d26dcacad62b5c0a591bfe14ee7ae7d846629e5a814a05da4e149 WHIRLPOOL 35c20393f308beb56b07b722a78b82ad27d38095a0a4fcc5ad7d39f9dd99c9cae8e4646462faeb769c42e8286089e3d83d8f7cebc0362cdd9da7fb26da21b372 | ||
DIST opus-1.1.2.tar.gz 959767 SHA256 0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd SHA512 12ec6613190a09bf6f300fac70bcf927731b707eae2511cebe7098cb49c4bf43dd21a0af4d22900958636949226df50243c432d53dedeacd46a4978729b5fc0d WHIRLPOOL 4de7a13a2102d2d8c9961af0dcc3d24a8b9f6a552bf5db93d7ffffb000a0a379f68407d0fc4576e84522442fbb5115419fd6a4c4dd9fab2b504de27ef3a3b1eb | ||
DIST opus-1.1.tar.gz 850208 SHA256 b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95 SHA512 b603efe66d65ef38dbcd0d2bbf213a1d15fa456aee00eca73e99abe4ec78668ed82e661ca7a69e9af4e0bc39e1aa76c4151b7f9840ff621ddcfd69f596cf2ba9 WHIRLPOOL 9d53e57d0c99b7e5e330822808f5b79e19bb3fbbffb9054e3d1d421b42fd70463d5fc39517eff1169d218bad8ab2440162c334ace013ffba846cbcfb57206201 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
inherit autotools-multilib | ||
|
||
if [[ ${PV} == *9999 ]] ; then | ||
inherit git-2 | ||
EGIT_REPO_URI="git://git.opus-codec.org/opus.git" | ||
else | ||
SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz" | ||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" | ||
fi | ||
|
||
DESCRIPTION="Open versatile codec designed for interactive speech and audio transmission over the internet" | ||
HOMEPAGE="http://opus-codec.org/" | ||
SRC_URI="http://downloads.xiph.org/releases/opus/${P}.tar.gz" | ||
|
||
LICENSE="BSD-2" | ||
SLOT="0" | ||
INTRINSIC_FLAGS="cpu_flags_x86_sse neon" | ||
IUSE="custom-modes doc static-libs ${INTRINSIC_FLAGS}" | ||
|
||
DEPEND="doc? ( app-doc/doxygen )" | ||
|
||
src_configure() { | ||
local myeconfargs=( | ||
$(use_enable custom-modes) | ||
$(use_enable doc) | ||
) | ||
for i in ${INTRINSIC_FLAGS} ; do | ||
use ${i} && myeconfargs+=( --enable-intrinsics ) | ||
done | ||
autotools-multilib_src_configure | ||
} |