Add application-specific sleep mode that disables speech and events while preserving the ability to toggle back to normal operation. Features: - Keybinding: Cthulhu+Ctrl+Alt+Shift+Q (matches Orca) - Per-application scope (only affects focused app) - Suppresses all speech, braille, and event processing - Preserves sleep mode toggle keybinding for exit - Status messages on enter/exit Implementation: - New sleepmode script module in src/cthulhu/scripts/sleepmode/ - Toggle handler in default.py using script manager - Proper autotools integration with correct installation paths - Build system fixes for module discovery Files modified: - src/cthulhu/common_keyboardmap.py: Add sleep mode keybinding - src/cthulhu/scripts/default.py: Add toggleSleepMode handler - src/cthulhu/scripts/sleepmode/: Complete sleep mode implementation - CLAUDE.md: Documentation for build system and sleep mode - Fix sleepmode/Makefile.am installation path 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
65 lines
1.2 KiB
Bash
65 lines
1.2 KiB
Bash
# Maintainer: Storm Dragon <storm_dragon@stormux.org>
|
|
|
|
pkgname=cthulhu
|
|
pkgver=2025.07.01
|
|
pkgrel=1
|
|
pkgdesc="Screen reader for individuals who are blind or visually impaired forked from Orca"
|
|
url="https://git.stormux.org/storm/cthulhu"
|
|
arch=(any)
|
|
license=(LGPL)
|
|
depends=(
|
|
at-spi2-core
|
|
brltty
|
|
gobject-introspection-runtime
|
|
gsettings-desktop-schemas
|
|
gstreamer
|
|
gst-plugins-base # playbin, audiotestsrc, basic decoders
|
|
gst-plugins-good # pulsesink, more decoders
|
|
gtk3
|
|
hicolor-icon-theme
|
|
liblouis
|
|
libpeas
|
|
libwnck3
|
|
pango
|
|
python
|
|
python-atspi
|
|
python-cairo
|
|
python-gobject
|
|
python-pluggy
|
|
python-setproctitle
|
|
python-dasbus
|
|
socat
|
|
speech-dispatcher
|
|
xorg-xkbcomp
|
|
xorg-xmodmap
|
|
)
|
|
makedepends=(
|
|
git
|
|
)
|
|
source=("git+https://git.stormux.org/storm/cthulhu.git")
|
|
b2sums=('SKIP')
|
|
|
|
prepare() {
|
|
cd cthulhu
|
|
git checkout testing
|
|
NOCONFIGURE=1 SKIP_YELP=1 ./autogen.sh
|
|
}
|
|
|
|
pkgver() {
|
|
cd cthulhu
|
|
grep "^version = " src/cthulhu/cthulhuVersion.py | sed 's/version = "\(.*\)"/\1/'
|
|
}
|
|
|
|
build() {
|
|
cd cthulhu
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-help
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd cthulhu
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
# vim:set sw=2 sts=-1 et:
|