soc-qcom-msm8974: initial package (MR 5732)

Add initial SoC pacakge for common configs of msm8974 devices.
This commit is contained in:
Barnabás Czémán 2024-10-23 10:25:40 +02:00 committed by Robert Eckelmann
parent 142948a592
commit dfdccbb1ae
No known key found for this signature in database
GPG Key ID: 30C0D50BEF63BF54
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
pkgname=soc-qcom-msm8974
pkgdesc="Common package for Qualcomm MSM8974 devices"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="armv7"
options="!check !archcheck !tracedeps pmb:cross-native"
depends="swclock-offset"
subpackages="
$pkgname-gpu
"
source="
adreno-a330-quirks.sh
"
package() {
mkdir -p $pkgdir
}
gpu() {
pkgdesc="Various GPU workarounds for Adreno a330"
install_if="$pkgname=$pkgver-r$pkgrel mesa-dri-gallium"
install -Dm644 "$srcdir"/adreno-a330-quirks.sh \
"$subpkgdir"/etc/profile.d/adreno-a330-quirks.sh
}
sha512sums="
92393cb26b07e86bffed052ed2cb59ebd8096fa91173951b27f01efa92b8c9ef9a1bdc7fa054486a7e08048c4046badd3d295f6312bb209326bbf203c1112d1d adreno-a330-quirks.sh
"

View File

@ -0,0 +1,7 @@
# Various GPU workarounds for Adreno a330
# The 'ngl' GTK renderer, which is now used by default, has worse
# performance and is somewhat more prone to crashes. Use the 'gl'
# renderer until these issues have been sorted out.
#
export GSK_RENDERER=gl