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@asokolov.org>
This commit is contained in:
Alexey Sokolov
2020-05-24 15:06:00 +01:00
parent f8bc4457ab
commit e42a801a0c
4 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST scream-3.5.tar.gz 995382 BLAKE2B 96e5d0d0fe49a215ec78cb02be45fab700af90dd6ccce2e5f44f39aa3544046cf5b650ed0efadd7173ca01c382fc38f644bd237c4447695df024f03da6c1beb7 SHA512 39c61521160cc7d42a7934df42928b0198b85606fd5feb2c28a3ccb80714243398041aaa7dfef71d037570ecd30d8c790271589716643a87bda96478c14690d0

View File

@@ -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>alexey+gentoo@asokolov.org</email>
<name>Alexey Sokolov</name>
</maintainer>
<upstream>
<remote-id type="github">duncanthrax/scream</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}

View File

@@ -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
}