2022-01-29 14:26:45 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
|
|
pkgname=device-google-peach-pit
|
|
|
|
pkgdesc="Samsung Chromebook 2 (11.6 inch)"
|
2024-06-21 21:14:03 +00:00
|
|
|
pkgver=7
|
|
|
|
pkgrel=0
|
2022-01-29 14:26:45 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
alsa-ucm-conf
|
2023-06-29 08:10:35 +00:00
|
|
|
depthcharge-tools
|
2022-01-29 14:26:45 +00:00
|
|
|
linux-postmarketos-exynos5
|
2023-06-29 08:10:35 +00:00
|
|
|
postmarketos-base
|
2023-07-31 21:25:43 +00:00
|
|
|
postmarketos-cros-common
|
2024-04-29 17:20:50 +00:00
|
|
|
postmarketos-initramfs-minimal
|
2022-01-29 14:26:45 +00:00
|
|
|
"
|
2023-06-21 17:23:43 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-01-29 14:26:45 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-01-29 14:26:45 +00:00
|
|
|
i3wm/xorg.conf.d/90-tap-to-click.conf
|
|
|
|
ucm/Peach-Pit-I2S-MAX98090.conf
|
|
|
|
ucm/HiFi.conf
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-i3wm
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
# 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
|
|
|
|
install -Dm644 "$srcdir"/HiFi.conf \
|
|
|
|
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-MAX98090/HiFi.conf
|
|
|
|
ln -s /usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-MAX98090 \
|
|
|
|
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Peach-Pit-I2S-M
|
|
|
|
}
|
|
|
|
|
|
|
|
i3wm() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
|
|
|
|
install -Dm644 "$srcdir"/90-tap-to-click.conf \
|
|
|
|
"$subpkgdir"/etc/X11/xorg.conf.d/90-tap-to-click.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2022-10-10 02:10:34 +00:00
|
|
|
pkgdesc="WiFi/BT and MFC firmware"
|
2023-09-11 16:50:54 +00:00
|
|
|
depends="linux-firmware-mrvl linux-firmware-s5p-mfc"
|
2022-01-29 14:26:45 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-06-21 21:14:03 +00:00
|
|
|
18e829f0eddcc8a0e64eb5081afa324da060de98478ac17d6199c1cecb4d2e984212c8681e8c75b4552d4dd5bbffff2f60dc8be1884b6ef23daa58319d4274fc deviceinfo
|
2024-03-03 22:41:37 +00:00
|
|
|
e12a68f919182cb4e6812a5dd13fce8dc15266d2ac16aa5f0a31034f111cb403c020ebaaa4d94309f4baf2f71379327c57c08029e27c506d152695e9a2b04b2b modules-initfs
|
2022-01-29 14:26:45 +00:00
|
|
|
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
|
|
|
|
6fe67c8f2e09e3e37297eebaf2a86a32671923a5fd4d18e5aeb10e580fb998e4ddb4a691531a0c8f4b4e70c6f0f7e91008dd836ffca8026d59862c6e829fd996 Peach-Pit-I2S-MAX98090.conf
|
|
|
|
194b6169168b40592cf1e6b5f3b21aaa24a602869d7aec358cd5e1f06de34e9b0fe3da094e438ef2d3ab5be80275e6c0b6afe7ce92e2365a70e8b5a21a873234 HiFi.conf
|
|
|
|
"
|