commit: e42a801a0c7d7fa43a3c05e8d7a78c7641348752 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Sun May 24 14:06:00 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Sun May 24 14:06:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e42a801a
media-sound/scream: new package Bug: https://bugs.gentoo.org/718800 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> media-sound/scream/Manifest | 1 + media-sound/scream/metadata.xml | 11 ++++++++++ media-sound/scream/scream-3.5.ebuild | 41 +++++++++++++++++++++++++++++++++++ media-sound/scream/scream-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+) diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest new file mode 100644 index 0000000..e2f3b4d --- /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 0000000..368ae35 --- /dev/null +++ b/media-sound/scream/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alexey Sokolov</name> + </maintainer> + <upstream> + <remote-id type="github">duncanthrax/scream</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/scream/scream-3.5.ebuild b/media-sound/scream/scream-3.5.ebuild new file mode 100644 index 0000000..e246e9d --- /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 0000000..e246e9d --- /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 +}
