google-peach-pit: drop software rendering configs (MR 3734)
This commit is contained in:
parent
b057815623
commit
c92b3e8cf8
6 changed files with 2 additions and 50 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=device-google-peach-pit
|
||||
pkgdesc="Samsung Chromebook 2 (11.6 inch)"
|
||||
pkgver=2
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
@ -21,20 +21,13 @@ makedepends="
|
|||
source="
|
||||
deviceinfo
|
||||
i3wm/xorg.conf.d/90-tap-to-click.conf
|
||||
modprobe.d/mali.conf
|
||||
uboot-script.cmd
|
||||
ucm/Peach-Pit-I2S-MAX98090.conf
|
||||
ucm/HiFi.conf
|
||||
mpv/mpv.conf.wayland
|
||||
mpv/mpv.conf.xorg
|
||||
sway/tinydm/10-no-hardware-cursor.sh
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-i3wm
|
||||
$pkgname-mpv-wayland:mpv_wayland
|
||||
$pkgname-mpv-xorg:mpv_xorg
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-sway
|
||||
"
|
||||
|
||||
build() {
|
||||
|
@ -55,10 +48,6 @@ build() {
|
|||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
# Block panfrost probe as it causes segfault in X11
|
||||
install -Dm644 "$srcdir"/mali.conf \
|
||||
"$pkgdir"/etc/modprobe.d/mali.conf
|
||||
|
||||
# Alsa UCM configs
|
||||
install -Dm644 "$srcdir"/Peach-Pit-I2S-MAX98090.conf \
|
||||
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-MAX98090/Peach-Pit-I2S-MAX98090.conf
|
||||
|
@ -78,39 +67,16 @@ i3wm() {
|
|||
"$subpkgdir"/etc/X11/xorg.conf.d/90-tap-to-click.conf
|
||||
}
|
||||
|
||||
mpv_wayland() {
|
||||
# Looks like wayland libs are installed with some x11 UIs too, so match wlroots here
|
||||
install_if="$pkgname=$pkgver-r$pkgrel mpv wlroots"
|
||||
install -Dm644 "$srcdir"/mpv.conf.wayland \
|
||||
"$subpkgdir"/etc/mpv/mpv.conf
|
||||
}
|
||||
|
||||
mpv_xorg() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel mpv xorg-server"
|
||||
install -Dm644 "$srcdir"/mpv.conf.xorg \
|
||||
"$subpkgdir"/etc/mpv/mpv.conf
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="WiFi/BT and MFC firmware"
|
||||
depends="linux-firmware-mrvl linux-firmware-other"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sway() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-sway"
|
||||
install -Dm755 "$srcdir"/10-no-hardware-cursor.sh \
|
||||
"$subpkgdir"/etc/tinydm.d/env-wayland.d/10-no-hardware-cursor.sh
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bf802eb8fde5f6b4b0d052ac70f9c5f813a84c24642435168f0aa01511b916c068404087439f4960d570c6d0a1c87949bb87bb733fe2e1b1646d6c84dfe1fcd1 deviceinfo
|
||||
0de17ee83b81220bf6b107ad80801e52ccc1ab5a13b035df32dfba286153ab34830861547fe180f40c38c89e627900ab59f1499b2e455832c1b4e6069abf86c8 deviceinfo
|
||||
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
|
||||
c5fdd5a39a41044343d937a1ad31cc6bb893f19a329beb4ce09249064cac066d643c84ffcbfcd794113c228c5a56e28c82812092751546b49ab31142dc8245b1 mali.conf
|
||||
7c59bbec6b54d4a96d7e80468a49f1ccb7e4ec216c6a598a0f2fe3bc5b0aea19640eeb311a25d5ac4532ff85ed98a8612f22a02e723d089940da8efdbbd047f0 uboot-script.cmd
|
||||
6fe67c8f2e09e3e37297eebaf2a86a32671923a5fd4d18e5aeb10e580fb998e4ddb4a691531a0c8f4b4e70c6f0f7e91008dd836ffca8026d59862c6e829fd996 Peach-Pit-I2S-MAX98090.conf
|
||||
194b6169168b40592cf1e6b5f3b21aaa24a602869d7aec358cd5e1f06de34e9b0fe3da094e438ef2d3ab5be80275e6c0b6afe7ce92e2365a70e8b5a21a873234 HiFi.conf
|
||||
8f9dc3c7caeab6c5321dc2bf498f1a03a793f23cb776763316bc356b9d433d7a3337e61154069464dcda200bf390b99f3be8f657a40c6d2f6be3cbc6fb751080 mpv.conf.wayland
|
||||
d6bc39df48ba0e985a796426039205335adf1c91b9c150b05a4239339fc78b1748b3a83c699de69e9a5829f29573a323f40788da58ed15b1951de1eab7e31c3d mpv.conf.xorg
|
||||
78e566bf3a597b9b5f73f686feb93ae61d1bed350366428d74c7735f1f82ab390f47ba9deb9d21e8dfcee251dc6178956838ca1b34838bb0a7d740be0e2c8330 10-no-hardware-cursor.sh
|
||||
"
|
||||
|
|
|
@ -17,8 +17,6 @@ deviceinfo_keyboard="true"
|
|||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="1366"
|
||||
deviceinfo_screen_height="768"
|
||||
|
||||
# DRM is available, so all UIs can work with software rendering
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
|
||||
# Bootloader related
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
blacklist panfrost
|
|
@ -1,3 +0,0 @@
|
|||
vo=wlshm
|
||||
profile=sw-fast
|
||||
ytdl-format="bestvideo[height<=?720]+bestaudio/best"
|
|
@ -1,3 +0,0 @@
|
|||
vo=x11
|
||||
profile=sw-fast
|
||||
ytdl-format="bestvideo[height<=?720]+bestaudio/best"
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# A workaround for missing cursor issue
|
||||
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
Loading…
Reference in a new issue