2020-04-22 12:29:00 +00:00
|
|
|
# Maintainer: David Davies-Jones <david@exultantmonkey.co.uk>
|
2020-10-31 21:05:57 +00:00
|
|
|
# Co-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-10-19 18:16:45 +00:00
|
|
|
pkgver=1.3
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=2
|
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() {
|
|
|
|
pkgdesc="Display and wifi works (see device table for details)"
|
2023-10-19 18:16:45 +00:00
|
|
|
depends="
|
|
|
|
linux-samsung-chagallwifi
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base-downstream
|
|
|
|
"
|
2021-09-23 10:10:42 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Mainline WIP (usb networking works but not much else)"
|
|
|
|
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-04-06 18:50:28 +00:00
|
|
|
9adb83b68b21e66f5b85e5135893c25c57cdcaeae271dbdd79f438551e35a9cb5a50db04bf32a31b0d8bcd36c7fe860e76eb95373e424ad5670a6a28aecff622 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|