diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2021-08-04 09:28:51 +0100 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-08-06 22:34:58 -0400 |
commit | b1b65d51de20920a851e9fcee7d632fdb7f4dfd7 (patch) | |
tree | 0214cae2c3dbfe638ef25c785150475ff1df8130 /media-sound | |
parent | dev-perl/Inline: Stabilize 0.860.0 arm, #806653 (diff) | |
download | gentoo-b1b65d51de20920a851e9fcee7d632fdb7f4dfd7.tar.gz gentoo-b1b65d51de20920a851e9fcee7d632fdb7f4dfd7.tar.bz2 gentoo-b1b65d51de20920a851e9fcee7d632fdb7f4dfd7.zip |
media-sound/scream: version 3.8
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/scream/Manifest | 1 | ||||
-rw-r--r-- | media-sound/scream/metadata.xml | 3 | ||||
-rw-r--r-- | media-sound/scream/scream-3.8.ebuild | 43 | ||||
-rw-r--r-- | media-sound/scream/scream-9999.ebuild | 4 |
4 files changed, 50 insertions, 1 deletions
diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest index 56f199b270f0..5586ab4b3307 100644 --- a/media-sound/scream/Manifest +++ b/media-sound/scream/Manifest @@ -1,2 +1,3 @@ DIST scream-3.6.tar.gz 999237 BLAKE2B d199d9658958ac53d973c25421ee3a7f2c1ec9666c34596639942bcbfa5efb60e4aad033adc2fdbd810f676f412357283dc5fda6224752587498f7636ade1662 SHA512 4fd07a808d8f0ead3551061e96fe2f9b54ef6f34d1d615fb6454185fc6ffc67f71afb08a876550363cb3f8c15bbff461936808031e5aba5885626c92880e92ec DIST scream-3.7.tar.gz 1021097 BLAKE2B b7918359d71852cc923bcfebd7f01b7ecec12146199b99d50840d02748410cbead6b385ebcbbced20d9d75771a4331220547276a65e86281bbe5072b8af9bbf7 SHA512 5801bed5fff40d17548edb689f37b277bdba7520ab1c0daa4fad79429ade6ad806f90e4197c753f2257bac84ff4f7cc1e2c1209102b60a5bc001b92d42b4ceda +DIST scream-3.8.tar.gz 1114613 BLAKE2B 7c178477bbe2e1079394319657ff5bef2cacddb7ebbac0c527ff676ebd1fb66c4f00cff6578202deda96baa78d1d3a95a994e658d2bc893f10a3f3f13cf3d2eb SHA512 0ec3e68177a5852528b8dc0eed35088c7b399a59762063c5f08e06581340884123d37aebcedc0534acfb0ab0702c2d6dfc033cfcbf6d7e80faf8963ab0827983 diff --git a/media-sound/scream/metadata.xml b/media-sound/scream/metadata.xml index e7bb11276a72..8121cb0073e8 100644 --- a/media-sound/scream/metadata.xml +++ b/media-sound/scream/metadata.xml @@ -9,6 +9,9 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <use> + <flag name="pcap">Support sniffing packets from network using <pkg>net-libs/libpcap</pkg></flag> + </use> <upstream> <remote-id type="github">duncanthrax/scream</remote-id> </upstream> diff --git a/media-sound/scream/scream-3.8.ebuild b/media-sound/scream/scream-3.8.ebuild new file mode 100644 index 000000000000..82133a82fe29 --- /dev/null +++ b/media-sound/scream/scream-3.8.ebuild @@ -0,0 +1,43 @@ +# 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 pcap pulseaudio" + +RDEPEND=" + alsa? ( media-libs/alsa-lib ) + jack? ( + media-libs/soxr + virtual/jack + ) + pcap? ( net-libs/libpcap ) + pulseaudio? ( media-sound/pulseaudio )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DALSA_ENABLE=$(usex alsa) + -DJACK_ENABLE=$(usex jack) + -DPCAP_ENABLE=$(usex pcap) + -DPULSEAUDIO_ENABLE=$(usex pulseaudio) + ) + cmake_src_configure +} diff --git a/media-sound/scream/scream-9999.ebuild b/media-sound/scream/scream-9999.ebuild index 019926a23b77..82133a82fe29 100644 --- a/media-sound/scream/scream-9999.ebuild +++ b/media-sound/scream/scream-9999.ebuild @@ -19,7 +19,7 @@ fi LICENSE="Ms-PL" SLOT="0" -IUSE="alsa jack pulseaudio" +IUSE="alsa jack pcap pulseaudio" RDEPEND=" alsa? ( media-libs/alsa-lib ) @@ -27,6 +27,7 @@ RDEPEND=" media-libs/soxr virtual/jack ) + pcap? ( net-libs/libpcap ) pulseaudio? ( media-sound/pulseaudio )" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" @@ -35,6 +36,7 @@ src_configure() { local mycmakeargs=( -DALSA_ENABLE=$(usex alsa) -DJACK_ENABLE=$(usex jack) + -DPCAP_ENABLE=$(usex pcap) -DPULSEAUDIO_ENABLE=$(usex pulseaudio) ) cmake_src_configure |