Install this version:
emerge -a =media-plugins/alsa-sndio-0.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-plugins/alsa-sndio-0.2
Or alternatively:
emerge --autounmask-write -a =media-plugins/alsa-sndio-0.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2 | 7 | ~amd64 | 0 |
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit multilib-minimal
DESCRIPTION="ALSA PCM to play audio on sndio servers"
HOMEPAGE="https://github.com/Duncaen/alsa-sndio"
SRC_URI="https://github.com/Duncaen/alsa-sndio/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
media-libs/alsa-lib[${MULTILIB_USEDEP}]
media-sound/sndio:=[${MULTILIB_USEDEP}]
"
RDEPEND="${DEPEND}"
src_prepare() {
fix_libdir() {
sed -i "s;/lib/alsa-lib/;/$(get_libdir)/alsa-lib/;" "${BUILD_DIR}/Makefile" || die "Failed changing libdir"
}
default
multilib_copy_sources
multilib_foreach_abi fix_libdir
}
multilib_src_compile() {
emake CC="${CC:-gcc}"
}
multilib_src_install() {
export PREFIX="/usr"
default
}
media-libs/alsa-lib[] media-sound/sndio:=[]
media-libs/alsa-lib[] media-sound/sndio:=[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | alsa-sndio-0.2.tar.gz | 4119 bytes | https://github.com/Duncaen/alsa-sndio/archive/0.2.tar.gz |