2018-01-05 16:52:44 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-leeco-s2
|
2018-01-05 16:52:44 +00:00
|
|
|
pkgdesc="LeEco Le 2"
|
2020-04-13 19:39:58 +00:00
|
|
|
pkgver=0.2
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=8
|
2018-01-05 16:52:44 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-leeco-s2 mkbootimg mdss-fb-init-hack"
|
2018-01-05 16:52:44 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-04-13 19:39:58 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
fb.modes
|
|
|
|
directfbrc
|
|
|
|
ucm/msm8976-skun-snd-card.conf
|
|
|
|
ucm/HiFi
|
|
|
|
"
|
2018-01-05 16:52:44 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2020-04-13 19:39:58 +00:00
|
|
|
install -Dm644 "$srcdir"/fb.modes \
|
|
|
|
"$pkgdir"/etc/fb.modes
|
|
|
|
install -Dm644 "$srcdir"/directfbrc \
|
|
|
|
"$pkgdir"/etc/directfbrc
|
|
|
|
|
|
|
|
# Alsa usecase manager config
|
2021-12-12 16:01:28 +00:00
|
|
|
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/conf.d \
|
|
|
|
"$srcdir"/msm8976-skun-snd-card.conf \
|
|
|
|
"$srcdir"/HiFi
|
2020-04-13 19:39:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="wlan, audio firmware"
|
|
|
|
depends="firmware-leeco-s2-wcnss firmware-leeco-s2-adsp"
|
|
|
|
mkdir "$subpkgdir"
|
2018-01-05 16:52:44 +00:00
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
340ea95aec01802b20ccdb3a17ca708859653a37f9e43553797bbfe9325b5b8cefb12b2bf9fbe191babda31a3513648564d942fc3a40ccaa5da58346a425dda5 deviceinfo
|
2020-04-13 19:39:58 +00:00
|
|
|
ea23de7628945badcff9d4adbe09b671a50c76da6410b8ab0abdaea8529a6cdcc85524c2c785e284e226b2e247589b7c56afdd89c0778ad711e58cf4086b3a21 fb.modes
|
|
|
|
eea461b4c2e46351e606039b0fd489c5cf5fc3af71cd09a8aa3f327930ab9c8381908c8079e2cf1d1aba81e70d24b1aaf5e39b32a83596a32ce0c93de04202e9 directfbrc
|
|
|
|
72fd18d6fea98a081de1681bf39e4fb228c73e8390064a4d4ecde100ef53fce00142342bcbced3b17c4ad2d6976a9676538cc844e2e158739f6ef0d58be9960b msm8976-skun-snd-card.conf
|
2021-09-18 17:06:03 +00:00
|
|
|
7ac4d3fb2a12b3b0945dbf494edc90f01bea1ce1bfc1a55d2e862df4b1b916ddc43b3afe4b77351d109d4a0a6cf7d65695885a44930831c409a85512cc602471 HiFi
|
|
|
|
"
|