google-sargo: install config for plasma-camera
The google-sargo is not quick enough to handle the default plasma-camera settings. The resolution is a setting too high so this sets it back to 720p which works well enough. The codec is set to default but I'm adding it to make sure it's something we know works when the upstream default changes. The app still says the codec can't keep up but we can't get much better out of it currently. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6791
This commit is contained in:
parent
9ee0b6ef19
commit
1b091bd281
2 changed files with 18 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Richard Acayan <mailingradian@gmail.com>
|
||||
pkgname=device-google-sargo
|
||||
pkgdesc="Google Pixel 3a"
|
||||
pkgver=11
|
||||
pkgver=12
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
|
@ -31,9 +31,13 @@ source="
|
|||
hexagonrpcd.confd
|
||||
modules-initfs
|
||||
no-hexagonrpcd-on-suspend.sh
|
||||
plasmacamerarc
|
||||
q6voiced.conf
|
||||
"
|
||||
subpackages="$pkgname-openrc"
|
||||
subpackages="
|
||||
$pkgname-openrc
|
||||
$pkgname-plasma-camera:plasma_camera
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
|
|
@ -66,11 +70,18 @@ openrc() {
|
|||
"$subpkgdir"/etc/elogind/system-sleep/no-hexagonrpcd-on-suspend.sh
|
||||
}
|
||||
|
||||
plasma_camera() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel plasma-camera"
|
||||
|
||||
install -Dm644 "$srcdir"/plasmacamerarc "$subpkgdir"/etc/xdg/plasmacamerarc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
089ce0acba4e1d789e337bedfca7570796a6416e7230ae9b8fc6b625747a40dbb064b1a707877cd6b7bdc73844c6571316e2ec0746a77060f13d98c52fdbfc00 81-libssc-google-sargo.rules
|
||||
ad032b1a35cfcd4fc0c8df988430ee97b711e785b86cca68b7552b23a9a2e2b6b97c327e3415a575db47ad6c1f86ded18df5553acaae63010057d89b8c16135e deviceinfo
|
||||
b6208c254b6e44ac4f6d748a38cc6b05da0db2c90235ada2011b138b82ccc3372687df2f5ad97e885e9eea135216a3c52266a08a7f4eb323e62e799f6f82ec7b hexagonrpcd.confd
|
||||
925d8b176a8f1b47a86a1026cc920ffae99ceb35c3e52c222654c15078907579d23c4d68ed65a98ab937f59aaba2bbdd74da8d273e8b9c1ac87a52f718d383d6 modules-initfs
|
||||
2972005a9cf6ca57061965075593dddfa8ee479bc6c21cd41851b1a14768cb1cddbd31a17975ae17adc36d40d294ccbc6bf83defbd69fc7b363f638d8564fbbc no-hexagonrpcd-on-suspend.sh
|
||||
53bec3338d875ecedf2ae981cf9a0f9066e276f09570b3bd06217414461126a76942b70e01c3bb18831fbefeb188621dd5a341ab2604e8fb0c6de8a3025177e2 plasmacamerarc
|
||||
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
|
||||
"
|
||||
|
|
|
|||
5
device/community/device-google-sargo/plasmacamerarc
Normal file
5
device/community/device-google-sargo/plasmacamerarc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[General]
|
||||
# H264
|
||||
videoCodec=0
|
||||
# 720p
|
||||
videoResolution=2
|
||||
Loading…
Add table
Add a link
Reference in a new issue