diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
commit | 814f4cf860e299a046b649eaee5463427984c09c (patch) | |
tree | 74c45f097899310e599dad6b8df5b63e0f085bc0 /media-sound/scream/scream-3.7.ebuild | |
parent | 7f0ccc917c7abe6223784c703d86cd14755691fb (diff) |
gentoo resync : 08.07.2021
Diffstat (limited to 'media-sound/scream/scream-3.7.ebuild')
-rw-r--r-- | media-sound/scream/scream-3.7.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/scream/scream-3.7.ebuild b/media-sound/scream/scream-3.7.ebuild new file mode 100644 index 000000000000..019926a23b77 --- /dev/null +++ b/media-sound/scream/scream-3.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Plays sound received from network or from a QEMU Windows VM" +HOMEPAGE="https://github.com/duncanthrax/scream" +S="${WORKDIR}/${P}/Receivers/unix" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/duncanthrax/scream.git" +else + SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Ms-PL" +SLOT="0" +IUSE="alsa jack pulseaudio" + +RDEPEND=" + alsa? ( media-libs/alsa-lib ) + jack? ( + media-libs/soxr + virtual/jack + ) + pulseaudio? ( media-sound/pulseaudio )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DALSA_ENABLE=$(usex alsa) + -DJACK_ENABLE=$(usex jack) + -DPULSEAUDIO_ENABLE=$(usex pulseaudio) + ) + cmake_src_configure +} |