summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-10-04 14:16:38 +0100
committerMarek Szuba <marecki@gentoo.org>2022-10-04 14:19:23 +0100
commite774b05676297853c3f001b45373890154f0560d (patch)
treef3090fc66d11cda1a3c1389476ccd020810c2d7c /media-sound/linux-show-player
parentgames-engines/love: legacy slots: set -DLUA_COMPAT_OPENLIB (diff)
downloadgentoo-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')
-rw-r--r--media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild (renamed from media-sound/linux-show-player/linux-show-player-0.5.3.ebuild)11
-rw-r--r--media-sound/linux-show-player/metadata.xml2
2 files changed, 11 insertions, 2 deletions
diff --git a/media-sound/linux-show-player/linux-show-player-0.5.3.ebuild b/media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild
index 975dbeaa2462..51419a50396c 100644
--- a/media-sound/linux-show-player/linux-show-player-0.5.3.ebuild
+++ b/media-sound/linux-show-player/linux-show-player-0.5.3-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/FrancescoCeruti/${PN}/archive/refs/tags/v${PV}.tar.g
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="alsa jack midi pulseaudio"
+IUSE="alsa jack midi pulseaudio timecode"
RDEPEND="$(python_gen_cond_dep '
dev-python/PyQt5[${PYTHON_USEDEP}]
@@ -36,10 +36,17 @@ RDEPEND="$(python_gen_cond_dep '
')
)
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
}
diff --git a/media-sound/linux-show-player/metadata.xml b/media-sound/linux-show-player/metadata.xml
index 62f26b37b07f..f0160b34a484 100644
--- a/media-sound/linux-show-player/metadata.xml
+++ b/media-sound/linux-show-player/metadata.xml
@@ -11,5 +11,7 @@
</upstream>
<use>
<flag name="midi">Allow cues to send, or trigger on, MIDI messages</flag>
+ <flag name="timecode">Support the sending of time code of running audio files over ArtNet,
+ for instance to trigger cues in lighting-control software on lighting desks</flag>
</use>
</pkgmetadata>