2021-02-19 20:52:54 +00:00
|
|
|
# Maintainer: Henrik Grimler <henrik@grimler.se>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-klimtlte
|
|
|
|
pkgdesc="Samsung Galaxy Tab S 8.4 LTE"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=2
|
2024-07-20 22:09:48 +00:00
|
|
|
pkgrel=1
|
2021-02-19 20:52:54 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2023-02-03 14:08:44 +00:00
|
|
|
depends="
|
|
|
|
postmarketos-base
|
|
|
|
mkbootimg
|
|
|
|
"
|
2021-02-19 20:52:54 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2022-01-16 16:23:16 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2023-10-25 17:37:42 +00:00
|
|
|
$pkgname-nonfree-firmware-downstream:nonfree_firmware_downstream
|
|
|
|
$pkgname-nonfree-firmware-mainline:nonfree_firmware_mainline
|
2022-01-16 16:23:16 +00:00
|
|
|
"
|
2021-02-19 20:52:54 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2022-01-16 16:23:16 +00:00
|
|
|
kernel_downstream() {
|
2024-01-13 15:25:32 +00:00
|
|
|
pkgdesc="Display works, wifi is broken (see device table for details)"
|
2023-10-19 18:16:45 +00:00
|
|
|
depends="
|
|
|
|
linux-samsung-klimtlte
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base-downstream
|
|
|
|
"
|
2022-01-16 16:23:16 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
2024-01-13 15:25:32 +00:00
|
|
|
pkgdesc="Mainline WIP (usb networking and wifi works but not much else)"
|
2024-07-20 22:09:48 +00:00
|
|
|
depends="linux-postmarketos-exynos5 postmarketos-initramfs-minimal"
|
2022-01-16 16:23:16 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2021-02-19 20:52:54 +00:00
|
|
|
nonfree_firmware() {
|
2023-10-25 17:37:42 +00:00
|
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy Tab S 8.4"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware_downstream() {
|
|
|
|
pkgdesc="Non-free firmware for klimtlte when using downstream kernel"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel $pkgname-nonfree-firmware=$pkgver-r$pkgrel $pkgname-kernel-downstream"
|
|
|
|
depends="firmware-samsung-klimt-downstream>=3.0-r0"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware_mainline() {
|
|
|
|
pkgdesc="Non-free firmware for klimtlte when using mainline kernel"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel $pkgname-nonfree-firmware=$pkgver-r$pkgrel $pkgname-kernel-mainline"
|
|
|
|
depends="firmware-samsung-klimt-mainline>=3.0-r0"
|
2021-02-19 20:52:54 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-01-16 16:23:16 +00:00
|
|
|
sha512sums="
|
2023-06-05 21:11:15 +00:00
|
|
|
1b5adb005b959498ac50c21066fd1250dfedbbed73c0a7432fdc40ca27f44d5b967298de956f4980532b301728566d7969d693ab4b007bd3bb09997fe05504c6 deviceinfo
|
2022-01-16 16:23:16 +00:00
|
|
|
"
|