pmaports/device/testing/device-samsung-klimtlte/APKBUILD
Henrik Grimler 5462164fad
exynos5420-tablets: depend on postmarketos-base-downstream (MR 4497)
When using downstream kernel.  Postmarketos-base-downstream provides a
lightdm config file needed for GUI to be brought up when using
an x11 based UI.
2023-10-21 14:43:12 +02:00

56 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.3
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-klimtlte
msm-fb-refresher
postmarketos-base-downstream
"
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="
e39b2cd5636eac6456c1c89fbe11fd79a8914b72755e60d03c344a6b439f15e02eed1ff10754978c4e79b16d2a36e21c7e1346078b2aa8fcd97ac062e3932d46 deviceinfo
"