diff options
| -rw-r--r-- | config/nvim/lua/plugins/lsp.lua | 11 | ||||
| -rw-r--r-- | packages/pulsemeeter/patches/fix-asyncio-errors.patch | 26 | ||||
| -rw-r--r-- | packages/pulsemeeter/template | 14 |
3 files changed, 41 insertions, 10 deletions
diff --git a/config/nvim/lua/plugins/lsp.lua b/config/nvim/lua/plugins/lsp.lua index ae32198..ac38d24 100644 --- a/config/nvim/lua/plugins/lsp.lua +++ b/config/nvim/lua/plugins/lsp.lua @@ -1,17 +1,8 @@ return { { - "neovim/nvim-lspconfig", - config = function() - -- local lspconfig = require("lspconfig") - - -- lspconfig.pylsp.setup({}) - end, - }, - { "mason-org/mason.nvim", opts = {} }, - { "mason-org/mason-lspconfig.nvim", dependencies = { - "mason-org/mason.nvim", + { "mason-org/mason.nvim", opts = {} }, "neovim/nvim-lspconfig", }, opts = { 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 |
