Skip to content

Commit

Permalink
media-libs/openal: bump 1.16.0
Browse files Browse the repository at this point in the history
based on my work and Thomas work ( v10lator@myway.de ).

Bug: https://bugs.gentoo.org/show_bug.cgi?id=523110

Signed-off-by: David Heidelberg <david@ixit.cz>
  • Loading branch information
okias committed Nov 2, 2014
1 parent 72df854 commit 37437ef
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/openal/Manifest
@@ -0,0 +1 @@
DIST openal-soft-1.16.0.tar.bz2 393280 SHA256 2f3dcd313fe26391284fbf8596863723f99c65d6c6846dccb48e79cadaf40d5f SHA512 b89e46902ce475afd47c4c153ae666646e8b277abf1be97f92b6a10dc585ed780c663591398a9fd7e4118595dd45d2d8d6df0101b4148686150bbb3fe2939ddc WHIRLPOOL c1143c0bc0b7299d088b2a2c440309461ba50efd4e8a924066b08411b0f66a02fb92afb6e5a9edc42552a7b59103ec204165b974bdc3297c963e8f9c0dfc55c0
65 changes: 65 additions & 0 deletions media-libs/openal/openal-1.16.0.ebuild
@@ -0,0 +1,65 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5
inherit cmake-multilib

MY_P=${PN}-soft-${PV}

DESCRIPTION="A software implementation of the OpenAL 3D audio API"
HOMEPAGE="http://kcat.strangesoft.net/openal.html"
SRC_URI="http://kcat.strangesoft.net/openal-releases/${MY_P}.tar.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
IUSE="alsa coreaudio debug neon oss portaudio pulseaudio sse sse2 sse4_1 wave"

RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
portaudio? ( >=media-libs/portaudio-19_pre20111121-r1[${MULTILIB_USEDEP}] )
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
abi_x86_32? (
!<app-emulation/emul-linux-x86-sdl-20131008-r1
!app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
)"
DEPEND="${RDEPEND}
oss? ( virtual/os-headers )"

S=${WORKDIR}/${MY_P}

DOCS="alsoftrc.sample env-vars.txt hrtf.txt README"

src_configure() {
# -DEXAMPLES=OFF to avoid FFmpeg dependency wrt #481670
my_configure() {
local mycmakeargs=(
$(cmake-utils_use alsa ALSOFT_BACKEND_ALSA)
$(cmake-utils_use alsa ALSOFT_REQUIRE_ALSA)
$(cmake-utils_use coreaudio ALSOFT_BACKEND_COREAUDIO)
$(cmake-utils_use coreaudio ALSOFT_REQUIRE_COREAUDIO)
$(cmake-utils_use neon ALSOFT_CPUEXT_NEON)
$(cmake-utils_use neon ALSOFT_REQUIRE_NEON)
$(cmake-utils_use oss ALSOFT_BACKEND_OSS)
$(cmake-utils_use oss ALSOFT_REQUIRE_OSS)
$(cmake-utils_use portaudio ALSOFT_BACKEND_PORTAUDIO)
$(cmake-utils_use portaudio ALSOFT_REQUIRE_PORTAUDIO)
$(cmake-utils_use pulseaudio ALSOFT_BACKEND_PULSEAUDIO)
$(cmake-utils_use pulseaudio ALSOFT_REQUIRE_PULSEAUDIO)
$(cmake-utils_use sse ALSOFT_CPUEXT_SSE)
$(cmake-utils_use sse ALSOFT_REQUIRE_SSE)
$(cmake-utils_use sse2 ALSOFT_CPUEXT_SSE2)
$(cmake-utils_use sse2 ALSOFT_REQUIRE_SSE2)
$(cmake-utils_use sse4_1 ALSOFT_CPUEXT_SSE4_1)
$(cmake-utils_use sse4_1 ALSOFT_REQUIRE_SSE4_1)
$(cmake-utils_use wave ALSOFT_BACKEND_WAVE)
$(cmake-utils_use wave ALSOFT_REQUIRE_WAVE)
-DALSOFT_EXAMPLES=OFF
-DALSOFT_NO_CONFIG_UTIL=ON
)

cmake-utils_src_configure
}

multilib_parallel_foreach_abi my_configure
}

0 comments on commit 37437ef

Please sign in to comment.