diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest new file mode 100644 index 0000000000..e2f3b4d000 --- /dev/null +++ b/media-sound/scream/Manifest @@ -0,0 +1 @@ +DIST scream-3.5.tar.gz 995382 BLAKE2B 96e5d0d0fe49a215ec78cb02be45fab700af90dd6ccce2e5f44f39aa3544046cf5b650ed0efadd7173ca01c382fc38f644bd237c4447695df024f03da6c1beb7 SHA512 39c61521160cc7d42a7934df42928b0198b85606fd5feb2c28a3ccb80714243398041aaa7dfef71d037570ecd30d8c790271589716643a87bda96478c14690d0 diff --git a/media-sound/scream/metadata.xml b/media-sound/scream/metadata.xml new file mode 100644 index 0000000000..368ae35c5b --- /dev/null +++ b/media-sound/scream/metadata.xml @@ -0,0 +1,11 @@ + + + + + alexey+gentoo@asokolov.org + Alexey Sokolov + + + duncanthrax/scream + + diff --git a/media-sound/scream/scream-3.5.ebuild b/media-sound/scream/scream-3.5.ebuild new file mode 100644 index 0000000000..e246e9de68 --- /dev/null +++ b/media-sound/scream/scream-3.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 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" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=${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 ~x86" +fi + +S="${S}/Receivers/unix" + +LICENSE="Ms-PL" +SLOT="0" +IUSE="alsa pulseaudio" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DALSA_ENABLE=$(usex alsa) + -DPULSEAUDIO_ENABLE=$(usex pulseaudio) + ) + + cmake_src_configure +} diff --git a/media-sound/scream/scream-9999.ebuild b/media-sound/scream/scream-9999.ebuild new file mode 100644 index 0000000000..e246e9de68 --- /dev/null +++ b/media-sound/scream/scream-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 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" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=${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 ~x86" +fi + +S="${S}/Receivers/unix" + +LICENSE="Ms-PL" +SLOT="0" +IUSE="alsa pulseaudio" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DALSA_ENABLE=$(usex alsa) + -DPULSEAUDIO_ENABLE=$(usex pulseaudio) + ) + + cmake_src_configure +}