mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
media-sound/sndio: Make it multilib
This is needed to add sndio support to multilib packages like portaudio Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
|
||||
HOMEPAGE="http://www.sndio.org/"
|
||||
SRC_URI="http://www.sndio.org/${P}.tar.gz"
|
||||
@@ -12,15 +14,20 @@ KEYWORDS="~amd64"
|
||||
IUSE="alsa"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libbsd
|
||||
media-libs/alsa-lib
|
||||
dev-libs/libbsd[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
acct-user/sndiod
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
src_prepare() {
|
||||
default
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
|
||||
Reference in New Issue
Block a user