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.20.1
- Loading branch information
Michael Sterrett
committed
Dec 1, 2015
1 parent
0701a27
commit 7a339ea
Showing
2 changed files
with
61 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,2 +1,3 @@ | ||
DIST openal-soft-1.15.1.tar.bz2 253006 SHA256 0e29a162f0841ccb4135ce76e92e8a704589b680a85eddf76f898de5236eb056 SHA512 ca6dafdd503d06892dff08763bc00b974ec6e7c4bf3dcebb4cb41a486b4ea777c278299a198db182fee888a19a5716bd57d91a2859b764a532138a79f2bd672f WHIRLPOOL a47fcf4cc5da9576cb4683371979175111a1ec746c87ea1140bfb1b71433a3fe5d3df338e8844ab62adc0e6decb4b481d6d8fedb6f635b5bac715d5789077902 | ||
DIST openal-soft-1.16.0.tar.bz2 393280 SHA256 2f3dcd313fe26391284fbf8596863723f99c65d6c6846dccb48e79cadaf40d5f SHA512 b89e46902ce475afd47c4c153ae666646e8b277abf1be97f92b6a10dc585ed780c663591398a9fd7e4118595dd45d2d8d6df0101b4148686150bbb3fe2939ddc WHIRLPOOL c1143c0bc0b7299d088b2a2c440309461ba50efd4e8a924066b08411b0f66a02fb92afb6e5a9edc42552a7b59103ec204165b974bdc3297c963e8f9c0dfc55c0 | ||
DIST openal-soft-1.17.0.tar.bz2 484172 SHA256 5e93336de2e7c50f3a01beba51861d6f61c3e4045a896191dc806591e46264d1 SHA512 abe45385c29986cf9848502fc3034392bd03cd12ab969a97e82056ba9151a061f2a268a76abe393bc4b4f8cda69ef9511fccb09c997ddb90082a753c9caaef3d WHIRLPOOL e3f657216b06f40a8dfdf038feedfa58b033b69f30cf55318dba46a1a90c6dcac7c379829e156a32a430433fea20fb25fd4b6b2bb40f3248f511d497cd7bb34e |
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,60 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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 oss portaudio pulseaudio qt4 | ||
cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 | ||
neon | ||
" | ||
|
||
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}] ) | ||
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 ) | ||
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 ChangeLog README" | ||
|
||
src_configure() { | ||
# -DEXAMPLES=OFF to avoid FFmpeg dependency wrt #481670 | ||
my_configure() { | ||
local mycmakeargs=( | ||
"-DALSOFT_BACKEND_ALSA=$(usex alsa ON OFF)" | ||
"-DALSOFT_BACKEND_COREAUDIO=$(usex coreaudio ON OFF)" | ||
"-DALSOFT_BACKEND_OSS=$(usex oss ON OFF)" | ||
"-DALSOFT_BACKEND_PORTAUDIO=$(usex portaudio ON OFF)" | ||
"-DALSOFT_BACKEND_PULSEAUDIO=$(usex pulseaudio ON OFF)" | ||
"-DALSOFT_CPUEXT_SSE=$(usex cpu_flags_x86_sse ON OFF)" | ||
"-DALSOFT_CPUEXT_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)" | ||
"-DALSOFT_CPUEXT_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF)" | ||
"-DALSOFT_CPUEXT_NEON=$(usex neon ON OFF)" | ||
"-DALSOFT_UTILS=$(multilib_is_native_abi && echo "ON" || echo "OFF")" | ||
"-DALSOFT_NO_CONFIG_UTIL=$(usex qt4 "$(multilib_is_native_abi && echo "OFF" || echo "ON")" ON)" | ||
"-DALSOFT_EXAMPLES=OFF" | ||
) | ||
|
||
cmake-utils_src_configure | ||
} | ||
|
||
multilib_parallel_foreach_abi my_configure | ||
} |