aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2026-02-14 14:55:19 +0100
committerWilliam Hergès <william@herges.fr>2026-02-14 14:55:19 +0100
commita785d70f458adb198709e1cfe29dd3199562a40e (patch)
tree3d436521897da0700a0c36c45906f7f2a5e53b3c /packages
parent57862e02920c914da1a32d3a6497f903cef1157c (diff)
feat(package): pulsemeeter
Diffstat (limited to 'packages')
-rw-r--r--packages/pulsemeeter/patches/fix-asyncio-errors.patch26
-rw-r--r--packages/pulsemeeter/template14
2 files changed, 40 insertions, 0 deletions
diff --git a/packages/pulsemeeter/patches/fix-asyncio-errors.patch b/packages/pulsemeeter/patches/fix-asyncio-errors.patch
new file mode 100644
index 0000000..89a48fc
--- /dev/null
+++ b/packages/pulsemeeter/patches/fix-asyncio-errors.patch
@@ -0,0 +1,26 @@
+From d3e9e4778665532f915e21938ff81aaacda186c9 Mon Sep 17 00:00:00 2001
+From: ZorudaRinku <stronger6@gmail.com>
+Date: Sat, 7 Feb 2026 19:52:50 -0700
+Subject: [PATCH] Remove dead code causing asyncio error with latest Python
+ 3.14+
+
+---
+ src/pulsemeeter/scripts/pmctl_async.py | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/src/pulsemeeter/scripts/pmctl_async.py b/src/pulsemeeter/scripts/pmctl_async.py
+index 4e8120e..9963752 100644
+--- a/src/pulsemeeter/scripts/pmctl_async.py
++++ b/src/pulsemeeter/scripts/pmctl_async.py
+@@ -6,11 +6,6 @@
+ from pulsemeeter.model.types import PulseEvent
+
+ LOG = logging.getLogger('generic')
+-# PULSE = pulsectl.Pulse('pmctl')
+-
+-# TODO: Use a single PulseAsync object
+-
+-PULSE = pulsectl_asyncio.PulseAsync('pmctl_async')
+
+
+ async def init(device_type: str, device_name: str, channel_num: int = 2):
diff --git a/packages/pulsemeeter/template b/packages/pulsemeeter/template
new file mode 100644
index 0000000..14a2c5d
--- /dev/null
+++ b/packages/pulsemeeter/template
@@ -0,0 +1,14 @@
+# Template file for 'pulsemeeter'
+pkgname=pulsemeeter
+version=2.0.0
+revision=2
+build_style=python3-pep517
+hostmakedepends="git python3-build python3-wheel python3-Babel"
+makedepends=""
+depends="python3 gobject-introspection python3-gobject python3-pulsectl python3-pulsectl-asyncio python3-pydantic"
+short_desc="A frontend to ease the use of pulseaudio's routing capabilities, much like voicemeeter's workflow."
+maintainer="Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>"
+license="MIT"
+homepage="https://github.com/theRealCarneiro/pulsemeeter"
+distfiles="https://github.com/theRealCarneiro/pulsemeeter/archive/refs/tags/v${version}.tar.gz"
+checksum=a1e807d158ec39474b2ffaf1c6fe061c1bbefe0c20d0e4fc479377ceddf341aa