2021-12-16 13:50:45 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-t0lte
pkgdesc="Samsung Galaxy Note II LTE"
2024-04-02 12:52:52 +00:00
pkgver=1
pkgrel=0
2021-12-16 13:50:45 +00:00
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
2022-02-06 13:51:21 +00:00
alsa-ucm-conf
2021-12-16 13:50:45 +00:00
mkbootimg
postmarketos-base
2022-04-05 21:36:02 +00:00
soc-samsung-exynos4412-haptics
2021-12-16 13:50:45 +00:00
"
makedepends="devicepkg-dev"
2023-02-25 14:16:12 +00:00
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-kernel-s6evr02:kernel_s6evr02
$pkgname-kernel-ea8061:kernel_ea8061
"
2022-02-06 13:51:21 +00:00
source="
deviceinfo
ucm/Midas.conf
ucm/HiFi.conf
2022-03-19 20:02:22 +00:00
modules-load.conf
2022-02-06 13:51:21 +00:00
"
2021-12-16 13:50:45 +00:00
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
2022-02-06 13:51:21 +00:00
# Alsa UCM configs
install -Dm644 "$srcdir"/Midas.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Midas/Midas.conf
install -Dm644 "$srcdir"/HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Midas/HiFi.conf
2021-12-16 13:50:45 +00:00
}
2022-02-12 18:20:20 +00:00
nonfree_firmware() {
2023-07-29 19:45:05 +00:00
pkgdesc="WiFi, Bluetooth, MFC firmware"
2022-03-23 21:38:15 +00:00
depends="
firmware-samsung-midas-bluetooth
firmware-samsung-midas-wifi
2023-07-29 19:45:05 +00:00
linux-firmware-s5p-mfc
2022-03-23 21:38:15 +00:00
"
2022-02-12 18:20:20 +00:00
mkdir "$subpkgdir"
}
2023-02-25 14:16:12 +00:00
kernel_s6evr02() {
pkgdesc="Samsung S6EVR02 panel. To know which panel your device uses, see the wiki page of the 3G version, https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Note_II_(samsung-t03g)"
depends="linux-postmarketos-exynos4"
devicepkg_subpackage_kernel "$startdir" "$pkgname" "$subpkgname"
}
kernel_ea8061() {
pkgdesc="Magnachip EA8061 panel. To know which panel your device uses, see the wiki page of the 3G version, https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Note_II_(samsung-t03g)"
depends="linux-postmarketos-exynos4"
devicepkg_subpackage_kernel "$startdir" "$pkgname" "$subpkgname"
}
2021-12-16 13:50:45 +00:00
sha512sums="
2023-02-25 14:16:12 +00:00
ae63b78724e6afbfb0a3455d317f68b7a4db796f6657ea66befd155299b145e66e716ed71e34f17968f73137a2e3e286c165442029e603a74055208f74c0e182 deviceinfo
2023-02-28 13:47:30 +00:00
7f07ea4bc279549844d071d94d9000d6335ed7548e06c1526f82cd6ccb39b5f5a50414b1e6e77d803ed86074d35e5f9f66f8e1b6b8352a2b1d2a7cd1a9b68472 Midas.conf
b25c730d18b176bed5890c800f1c1d3e224c1ccd410d2e4d64e9136fa1a715e46f85e66116d7a66c3b649c6ed09cdd9a48fc74ed7142c48092aef6ecb98c526a HiFi.conf
2022-03-19 20:02:22 +00:00
56a2bdffc273cb0a581192e65378ff50e71c7bc8a696af7d5e7c165a53c005aae104c4514c68afb668454c5a94ce78bd509f8a40e3401d67e16636b1ed81d051 modules-load.conf
2021-12-16 13:50:45 +00:00
"