blob: ad88223db8281958ffe9a875c708b9ef0c6a33ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="A cue player designed for stage productions"
HOMEPAGE="https://www.linux-show-player.org/ https://github.com/FrancescoCeruti/linux-show-player/"
SRC_URI="https://github.com/FrancescoCeruti/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="alsa jack midi pulseaudio timecode"
RDEPEND="$(python_gen_cond_dep '
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
')
media-libs/gstreamer[introspection]
alsa? ( media-libs/gst-plugins-base[alsa] )
jack? (
$(python_gen_cond_dep '
dev-python/jack-client[${PYTHON_USEDEP}]
')
media-plugins/gst-plugins-jack
)
midi? (
$(python_gen_cond_dep '
dev-python/mido[${PYTHON_USEDEP}]
')
)
pulseaudio? ( media-plugins/gst-plugins-pulse )
timecode? (
app-misc/ola[python,${PYTHON_SINGLE_USEDEP}]
)
"
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "${PN} uses GStreamer as its audio back-end so make sure you have plug-ins installed for all the audio formats you want to use"
fi
if use timecode; then
elog "Remember to start an OLA session on your computer if you want ${PN} to send timecodes"
fi
}
|