pmaports/device/testing/device-samsung-klimtlte/APKBUILD
Henrik Grimler e92c4bdfec
samsung-klimtlte: add mainline kernel variant (MR 2860)
Use the new linux-postmarketos-exynos5 package.  A dtb for klimtwifi
is added as well, even though the device has not been ported yet.

[ci:skip-build]: Already built successfully in MR CI.
2022-01-19 10:57:47 +01:00

48 lines
1.3 KiB
Text

# Maintainer: Henrik Grimler <henrik@grimler.se>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klimtlte
pkgdesc="Samsung Galaxy Tab S 8.4 LTE"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base 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-klimtlte mesa-dri-gallium 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-klimt"
mkdir "$subpkgdir"
}
sha512sums="
cba652c5df290ea3f03651a8cba3c9b7e288f3f2b3a01950c9ee7a0663f8e5da396c05ad3477c08b7a0b0304c7fcc33a671ef65e57d1a5c2132d1258cda6aea4 deviceinfo
"