# 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 alstream coreaudio debug neon oss portaudio pulseaudio realtime wave" # String for CPU features in the useflag[:configure_option] form # if :configure_option isn't set, it will use 'useflag' as configure option CPU_FEATURES="cpu_flags_x86_sse:sse cpu_flags_x86_sse2:sse2 cpu_flags_x86_sse4_1:sse4_1" for i in ${CPU_FEATURES}; do IUSE="${IUSE} ${i%:*}" done RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) alstream? ( virtual/ffmpeg ) portaudio? ( >=media-libs/portaudio-19_pre20111121-r1[${MULTILIB_USEDEP}] ) pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) abi_x86_32? ( amd64? ( alstream? ( app-emulation/emul-linux-x86-medialibs ) ) !