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