diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-10-19 06:46:24 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-10-19 06:46:24 +0000 |
commit | 2f29ab5e28602ead3c4b1e0818cbbc7aeea6e640 (patch) | |
tree | ac96cd12e888dc9cef2d6420489681db91ebeba5 /multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py | |
parent | audio/ncmpc: Update to 0.41 (diff) |
multimedia/quodlibet re-add with latest version 4.3.0
Repo-copied from @548979.
PR was filed just the day after the port was deleted. The new version works fine
with modern versions of Python. Builds in {11.4,12.1}[amd64,i386] and 13-current
amd64. Run tested fine in 12.1 amd64.
Submitter claims maintainership (already maintaininer for multimedia/playerctl).
ChangeLog: https://quodlibet.readthedocs.io/en/latest/changelog.html#release-4-3-0
PR: 249483
Submitted by: aly@aaronly.me (maintainer)
Diffstat (limited to 'multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py')
-rw-r--r-- | multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py b/multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py new file mode 100644 index 000000000000..4c24ba8538c2 --- /dev/null +++ b/multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py @@ -0,0 +1,20 @@ +--- quodlibet/player/gstbe/util.py.orig 2020-10-15 13:54:35 UTC ++++ quodlibet/player/gstbe/util.py +@@ -28,14 +28,9 @@ def pulse_is_running(): + element.set_state(Gst.State.NULL) + return res != Gst.StateChangeReturn.FAILURE + +- # In case we don't have it call the pulseaudio binary +- try: +- subprocess.check_call(["pulseaudio", "--check"]) +- except subprocess.CalledProcessError: +- return False +- except OSError: +- return False +- return True ++ # NOTE: Don't check with 'pulseaudio --check' because it can't guarantee ++ # Gstreamer works with PA (e.g., when 'pulsesink' not installed). ++ return False + + + def link_many(elements): |