guru/net-dialup/minimodem/minimodem-0.24-r1.ebuild
Seth M. Price cd6288f163
net-dialup/minimodem: add REQUIRED_USE
Closes: https://bugs.gentoo.org/921630
Signed-off-by: Seth M. Price <sprice623@aol.com>
2024-01-09 19:19:53 -05:00

34 lines
756 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="General-purpose software audio FSK modem"
HOMEPAGE="http://www.whence.com/minimodem/"
SRC_URI="http://www.whence.com/minimodem/minimodem-${PV}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+alsa pulseaudio sndfile sndio"
REQUIRED_USE+="|| ( alsa pulseaudio sndfile )"
DEPEND="sndfile? ( media-libs/libsndfile )
sci-libs/fftw:3.0
alsa? ( media-libs/alsa-lib )
pulseaudio? ( media-libs/libpulse )
sndio? ( media-sound/sndio )"
RDEPEND="${DEPEND}"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
my_args="$(use_with alsa) $(use_with pulseaudio) $(use_with sndfile)"
econf $my_args
}