main/postmarketos-ui-cosmic: disable audio over-amp by default

COSMIC is configured by default to allow "over amplification" of audio,
which is probably going to drive systems with sensitive speaker setups
(like macbooks, and the x13s) too hard. 100% on these is already plenty
loud. Users can override this default by flipping the switch in COSMIC
Settings app if they really want it.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7251>
This commit is contained in:
Clayton Craft 2025-10-25 22:54:57 -07:00 committed by The Friendly Merge Bot
parent b5e0ae4742
commit 6b51d3c9da
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View file

@ -2,8 +2,8 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
# Contributor: Aster Boese <asterboese@mailbox.org>
pkgname=postmarketos-ui-cosmic
pkgver=1
pkgrel=4
pkgver=2
pkgrel=0
pkgdesc="COSMIC Desktop Environment from System76"
url="https://system76.com/cosmic/"
# Only tested on these archs.
@ -42,6 +42,7 @@ _pmb_recommends="
tuned-ppd
"
source="
amplification_sink.conf
favorites.conf
wallpaper.conf
"
@ -57,6 +58,8 @@ package() {
"$pkgdir"/usr/share/cosmic/com.system76.CosmicBackground/v1/all
install -Dm644 favorites.conf \
"$pkgdir"/usr/share/cosmic/com.system76.CosmicAppList/v1/favorites
install -Dm644 amplification_sink.conf \
"$pkgdir"/usr/share/cosmic/com.system76.CosmicAudio/v1/amplification_sink
}
openrc() {
@ -78,6 +81,7 @@ openrc() {
}
sha512sums="
a0d71be3f1c5b3da25c46a98d2c86aaa3e2fc256c5ae7fcd648ee296e7428b6978fcf994be1103ada28a8051619843e3b26174124aa804f76d550c68c4fcc1c0 amplification_sink.conf
671a0c696edbed71355c0ff842259d27a8eb2466ed472ac3c8de2a72c0f764cc02be3fb683f8dd709b7ba72fe2e07c7691240d84c01a639110df9e3b11a45abe favorites.conf
2f665d5040072aa2172a4755a1cd8c03ff950ae1d5cc1fe888f74ea1cca4587bb065686507849d81429c49a78c5baaa877231dd4bbe49c351c7978ce82789041 wallpaper.conf
"

View file

@ -0,0 +1 @@
false