mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -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
|
EAPI=7
|
||||||
|
|
||||||
|
inherit multilib-minimal
|
||||||
|
|
||||||
DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
|
DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
|
||||||
HOMEPAGE="http://www.sndio.org/"
|
HOMEPAGE="http://www.sndio.org/"
|
||||||
SRC_URI="http://www.sndio.org/${P}.tar.gz"
|
SRC_URI="http://www.sndio.org/${P}.tar.gz"
|
||||||
@@ -12,15 +14,20 @@ KEYWORDS="~amd64"
|
|||||||
IUSE="alsa"
|
IUSE="alsa"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
dev-libs/libbsd
|
dev-libs/libbsd[${MULTILIB_USEDEP}]
|
||||||
media-libs/alsa-lib
|
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${DEPEND}
|
${DEPEND}
|
||||||
acct-user/sndiod
|
acct-user/sndiod
|
||||||
"
|
"
|
||||||
|
|
||||||
src_configure() {
|
src_prepare() {
|
||||||
|
default
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/$(get_libdir) \
|
--libdir=/usr/$(get_libdir) \
|
||||||
|
|||||||
Reference in New Issue
Block a user