diff options
author | 2022-10-04 14:16:38 +0100 | |
---|---|---|
committer | 2022-10-04 14:19:23 +0100 | |
commit | e774b05676297853c3f001b45373890154f0560d (patch) | |
tree | f3090fc66d11cda1a3c1389476ccd020810c2d7c /media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild | |
parent | games-engines/love: legacy slots: set -DLUA_COMPAT_OPENLIB (diff) | |
download | gentoo-e774b05676297853c3f001b45373890154f0560d.tar.gz gentoo-e774b05676297853c3f001b45373890154f0560d.tar.bz2 gentoo-e774b05676297853c3f001b45373890154f0560d.zip |
media-sound/linux-show-player: instrument ArtNet Timecode support
Unfortunately this involved disabling py3.11, as it is blocked by
lack of support in dev-python/protobuf-python - see Bug #844184.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild')
-rw-r--r-- | media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild b/media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild new file mode 100644 index 000000000000..51419a50396c --- /dev/null +++ b/media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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 +} |