Files
guru/media-sound/pulseaudio-virtualmic/pulseaudio-virtualmic-0.1.ebuild
Andrew Ammerlaan 98dbe5866e media-sound/pulseaudio-virtualmic: properly name tarball
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 12:17:44 +02:00

32 lines
701 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION=" Use any offline or online media file or stream as a PulseAudio source"
HOMEPAGE="https://github.com/MatthiasCoppens/pulseaudio-virtualmic"
if [ "${PV}" == 9999 ]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/MatthiasCoppens/pulseaudio-virtualmic.git"
else
SRC_URI="https://github.com/MatthiasCoppens/pulseaudio-virtualmic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
RESTRICT="mirror test"
RDEPEND="media-video/ffmpeg
media-sound/pulseaudio"
DEPEND="${RDEPEND}"
src_install() {
exeinto /usr/bin
doexe virtualmic
}