mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
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:
1
media-sound/scream/Manifest
Normal file
1
media-sound/scream/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST scream-3.5.tar.gz 995382 BLAKE2B 96e5d0d0fe49a215ec78cb02be45fab700af90dd6ccce2e5f44f39aa3544046cf5b650ed0efadd7173ca01c382fc38f644bd237c4447695df024f03da6c1beb7 SHA512 39c61521160cc7d42a7934df42928b0198b85606fd5feb2c28a3ccb80714243398041aaa7dfef71d037570ecd30d8c790271589716643a87bda96478c14690d0
|
||||
11
media-sound/scream/metadata.xml
Normal file
11
media-sound/scream/metadata.xml
Normal 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>
|
||||
41
media-sound/scream/scream-3.5.ebuild
Normal file
41
media-sound/scream/scream-3.5.ebuild
Normal 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
|
||||
}
|
||||
41
media-sound/scream/scream-9999.ebuild
Normal file
41
media-sound/scream/scream-9999.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user