53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
# Maintainer: David Davies-Jones <david@exultantmonkey.co.uk>
|
|
# Co-Maintainer: Henrik Grimler <henrik@grimler.se>
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-chagallwifi
|
|
pkgdesc="Samsung Galaxy Tab S 10.5"
|
|
pkgver=1.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
postmarketos-base
|
|
postmarketos-update-kernel
|
|
mkbootimg
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_downstream() {
|
|
pkgdesc="Display and wifi works (see device table for details)"
|
|
depends="linux-samsung-chagallwifi msm-fb-refresher"
|
|
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
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy Tab S"
|
|
depends="firmware-samsung-chagall"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
92a88a8fa5bfcd9d4d01a7d5824216d6aa02ea805be15aff7ab26347a313c84062e53a287c09128c8efedcb71ac61571ce2e660b141bd40246b88ca96c50ac29 deviceinfo
|
|
"
|