commit:     e77488dd2a06af1f9ca606ea8c99f039f0e9fb96
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 17 09:49:37 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Sep 17 09:49:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e77488dd

media-sound/linux-show-player: bump to 0.6.4

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/linux-show-player/Manifest             |  1 +
 .../linux-show-player-0.6.4.ebuild                 | 74 ++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/media-sound/linux-show-player/Manifest 
b/media-sound/linux-show-player/Manifest
index 22f0e089850d..c7501ffefb63 100644
--- a/media-sound/linux-show-player/Manifest
+++ b/media-sound/linux-show-player/Manifest
@@ -1 +1,2 @@
 DIST linux-show-player-0.6.3.tar.gz 1958928 BLAKE2B 
fdf61aeb6a9f0439d8ddaca563798b3b41aa26cd053c485ea376e21b06e5adf9405d8e816b5afd9f22c8f1fb9486965900c12ea64b9a5559bdc631303c3118a0
 SHA512 
27ed2576bc70908174bcb6ea98d0eb22135eba81f1f6e56e17354af45560ad8562673e687cee50b8038c9a066622dff6c51fc265c35c26d62765cdac741ee41b
+DIST linux-show-player-0.6.4.tar.gz 1960266 BLAKE2B 
e6b887bf581d01ba4b040d66d87a755f7c1ef21e5d93ebfd58ed57311c425d1f90d6562984f1cb5f95490109a2bbca42dc3148bd67aff32816264b7a28dd4278
 SHA512 
c52dd35cc2f4078db7a0fdef84b40dd81e381bedcdd3c66fa2df78a71d8dc080fec9df4c2e069ab7c4e5d36550d8381bddc8584d3edeede84aae21d60a030ae1

diff --git a/media-sound/linux-show-player/linux-show-player-0.6.4.ebuild 
b/media-sound/linux-show-player/linux-show-player-0.6.4.ebuild
new file mode 100644
index 000000000000..7f352432d514
--- /dev/null
+++ b/media-sound/linux-show-player/linux-show-player-0.6.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=poetry
+
+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"
+
+# TODO:
+#  - network mode - falcon not packaged (QA issues, several unpackaged test 
dependencies)
+#  - Open Sound Control support - pyliblo3 not packaged (last release in 2021, 
fails to build against modern cython)
+RDEPEND="$(python_gen_cond_dep '
+               dev-python/appdirs[${PYTHON_USEDEP}]
+               dev-python/gst-python[${PYTHON_USEDEP}]
+               dev-python/humanize[${PYTHON_USEDEP}]
+               dev-python/PyQt5[${PYTHON_USEDEP}]
+               dev-python/pygobject[${PYTHON_USEDEP}]
+               dev-python/sortedcontainers[${PYTHON_USEDEP}]
+       ')
+       media-libs/gstreamer[introspection]
+       alsa? (
+               $(python_gen_cond_dep '
+                       dev-python/pyalsa[${PYTHON_USEDEP}]
+               ')
+               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[rtmidi,${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"
+       else
+               local oldver
+               for oldver in ${REPLACING_VERSIONS}; do
+                       if ver_test "${oldver}" -lt 0.6.0; then
+                               ewarn "Please be warned that current versions 
of ${PN} *cannot* open 0.5.x save files."
+                               ewarn "Unfortunately upstream has provided no 
workaround for this."
+                               ewarn
+                               break
+                       fi
+               done
+       fi
+
+       if use timecode; then
+               elog "Remember to start an OLA session on your computer if you 
want ${PN} to send timecodes"
+       fi
+}

Reply via email to