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"
|
2021-09-23 10:10:42 +00:00
|
|
|
pkgver=1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=3
|
2020-04-22 12:29:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2021-09-23 10:10:42 +00:00
|
|
|
depends="postmarketos-base 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
|
|
|
|
"
|
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)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-samsung-chagallwifi msm-fb-refresher"
|
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() {
|
|
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy Tab S"
|
|
|
|
depends="firmware-samsung-chagall"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2020-04-22 12:29:00 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2021-09-23 10:10:42 +00:00
|
|
|
3928540b95d988b0264da86c43bedd0c3e66f9b0d60a795fe26c976da383aee0d1a3819d1aa819af9637f7540c2cefdd2e1decf7b4dc060e6327d303d8e5cebc deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|