2012-05-20 22:47:27 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-11-25 23:47:45 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20121028.ebuild,v 1.3 2012/11/25 07:26:58 pacho Exp $
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
EAPI="4"
|
|
|
|
inherit emul-linux-x86
|
|
|
|
|
2012-11-18 01:33:06 +04:00
|
|
|
LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1 LGPL-2 MIT gsm public-domain"
|
2012-11-25 23:47:45 +04:00
|
|
|
KEYWORDS="-* amd64"
|
2012-10-28 22:18:29 +04:00
|
|
|
IUSE="alsa"
|
2011-11-09 11:33:19 +04:00
|
|
|
|
2012-10-28 22:18:29 +04:00
|
|
|
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
|
2011-11-09 11:33:19 +04:00
|
|
|
~app-emulation/emul-linux-x86-medialibs-${PV}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
_ALLOWED="${S}/etc/env.d"
|
|
|
|
use alsa && _ALLOWED="${_ALLOWED}|${S}/usr/bin/aoss"
|
|
|
|
ALLOWED="(${_ALLOWED})"
|
|
|
|
|
|
|
|
emul-linux-x86_src_prepare
|
|
|
|
|
|
|
|
if use alsa; then
|
|
|
|
mv -f "${S}"/usr/bin/aoss{,32} || die
|
|
|
|
fi
|
|
|
|
}
|